Read about automation test plan for selenium, The latest news, videos, and discussion topics about automation test plan for selenium from alibabacloud.com
I. Overview
How to plan your career as a tester2. Career development channel
Testers can be divided into test management, SQA quality management, and senior technical personnel.
There are three lines: technology, quality management, and project line.
Project management and requirement analysis seem to be different from the testing technology and quality management line, so they are described separately as
arrows as shown there, then go to the page where you want to locate the element, for example we now want to locate the input account box, we will click on the view element of the icon, and then click on the Input Account box, you can see the view element of the page is located here:Here, the page element property has ID, name, and so on, which is where we can locate this box by ID (find_element_by_id) or name (Find_element_by_name), generally name or class_name,tag_ Name these element names are
Locating a group of objectsLocate a group of objects--find_elements_by_ ... (), note, here is elements, plural. The returned result is a list of values that we need to use to get the elements we want. There is so much to be aware of. See a piece of code immediately understand:This is Baidu in the upper right corner of a few tags. We see that the class from "News" to "academic" is the same:# coding: utf-8from selenium import webdriverdriver = webdriver
分在测试期间的时间所占用系统运行总时间的比重。响应时间分解视图和一个测试或者时间表的页面元素(URL)相关。这样可以在任意 HTTP 页面元素的响应时间统计表中,察看在测试下系统每一个部分所花费的时间。可以通过响应时间:? Identify code issues? See which application on the server is the bottleneck of the entire system? Further decide which package, class, or method is causing the problem5. Design test Plan complete test Case 5.1 test
The Java test environment is simpler to build than Python, as long as the relevant jar package is imported.1. Install JavaDownload the latest Java installer from the official website and double-click Install (java1.8)2. Download the Java version of the Selenium jar package (including client and server-side jar packages) Client and service side 3. Import Jar PackageCreate a new project in Eclipse, then rig
Sometimes we click the button after the page will jump to a new window, we need to go to the new window to do the next operation, this time we need to switch the operation of the window, we are based on the handle (handle) to operate the switch between the window, see the code:# coding: utf-8from selenium import webdriverfrom time import sleepdriver = webdriver.Firefox()driver.get("http://www.jrj.com.cn/")driver.find_element_by_xpath("html/body/div[11
Continue to build the appium environment.
Section II installs the Android development environment
If your environment is a Mac then you can skip this section directly. Just as we were using selenium for Web automation testing, we needed a browser to execute the test script. So the mobile-end automated test, we also n
First, download appium-server and library filesLibrary file: Jar Package: Java-client-3.1.0.jarAppium-server:appium server;Note: Appium contains the client and server side, the client is the Java script written, the Appium servers by receiving the client's Java Script command, and then send commands to ADB to operate the phone;Second, download the Android SDK packageThird, install and run Appium ServerIv. Download and install night God SimulatorNote: Appium server configuration:1, open, small ge
Interface 2: LoginRequest Method: PostRequest URL:http://api.nnzhp.cn/api/user/login1. Open JMeter, right click on test Plan, select Add-threads-thread Group2, click on Thread Group, right-add sampler-http request3,http Request page, server name or IP field input: api.nnzhp.cn; mode selection Psot; path input:/api/user/loginClick Parameters, click the Add button, name Input: Username value input: xxx;passwd
Interface 3: Adding student informationBrief description: Practice passing JSON type parametersRequest URL:http://api.nnzhp.cn/api/user/add_stuRequest Method: Post1. Open JMeter, right click on test Plan, select Add-threads-thread Group2, click on Thread Group, right-add sampler-http request3,http Request page, server name or IP field input: api.nnzhp.cn; method select Post; path input:/api/user/add_stuClic
Establish a continuous processSpecify the time and cost of Parasoft to reduce PCI DSS compliance."Click to view"cyber attacks opportunities accompanying cloud technologyLearning: 1) New cloud services technology, software infrastructure will be more vulnerable. 2) not meet the high cost of safety standards. 3) The most effective development of test solutions to improve application security."Click to view"You can also click here to see more parasoft r
Interface 4: Student coin RechargeBrief description: Add a cookie to authenticate the identityRequest Method: PostRequest URL:http://api.nnzhp.cn/api/user/gold_add1, open JMeter, right click on the test plan, select Add-threads-thread Group, copy the login script to the current thread group2, click Login (HTTP request) Right: add--post processor [email protected]-JSON Path Extractor;name Enter sign (session
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.