原创 selenuim 刷新F5

Actions act = new Actions(driver); act.sendKeys(Keys.F5).perform();

原创 接口測試(api測試)java代碼測試

public class apitest { @Test public void testr() throws ClientProtocolException, IOException, JSONExc

原创 switch to frame nosuchElement

// ArrayList<String> tabs2 = new ArrayList<String> (driver.getWindowHandles()); // driver.switchTo().wind

原创 selenium select Element is not clickable at point

WebElement element = driver.findElement(By.xpath("//*[@id='serach']")); Actions actions = new Actions(d

原创 Stale Element Reference Exception

WebElement result = new WebDriverWait(driver, 10).until( ExpectedConditions.presenceOfElementLocate

原创 集網工作

http://www.kancloud.cn/cn7723/game-box-v3/244583 接口 https://pts.aliyun.com/lite/index.htm?spm=5176.7946858.209627.2.eE2

原创 org.openqa.selenium.ElementNotVisibleException: element not visible

org.openqa.selenium.ElementNotVisibleException: element not visible (Session info: chrome=55.0.2883.87) (Driver

原创 我的第一個appium ——androidDriver

package com.example.test; import java.io.File; import java.net.URL; import java.util.List; import java.util.concur

原创 post file (okhttp)頭像上傳

注意:這裏的jar是okhttp-3.6.0.jar 圖片在:D:\workspace\7723gameTest\res\a.png 詳細代碼見百度雲盤:PostFile package com.tester20170303;

原创 POI EXCEL

import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputSt

原创 reportng表格

詳細見百度雲 例子-TestCaseDemo 點贊 收藏

原创 我的第一個appiumdemo

參照網址http://blog.csdn.net/wuyepiaoxue789/article/details/51613465 點贊 收藏 分享 文章舉報 qgesxc

原创 使用chromedriver和selenuim3

public class demo { ChromeDriverService service; WebDriver driver; WebElement confirm; WebElement c

原创 testng性能測試,循環測試,線程測試,優先級

使用TestNG進行性能測試/重複執行 來源:http://www.51testing.com/html/18/n-131218.html TestNG提供了豐富的Annotation爲測試提供更強大,更細緻的控制,比如用於併發

原创 數據庫查詢含有字段的表

fid爲字段名 USE information_schema; SELECT * FROM COLUMNS WHERE column_name='fid' ; 點贊 收藏 分享 文章舉報