欢迎光临
我们一直在努力

使用RF登陆微信例子

*** Settings ***

Library           RequestsLibrary

Library           requests

Library           json

Library           AppiumLibrary

*** Test Cases ***

test1

    Open Application    http://localhost:4723/wd/hub    platformName=Android    deviceName=test    appPackage=com.tencent.mm    appActivity=.ui.LauncherUI    platformVersion=6.0

    Wait Until Page Contains    始终允许

    click button    始终允许

    click button    始终允许

    click button    始终允许

    Run Keyword And Ignore Error    click button    允许

    click element    xpath=//*[@text=”登录”]

    click button    用微信号/QQ号/邮箱登录

    input text    xpath=//*[@class=”android.widget.EditText”][1]    1106648034

    input text    xpath=(//*[@class=”android.widget.EditText”])[2]    91CTT1106648034

    click element    xpath=//*[@text=”登录”]

    Run Keyword And Ignore Error    click button    允许

    Run Keyword And Ignore Error    click button    允许

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。