/
"EXECUTE_JAVASCRIPT" Command
"EXECUTE_JAVASCRIPT" Command
Description: This command is used to execute one or several JavaScript commands.
Usage Scenario: Suppose we want to use a simple JavaScript command on Reference app to move back to the previously opened page on the browser (list of Communities) so that another community can be selected and a new logo image uploaded to it.
Procedure: Define steps that lead up to opening the first community and enter “history.go(-1)” as your JavaScript command. Once the first Community is updated, the JavaScript command will execute and move back to the Community list. Your steps will look like this:
See the Test Library path: subject7_samples/subject7_advanced_suite/subject7_add_community_image
, multiple selections available,
Related content
"EXECUTE_COMMAND" Command
"EXECUTE_COMMAND" Command
Read with this
"ALERT" Command
"ALERT" Command
More like this
"SUBMIT" Command
"SUBMIT" Command
More like this
"CLICK" Command
"CLICK" Command
More like this
"SCREEN_SHOT" Command
"SCREEN_SHOT" Command
More like this
"SET_DATE" Command
"SET_DATE" Command
Read with this