IDEMPIERE-92 Implement Selenium testing framework. Added comments and missing wait response command.

This commit is contained in:
Heng Sin Low 2013-05-26 10:06:34 +08:00
parent 38b904b269
commit 091e5b333d
2 changed files with 6 additions and 0 deletions

View File

@ -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-!|

View File

@ -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-!|