Browse Source

增加登录脚本

master
zangkun 2 years ago
parent
commit
8998b8aed8
1 changed files with 9 additions and 0 deletions
  1. 9
      UI-Testing/Login.robot

9
UI-Testing/Login.robot

@ -0,0 +1,9 @@
*** Settings ***
Library AppiumLibrary
*** Test Cases ***
LoginTest
Open Application http://127.0.0.1:4723/wd/hub platformName=Android deviceName=eafb4fdc
Wait Until Element Is Visible xpath=//android.webkit.WebView 10s
Click Element xpath=//android.webkit.WebView
Wait Until Element Is Visible xpath=//android.view.View[@text=\"手机号快捷登录\"]
Loading…
Cancel
Save