[interview] python modifier for interview questions
1) What is a python decorator?
Python decorator is a very powerful function, an excellent design pattern, which abstracts the repeated content and gives a function other functions without changing the function itself.
Simply put, modifiers are functions that modify the functions of other functions.It makes the code extremely concise and ...
Posted by flash_78 on Sun, 30 Jan 2022 07:21:58 +0100
Automated testing selenium--webdriver common API s
Automated testing selenium (2) – webdriver common API s
Composition of simple script
1. Import the required package in the script header;
2. Get the driver of the browser;
3. Use browser driver to operate the text system to be tested;
4. Close the browser after the test.
Common API s of webdriver:
1. Element positioning: object pos ...
Posted by ojsimon on Sat, 29 Jan 2022 03:04:59 +0100
jest unit test - Fundamentals
jest test - Basic
1, Understanding front-end automation
With the development of front-end, the field of front-end design has become more and more complex. This puts forward higher requirements for our front-end engineering ability. Good front-end engineering generally includes three aspects:
Front end automated testing (prerequisites)High qu ...
Posted by ConnorSBB on Sun, 23 Jan 2022 18:48:28 +0100
Junit5 + YAML can easily realize parameterization and data-driven, making App automated testing more efficient
This paper is the course study notes of excellent students in Hogwarts Testing Institute. We want to communicate with advanced students at the end of the text.
** 1. What is data driven**
What is parameterization? What is data driven? Some people often don't understand their relationship. Let's talk about personal understanding. Let's f ...
Posted by MattDunbar on Sat, 22 Jan 2022 22:05:46 +0100
GRPC protocol Mock Server service
PowerMock is an implementation of Mock Server. It supports Mock of HTTP and gRPC protocol interfaces at the same time, and provides flexible plug-in functions. This tool is designed for developers with interface Mock requirements such as front and back end and testing. It can also be deployed in gateway architecture or API management platform a ...
Posted by php_jord on Fri, 21 Jan 2022 12:55:32 +0100
[learn Python happily] - Python dictionary dict
1, Dictionary dict description in Python
The dictionary in Python is different from string / list / tuple, because the dictionary dict needs to be composed of two parts: key and value, which are referred to as key value pairs for short. The characteristics of the dictionary are explained in detail below:
1. It is composed of one or more key ...
Posted by billy2shoe on Fri, 21 Jan 2022 07:46:56 +0100
You think Shell is just a command line? Read this article and empower your work
What is Shell? Many people think that the Shell is the command line, which can be Baidu out one by one. And on your resume, you only write that you are familiar with Linux? Today, I will use Mobai App to explain how to use it Shell to operate Android devices for automated testing.
1 Environmental preparation First, we need to prepare a mobile ...
Posted by woza_uk on Fri, 21 Jan 2022 04:44:10 +0100
"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
The test platform series (88) completes the email notification function (with a beautiful email template)
Hello ~ I'm Milo!
I'm building an open source interface testing platform from 0 to 1, and I'm also writing a complete set of corresponding tutorials. I hope you can support me.
Welcome to my official account MENOIR's diary, get the latest article tutorial!
review
Last time, we found a seemingly good email template, but because the data is dead ...
Posted by fangorn on Wed, 19 Jan 2022 16:39:54 +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