Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:scripting_state_model [2020/11/24 21:59] admin [Activating plugins] |
tutorial:scripting_state_model [2020/11/25 16:53] admin [Activating plugins] |
||
---|---|---|---|
Line 112: | Line 112: | ||
| | ||
+ | ==== Web App Automation==== | ||
For test automation, for example web application you would activate // | For test automation, for example web application you would activate // | ||
For example: | For example: | ||
- | | + | |
- | + | ||
+ | === Page Object=== | ||
+ | You could also use //PAGES// tab to define page object: | ||
+ | // | ||
+ | | ||
+ | def addMainPage () { | ||
+ | mainPage = $SYS.addPage(' | ||
+ | elem = mainPage.addElement(' | ||
+ | elem.addAction(' | ||
+ | | ||
+ | }) | ||
+ | } | ||
+ | | ||
+ | Then in // | ||
+ | | ||
+ | |||
+ | === Find Element Locator === | ||
+ | Web element locator can be xpath, css or by id, etc. as supported by // | ||
+ | |||
+ | There are many browser add-on/ | ||
+ | |||
===== User variables ===== | ===== User variables ===== | ||