4 | Finalize and run your script
At this point, you are almost ready to execute your test.
To finalize and run your script:
-
Verify that your script includes all relevant details to run with Perfecto:
-
Perfecto cloud URL
-
Security token
-
Capabilities
-
-
Add your own code as applicable
-
Run the script based on your language and wait for the execution to end.
Steps for JavaFrom the command line window, from the base Java directory, run the following maven command:
Copymvn clean install -P web
Steps for NodeJSIn a command line window, navigate to the protractor folder and run the following command.
Copynpm run web
Steps for C#-
In Visual Studio, select Build > Build PerfectoCSharpWebSample.
-
To execute the sample test in C#, select Test > Run All Tests.
Steps for Ruby-
In a command line window, navigate to the Ruby folder.
-
To execute the script, run the following command:
Copyruby web/sample.rb
-