IDEMPIERE-92 Implement Selenium testing framework. Added comments and missing wait response command.
This commit is contained in:
parent
38b904b269
commit
091e5b333d
|
@ -1,10 +1,13 @@
|
||||||
!contents
|
!contents
|
||||||
!|fitlibrary.zk.ZkFixture|
|
!|fitlibrary.zk.ZkFixture|
|
||||||
|
|
||||||
|
'''start firefox,chrome or phantomjs'''
|
||||||
|''start spider with''|firefox|
|
|''start spider with''|firefox|
|
||||||
|''shutdown browser automatically''|false|
|
|''shutdown browser automatically''|false|
|
||||||
|''get url''|http://localhost:8080/webui/index.zul|
|
|''get url''|http://localhost:8080/webui/index.zul|
|
||||||
|
|
||||||
|
|''wait response''|
|
||||||
|
|
||||||
'''Login'''
|
'''Login'''
|
||||||
|''with''|$loginPanel $txtUserId|''set text''|!-GardenAdmin-!|
|
|''with''|$loginPanel $txtUserId|''set text''|!-GardenAdmin-!|
|
||||||
|''with''|$loginPanel $txtPassword|''set text''|!-GardenAdmin-!|
|
|''with''|$loginPanel $txtPassword|''set text''|!-GardenAdmin-!|
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
!|fitlibrary.zk.ZkFixture|
|
!|fitlibrary.zk.ZkFixture|
|
||||||
|
|
||||||
|
'''start firefox,chrome or phantomjs'''
|
||||||
|''start spider with''|firefox|
|
|''start spider with''|firefox|
|
||||||
|''shutdown browser automatically''|false|
|
|''shutdown browser automatically''|false|
|
||||||
|''get url''|http://localhost:8080/webui/index.zul|
|
|''get url''|http://localhost:8080/webui/index.zul|
|
||||||
|
|
||||||
|
|''wait response''|
|
||||||
|
|
||||||
'''Login'''
|
'''Login'''
|
||||||
|''with''|$loginPanel $txtUserId|''set text''|!-SuperUser-!|
|
|''with''|$loginPanel $txtUserId|''set text''|!-SuperUser-!|
|
||||||
|''with''|$loginPanel $txtPassword|''set text''|!-System-!|
|
|''with''|$loginPanel $txtPassword|''set text''|!-System-!|
|
||||||
|
|
Loading…
Reference in New Issue