...
By default, the browser used for recording the web scenario is also the browser used for playback, but you can configure the scenario to play back in use a different browser or all available browsers. You can also create configurations that Test or run configurations (in SOAtest and Virtualize, respectively), also allow you to specify which browsers browser to use for playback at runtime"on the fly" so that your scenario plays back in the browser you recorded in by default, as well as play it back in a different browser (or all browsers) by simply running the appropriate configuration.
If you want to ensure that a scenario is played only in the browser with which it was recorded , you can configure the scenario to be played only in the specified browser. This is provides assurance when, for example, (e.g., because the web page structure is significantly different on other browsers , requiring and the scenario would need to be constructed differently for those browserson another browser), you can configure the scenario to be played only in the specified browser.
Modifying Browser Playback Settings
The To modify the scenario’s browser playback settings (the settings are used during playback unless another option is explicitly selected as described in Specifying the Browser at the Time of Playback below):
- DoubleOpen the scenario’s configuration panel (double-click on the scenario to open its configuration panelits node).
- Open the Browser Playback Options tab.
- In the Default Browser Playback section, enable the browser(s) you want the scenario to use to play the scenario back.
- Enable one of the following options in the Browsers Supported section:
- Browsers specified here only: Enable this option to ensure that the scenario is only played in the specified browser.
Any browser: Enable this option to allow the scenario to be played in additional browsers that may be specified in the test configuration, in addition to the browsers specified in the scenario.
- At the top of the tab, specify the engine you want to use for web scenario playback. Selenium is required for Safari, Edge, and HTML 5 support.
- At the top of the tab, specify the browser you want the scenario played in.
- If you want to ensure that this scenario is never played in an alternate browser (e.g., because the web page structure is significantly different on other browsers and the scenario would need to be constructed differently on another browser), select Browsers specified here only.
With Any browser selected, each web scenario could have a different browser playback setting, and each scenario could run in a different browser depending on its settings. This allows you to have your scenario played back in the browser you recorded in by default, as well as play it back in a different browser or all browsers by simply running the appropriate test or run configuration.
Anchor | ||||
---|---|---|---|---|
|
...