Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testsuite-alert.txt 13,14行是否倒置了 #3

Open
xumingxsh opened this issue Oct 24, 2019 · 0 comments
Open

testsuite-alert.txt 13,14行是否倒置了 #3

xumingxsh opened this issue Oct 24, 2019 · 0 comments

Comments

@xumingxsh
Copy link

170cb7d中,testsuite-alert.txt的13,14行是否倒置了。
Selenium2Library3.0已经不支持config form, 是否换位Handle Alert更好。
下面是我根据您的例子修改的测试用例:
*** Settings ***
Library Selenium2Library
Library OperatingSystem
Library AutoItLibrary
Resource resource.txt

*** Test Cases ***
case-1
[Setup] 打开网页
Click Button pay
${mes} Handle Alert
Sleep 2s
click button paycon
Handle Alert DISMISS
Sleep 2s
${confirm} Get Element Attribute r innerText
Click Button paycon
Sleep 2s
${mes} Handle Alert ACCEPT
Sleep 2s
${confirm} Get Element Attribute r innerText
[Teardown] 关闭网页

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant