[play framework] Selenium test flow control (if) question
I want to let my selenium test run or not run based the play config.
so I try this in my test:#{selenium}
storeElementPresent('code',code)
echo($[code])
#{if ???}
other test run or not run
#{/if}
#{/selenium}so the echo can output true or false, but i don't know how to use it
in if control.
I want to let my selenium test run or not run based the play config.
so I try this in my test:#{selenium}
storeElementPresent('code',code)
echo($[code])
#{if ???}
other test run or not run
#{/if}
#{/selenium}so the echo can output true or false, but i don't know how to use it
in if control.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货