请更正命令:
gotoIf | storeAlertPresent==false | continue
这是命令不起作用。而且我在Selenium IDE中不能使用多个字符串。
答案 0 :(得分:0)
检查出来:
storeEval | try {selenium.getAlert()} catch(e){selenium.continueFromRow(gotoLabels['MYLABEL'])} | alert_message
如果出现提醒,它将将您的提醒消息存储到 alert_message 变量并关闭提醒。
如果没有提醒,它会将您的测试发送到“MYLABEL”
很有可能有一种更简单的方法。但我希望它会有所帮助