JSExecute

JSExecute command is used is used to execute javascript commands . Similarly user an execute other javascript commands using JSExecute.

Example to scroll into a view using javascript mention arguments[0].scrollIntoView(true) in parameters section.

Select JSEXECUTE command from the action drop down, select Screen name, Element key and provide the desired javascript command in parameter section as shown below:

After completing this step, test step will look as below:

Was this page helpful?