Execute Javascript
With the XBrowser Engine 3.0, you can execute Javascript calls on web pages.
Use the Module Execute JavaScript to specify the Javascript call.
This Module is part of the Standard subset. You can find it under Standard modules->TBox XEngines->Html.
In this example, the XBrowser Engine 3.0 redirects the first open browser window that it finds to the page http://support.tricentis.com.
Example - Execute JavaScript |
If the string in Javascript contains double quotation marks ", you must escape the string with two additional sets of quotation marks. Example: window.location.href="""http://support.tricentis.com""" |