"Teach you by hand" series tips - java+ selenium automated testing - element positioning method By xpath Volume 2 (detailed tutorial)
1. Introduction
According to Hongge's plan, this article continues to introduce WebDriver's element positioning method. This article introduces the penultimate method of positioning: By xpath. The location method of xpath is very powerful. Using this method, you can locate almost any element on the page.
2. What is xpath?
XPath is the abbrev ...
Posted by trehy2006 on Thu, 20 Jan 2022 04:11:06 +0100
Automatic testing of CPAL script -- UDP series functions
UDP is the abbreviation of User Datagram Protocol, and its Chinese name is User Datagram Protocol. It is a connectionless transport layer protocol in OSI (Open System Interconnection) reference model, which provides transaction oriented simple and unreliable information transmission service. IETF RFC 768 is the formal specification of UD ...
Posted by alefort on Tue, 18 Jan 2022 16:55:09 +0100
Awesome, front-end automated test framework cypress
automated testing
In order to ensure software quality and reduce repetitive testing, automated testing has been widely used.
Automated testing is a testing method that uses specific software to control the testing process and compare the difference between the actual results and the expected results. By automating the test, we can transform ...
Posted by jdnet on Mon, 17 Jan 2022 12:24:58 +0100
Programming of black box automatic test tool with API
1: A simple example
In the daily coding process, we often conduct automated testing. Automated testing here does not refer to unit testing, but simulates manual input for fast and highly concurrent testing. The automatic chemical industry that can be used has LOADRUNNER and a powerful test platform in VS2010 (recording operation steps and auto ...
Posted by gregor171 on Sun, 16 Jan 2022 16:19:52 +0100
Testing framework TestNG for Java interface testing
1, Introduction
TestNG is a JUnit and NUnit inspired testing framework designed to simplify a wide range of testing requirements, from unit testing to interface testing. However, some new functions have been introduced to make it more powerful and easier to use, such as:
notes.Run tests in the thread pool and provide various available strateg ...
Posted by conker87 on Sat, 15 Jan 2022 15:37:49 +0100
Python realizes sending mail by itself. Come to Get this skill
come to the point
In the process of automated testing, test results are generally sent to relevant personnel in the form of e-mail. Then, in Python, how to write code to send e-mail to the corresponding users?
At the same time, there are different forms when sending e-mail, such as text, HTML, picture attachment, non picture attachment, etc ...
Posted by phpBuddy on Fri, 14 Jan 2022 13:45:42 +0100
Python automated test framework, who is your only one? You will understand after reading this article
Python's unique advantages have created a series of test frameworks. In front of these test frameworks, which is better or worse? How to choose?
As the saying goes, "there is no best, there is only the most suitable". Today, we will compete with the four mainstream automated testing frameworks frequently used in Python to select the ...
Posted by Ajita on Thu, 13 Jan 2022 10:16:19 +0100
Advanced and elegant remote operation of the server: understanding the Python module Paramiko
preface
During the test process, we often encounter the need to upload local files to the remote server, or pull the files on the server to the local for operation. In the past, we often used the xftp tool.
Today, let's introduce a Python library Paramiko, which can help us upload and download remote servers through code, or input operation ...
Posted by aka_bigred on Tue, 11 Jan 2022 12:07:07 +0100
Gao fushuai of the unit test community, what about the Pytest framework, use case marking and test execution
♥ preface
In the introduction of the last article, we introduced the pre and post methods and fixture mechanism of pytest. This chapter mainly introduces the marking mechanism and use case execution method in pytest. Pytest can pass the data into the test function through the tag, or filter the executed use cases through the tag, and ...
Posted by CKPD on Fri, 07 Jan 2022 13:29:56 +0100
Today, let's talk about the use of asynchrony in python automated testing
Asynchronous has been used in the project for a long time. For example, the web framework fastapi supports asynchronous writing. However, I only learned the writing method of "async/await", but can this writing method really make your program faster?
Asynchronous concept
synchronization
asynchronous
Synchronous VS asynchro ...
Posted by binarymonkey on Fri, 07 Jan 2022 09:20:53 +0100