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 22:00] admin [Activating plugins] |
tutorial:scripting_state_model [2020/11/24 22:09] admin [Activating plugins] |
||
---|---|---|---|
Line 116: | Line 116: | ||
For example: | For example: | ||
- | | + | |
+ | You could also use //PAGES// tab to define page object: | ||
+ | // | ||
+ | | ||
+ | def addMainPage () { | ||
+ | mainPage = $SYS.addPage(' | ||
+ | elem = mainPage.addElement(' | ||
+ | elem.addAction(' | ||
+ | | ||
+ | }) | ||
+ | } | ||
+ | | ||
+ | Then in // | ||
+ | | ||
+ | |||
+ | |||
===== User variables ===== | ===== User variables ===== | ||