...
Actions | Keyboard & Mouse interaction | Verification and Assertion | Waits | Scenario Flow | JS Execution | Stored Variables | Custom (ASM Specific) Commands |
---|---|---|---|---|---|---|---|
open | keyDown | assertElementPresent | waitForVisible | gotoIf | fireEvent | storeTitle | setPageBreak |
clickAndWait | keyDownAndWait | assertTitle | waitForValue | goto | runScript | storeXpathCount | insertPageBreak |
clickAtAndWait | keyUp | assertLocation | waitForAttribute | label | runScriptAndWait | storeCssCount | takeScreenshot |
clickAndNotWait | keyUpAndWait | assertVisible | waitForNotText | close | executeScript | storeValue | startRecording |
click | keyPress | assertElementNotPresent | waitForNotValue | pause | getEval | storeText | clearRecording |
clickAt | keyPressAndWait | assertNotVisible | waitForNotAttribute | setSpeed | storeLocation | stopRecording | |
doubleClick | mouseOver | assertAttribute | waitForText | setTimeout | storeExpression | getDictionary | |
doubleClickAt | assertNotAttribute | waitForTextPresent | echo | storeEval | setLocation | ||
doubleClickAndWait | assertValue | waitForTextNotPresent | storeAttribute | ||||
doubleClickAtAndWait | assertNotValue | waitForElementPresent | storeElementPresent | ||||
clickInvisible | assertText | waitForEditable | store | ||||
clickInvisibleAndWait | assertTextNotPresent | waitForElementNotPresent | setLocation | ||||
type | assertTextPresent | waitForNotVisible | |||||
sendKeys | assertExpression | waitForTitle | |||||
typeKeys | assertNextConfirmation | waitForLocation | |||||
select | assertNextAlert | waitForAlert | |||||
selectAndWait | assertAlert | waitForConfirmation | |||||
selectFrame | assertConfirmation | waitForPageToLoad | |||||
selectWindow | assertEval | ||||||
submit | verifyTitle | ||||||
createCookie | verifyLocation | ||||||
deleteCookie | verifyElementPresent | ||||||
verifyVisible | |||||||
verifyElementNotPresent | |||||||
verifyNotVisible | |||||||
verifyAttribute | |||||||
verifyNotAttribute | |||||||
verifyValue | |||||||
verifyNotValue | |||||||
verifyText | |||||||
verifyTextNotPresent | |||||||
verifyTextPresent | |||||||
verifyExpression | |||||||
...
ASM supports several commands which are not utilized in native Selenium IDE: insertPageBreak, takeScreenshot, and getDictionary.
setLocation
The setLocation command may be utilized in order to mimic a certain location from within the browser. To use, specify “setLocation” as the command and specify the desired coordinates as the Target:
...
Accepted syntax for Target coordinates includes:
latitude: 59.3259965, longitude: 18.0057939
59.3259965, 18.0057939
insertPageBreak
ASM scenarios support a custom command called insertPageBreak
. This command creates a new Page Break that separates different pages (which typically consist of multiple URL calls) from each other. The command expects one argument, the name/title of the page break, which will be shown on the Result Details page in ASM. Page breaks can be entered manually into scripts or automatically generated when recording web sessions. For example, If the login portion of a web page sequence takes place over two or three HTML pages, the Page break could organize the set of HTML pages into a single group before the next logical page navigation - another Page Break. insertPageBreak
is typically only necessary if you need to set a custom title or if requests which are triggered as a result of executing multiple different commands all end up as part of the same step, and you wish to split these requests into multiple steps.
...
The command takeScreenshot
takes a screenshot that will be visible in the Check Details. The command will insert an additional screenshot onto the page in addition to whatever screenshots have been added in the Edit Check settings. This command is helpful when troubleshooting scripts as it gives a snapshot of what exactly happens at a particular step.
getDictionary
See Storing and Retrieving Information Using the ASM Dictionary.
...