05 2018 档案
摘要:package org.apache.jmeter.functions; import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.IOException;import java.nio.fi
阅读全文
摘要:/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this
阅读全文
摘要:package org.apache.jmeter.functions; import java.util.Collection;import java.util.LinkedList;import java.util.List;import org.apache.jmeter.engine.uti
阅读全文
摘要://高亮操作元素public void highlight(WebElement webElement) {JavascriptExecutor javascriptExecutor = (JavascriptExecutor) driver;javascriptExecutor.executeSc
阅读全文
摘要://以下七种方法主要用于生成年、月、日、小时、分钟和秒的信息,用于生成保存截图的文件目录名和文件名/** 格式化输出日期* * @return 返回字符型日期*/public static String format(java.util.Date date, String format) {Stri
阅读全文
摘要:/** 以下方法主要用于切换页面*/public void SetPageSwitch(String pageTitle) {Set<String> allWindowsHandles = driver.getWindowHandles();if (!allWindowsHandles.isEmpt
阅读全文