![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
移动测试
bubbleTg
学习就对了
展开
-
使用@AndroidFindBy() 出现NullPointerException
使用@AndroidFindBy() 出现NullPointerException 使用@AndroidFindBy() 出现空指针异常 先来看看我原来部分的代码: /** * 日历 */ @AndroidFindBy(id = "。。。。") private WebElement xxxxx; public HomePageObject(AppiumDriver driver) { this.driver = driver;原创 2020-07-20 20:30:08 · 458 阅读 · 0 评论 -
Selenium元素定位学习笔记
Selenium元素定位 元素定位方法汇总 使用ID定位 我们以百度网站为例: 我们进行百度一下搜索测试。 @Test public void idTest() { //使用ID定位,定位输入框,并输入百度一下。 driver.findElement(By.id("kw")).sendKeys("百度一下"); //使用ID定位,并点击 driver.findElement(By.id("su")).click();原创 2020-07-09 19:00:27 · 317 阅读 · 0 评论 -
win10下安装Appium两种方式
win10下安装Appium两种方式 在appium官网上有关于appium的详细讲解,http://appium.io/docs/en/about-appium/getting-started/?lang=zh 我就不多说,Appium安装有两种方式,一种是直接下载桌面版,一键安装: 下载地址如下: https://github.com/appium/appium-desktop/release...原创 2019-12-15 12:01:11 · 862 阅读 · 1 评论