AppNeta supports a large subset of “Selenese” commands as shown below. See the official Selenium command reference for a full description of these commands. Descriptions of AppNeta-specific commands can be found here.
Selenium actions are commands that manipulate the state of the web app.
Each Selenium action can be used with or without the ‘AndWait’ suffix. So, for ‘addSelection’, as an example, the following are available:
Selenium actions include:
The ‘AndWait’ suffix does not apply to the following commands as they do not result in browser navigation change:
Selenium accessors are commands that examine the state of the web app and store the results in variables (e.g., storeAlert). Assertions verify the state is what is expected (e.g., assertAlert, verifyAlert, and waitForAlert).
Selenium accessors can have a ‘not’ prefix and/or one of the following prefixes: ‘store’, ‘assert’, ‘verify’, ‘waitFor’. So, for ‘alert’, as an example, the following are available:
Selenium accessors include:
AppNeta-specific Selenium commands
blacklistUrl <URL> — (supported in Chrome only) Stops the browser from requesting content from the specified <URL>. This is typically used so that traffic generated by Experience monitoring scripts does not affect marketing statistics. In addition, it ignores the load time of secondary resources (for example, advertising) that do not impact the ability of a user to interact with a given page.
The <URL> can be an exact URL or a pattern as specified here. Badly formatted patterns are ignored. Blacklisted URLs specified with this command are in addition to the list of system-defined blacklisted URLs. The user-defined blacklist is reset at the start of each new test.
selectActiveWindow — (supported in Chrome only) Switches script execution to a newly spawned tab.