/
"SWITCH_FRAME" Command
"SWITCH_FRAME" Command
Description: This command switches to a frame/iframe identified by id, name, XPath or “Main” window and is commonly used with script commands such as Execute_Javascript.
Usage Scenario: Suppose we have a JavaScript code that we need to run but the elements are located in frames.
Procedure: Define your switch frame step before the Execute_Javascript step and add the step for Switch_Frame using the type needed. Your steps will look like this:
Related content
"CHECK" Command
"CHECK" Command
Read with this
"SWITCH_WINDOW" Command
"SWITCH_WINDOW" Command
More like this
"SUB_STRING" Command
"SUB_STRING" Command
Read with this
"EXECUTE_JAVASCRIPT" Command
"EXECUTE_JAVASCRIPT" Command
More like this
"VERIFY_TEXT" Command
"VERIFY_TEXT" Command
Read with this
"MINIMIZE_BROWSER_WINDOW" Command
"MINIMIZE_BROWSER_WINDOW" Command
More like this