Catalog (late continuous update)
First, preface
1. Why Choose Appnium
In recent years, the app has continued to be hot, the corresponding app testing industry is also rising. Because of the market demand, the app test platform also gush out a lot of automated testing tools.
After a comparative analysis of Monkeyrunner, Monkey, appnium and instrumentation, I chose the Appnium tool. The most important feature of this tool is the support for multi-level
Multi-lingual, but also support JS this script language and C #, Java compiled language. Cross-platform, support both iOS and Android, just install the corresponding appnium
can be achieved.
2. Appnium schematic diagram
On the principle of specific appnium operation and how to support cross-platform multi-lingual architecture, we can search by ourselves, and the author cannot recite these principles through the brain, presumably similar
There is a middleware platform to complete.
We can think of Appium as a translator.
It can translate your automated test script into a language that uiautomator can recognize, and then call Uiautomator to perform the test, which is just a middleman.
The computer that runs the test script, we call the client.
When Appium is turned on, the Appium Server is turned on and the 4723 port is monitored by default.
Appium server receives the client command (test script), translates it into a language that the test machine can understand, and then sends it to the mobile platform to run.
After the test machine has finished running, the test results are returned to Appium server, and then the Appium server returns the test results to the client.
Note: Images from Internet search
3, how to implement the C # language script
As with other languages, it is necessary to refer to the corresponding plug-in or dynamic link library files, click here to download Dll>> Click here to download Appnium
Once you have only a reference to it, you can implement the client-server connection and the release of instructions.
The first preface, so the end of it, the environment is built to believe that we can easily solve. I also began to study the application of automated testing in May, when a blank, on the mobile side almost no understanding,
All the knowledge is learned through the search engine, and then found that many of the web is just a few scattered fragments, the most exaggerated, while opening more than 10 browser pages combined with learning. At first, I didn't
There is a right to learn the tool, but first on the mobile system familiar, and then try to read some of the mobile Code and app operating mechanism, and then the tool is familiar with and contrast, choose a suitable for their own
The tool. Next, I will be a complete appnium automated test work step by step, I hope in the collation of knowledge and bring you help, please look forward to ...
Preface to "Appnium+c#+winform Automation Test Series"