Forum Discussion

parthparikh051's avatar
parthparikh051
New Contributor
6 years ago

transfer control to new window

Hello,   I am using Python functions as my container language and this contains javascript Statements which are  executed when a "Run Script Routine" is called from a keyword test. The Problem i ...
  • AlexKaras's avatar
    6 years ago

    Hi,

     

    To transfer the control you must reference the relevant page.

    So, assuming that page B has URL like this: http://www.yoursite.com/app/approvePage.html

    you must replace

    Sys.Browser("*").Page("*").<...>

    with something like

    Sys.Browser("*").Page("*/approvePage*").<...>