Exploration of IOS automation -- using Bluetooth to realize Tap operation of XCUITest

The original text was published by natural growth in the TesterHome community, click Original link Can communicate directly with the author.1, ForewordWhen using the ios devices of WeTest and Testin remotely, you will always feel that the operation is not smooth, because the mobile phone will Move only when you release the mouse. It should be ...

Posted by herbal_lavender on Thu, 10 Mar 2022 08:02:12 +0100

Hilt Test - Fragment trouble: this needs special treatment, starting a new stove, counterfeiting process, making empty birth, just for a Fragment.

🚪 1. Fragment report Gradle Gradle - Module: def fragment_version = "1.3.1" implementation "androidx.fragment:fragment-ktx:$fragment_version" debugImplementation "androidx.fragment:fragment-testing:$fragment_version" 😓: You see, this is not Android test or test, but debug. We don't have it! 🤗: haven't you? You have to mak ...

Posted by langer on Tue, 08 Mar 2022 05:33:34 +0100

From 0 to 1, proficient in automated testing, pytest automated testing framework, configuration file pytest ini

1, Foreword The pytest configuration file can change the operation mode of pytest. It is a fixed file pytest INI file, read the configuration information and run it in the specified way 2, ini configuration file Some files in pytest are non test files pytest. Ini is the main configuration file of pytest, which can change the default be ...

Posted by orison316 on Mon, 07 Mar 2022 12:50:33 +0100

Python quick start series -- string -- detailed explanation

Python 0-1, lecture 2. In the last chapter, we learned variables and how to define a variable. From now on, we can use it directly. In this chapter, let's learn string. Let's have a look. character string What is a string? Is it important? name = 'Hello World' print(name) 'Hello World' here is what we call a string. Name is its variable. ...

Posted by sarakmo on Mon, 07 Mar 2022 07:40:10 +0100

Simple and powerful assertion library power assert

power-assertWhat is power assertAnswer in official termsIt is the implementation of the concept of "Power Assert" in JavaScript.Descriptive assertion messages are provided through the standard assertion interface.No API is the best API. With power assert, you don't need to learn many assertion library APIs (in most cases, all you need ...

Posted by aldernon on Sat, 05 Mar 2022 15:42:17 +0100

[introduction] interface automation test

1. What is interface testing As the name suggests, interface test is to test the interface between systems or components, mainly to verify the exchange, transmission and control of data, management process, and mutual logical dependency. The interface protocols are divided into HTTP,WebService,Dubbo,Thrift,Socket and other types. The test type ...

Posted by spicerje on Fri, 04 Mar 2022 00:07:24 +0100

uiautomator+cucumber to realize automatic test of mobile app

premise Due to the business requirements of the company, the automatic test should meet the following points: Cross application testingStrong readability of test casesThe test report is readableScreenshots of failed use cases are saved and reflected in the report Based on the above points, we chose uiautomator when selecting the automation t ...

Posted by ashley526 on Thu, 03 Mar 2022 16:33:40 +0100

Unittest unit test framework UI automation

Today, we will explain how to use unittest framework to realize UI automation in python. We won't repeat how to use webdriver API to operate web pages today. For missed partners, please stamp the link below~~ 1.unittest unit test framework Why use a unit test framework? The use of unit test framework can standardize the preparation of te ...

Posted by exa_bit on Wed, 02 Mar 2022 12:16:13 +0100

Java excellent testing framework - TestNG

Why do we need TestNG?   Java has several test frameworks. JUnit is a common one. The default test framework of Spring series is JUnit. TestNG is also a test framework of Java. It has similar functions to JUnit, but supports more annotations and functions.   we often use JUnit for unit testing, but we prefer TestNG for automated ...

Posted by abdbuet on Mon, 21 Feb 2022 13:14:51 +0100

Pop! Pop! Give JobIntentService an injection, a big injection of Hilt, see if you're happy? Oh, I can't see the result.

0. Introduction Service Service doesn't have to be used for a long time. Isn't it a long servant? We can use JobIntentService -- temporary servant. It's good to live and die with your App! However, it's easy to start and there's no clue to shut down. Because the service runs in the background, it has nothing to do with the UI. If we use MVVM, ...

Posted by johng on Sun, 20 Feb 2022 04:15:14 +0100