Created
July 4, 2012 10:26
-
-
Save crazycode/3046589 to your computer and use it in GitHub Desktop.
play1.2.4 selenium测试
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#{fixture delete:'all', load:'fixture/goods.yml' /} | |
#{selenium 'Test Home/index.html'} | |
open('/') | |
verifyTitle('一百券-网上消费券首选门户,消费券,代金券,优惠券,美食券,电子券,提货券') | |
verifyTextPresent('测试商品1') | |
verifyTextPresent('测试商品4') | |
#{/selenium} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment