This paper completes Appium automated test based on Python unit test framework unittest, and generates a visual test report based on HTML.code example:1 #利用unittest并生成测试报告2 classappium_test (unittest. TestCase):3 """Appium Test Class"""4 def setUp (self):5Desired_caps = {6 'PlatformName':'Android',7 'devicename':'Android Emulator', #可有可无, here's my simulator.8 'platfo
, but document it.No, really, it doesn ' t do anything.Coding styleRecommended adherence to PEP8, high readability, some key points are as follows:Use 4 spaces to indent rather than tab.No more than 79 characters per line.Use empty lines to separate functions and classes, and large blocks of code in functions.If possible, the comment takes up one lineWorking with document StringsThe operator has a space before and after the comma, but there are no spaces on either side of the parentheses. such a
It has been nearly a year since the previous comparison of robotium and nativedriver tools (see http://kongqingyun123.blog.163.com/blog/static/637728352011614111010446/ for the last time), and a year has certainly changed a lot for an open-source tool. At the same time, many of the original views on the tool will be somewhat different. At the beginning, nativedriver was chosen for automated
I. First, configure the most basic environment
Knowledge preparation + Environment configuration for Android Automated Testing(Click to view details)
Ii. Download athrun
Select a location for storing code on the local machine dir
Right-click dir
SelectSVN checkout
In the pop-up dialog box, the first itemURL of repositoryEnter the corresponding address in the input box below:
Http://code.tao
PHP Unit testing tool PHPUNIT: page 1. When you encounter these situations that make you frustrated, you will definitely think about a better solution? Of course there are some solutions! This is the unit test. When you encounter these frustrating situations, unit testing wi
In Linux
Minicom is a very good use of the serial Debugging tools, manual operation is very simple, when the automated testing, there is a bit of trouble; The following is a minicom automated test, that is, a bash script operation Minicom
1 First is through the Minicom connection target serial port,
Manual setup is sim
Download the original English book: Https://bitbucket.org/xurongzhong/python-chinese-library/downloadss.
Boutique article recommended:
Python 2.7 Chinese tutorials and automated test introduction
Learn selenium test tools using Python
The Art of performance testingJava Unit Test Simulation tool-use Powermock for mock test
-trackball:-pct-nav: Navigation key (Hardware)-pct-syskeys:-pct-anyevent:8. Commissioning-hprof: Generating snapshot files for memory-ignore-crashes:-ignore-timeouts:-ignore-security-exceptions-kill-process-after-error-monitor-native-crashes: Monitor the C code inside Android (CPU compute section)-igrone-native-crashes:9.ADB shell-p xxx-throttle 100-pct-touch 50-pct-motion 50-v-v-v10.APK Package Name ViewInstall APK Package Name ViewerSource A in the droidmanifest.xml you see the package nameAAP
Use Windows Mobile test framework for automated testing of Windows Mobile programs-(2) Test ToolFavorites
Preface:
In the previous section, we briefly introduced the Windows Mobile test framework in the wm6 SDK. You may have a rough impression on Windows Mobile test framework, but you still have some questions about how to use it. I am sorry for this because I am busy and have no time to update this serie
Automated tests that have been done with the UI know that testing is an action on an element, so it is particularly dependent on the positioning of the element. But this poses a big problem-"maintenance cost", if you are positioned multiple times with an element in a different test case script, and when the position or attribute of the element changes, you must find the corresponding location in the script
execute a scriptif __name__=="__main__": #do not construct test set, direct test #Unittest.main () #Constructing test SetsSuite=UnitTest. TestSuite () suite.addtest (Test_case ("test_balabala1")) Suite.addtest (Test_case ("TEST_BALABALA2")) #Perform tests " "Texttestrunner is used to execute test cases, you can make testcase, or the results of testsuite tests are saved in TestResult, including executed, passed, and failed use case information" "Runner=UnitTest. Texttestrunner ()
Google C ++ unit testing framework GoogleTest --- Introduction to Google Mock-concepts and basic syntax, javamock framework
Just yesterday, I finally made a gtest sharing. My pre-research work has finally ended, and I feel that it is not long before I resign. After all, I focused on java for two hundred years, I want to say goodbye to my internship ..
This is an introduction to GoogleMock and will be accomp
Interface Test Automation Build framework: http://blog.sina.com.cn/s/blog_6cf812be01010bqf.htmlHTTP interface Automation test data: http://www.51testing.com/html/17/15066317-877622.htmlusing HttpClient for interface testing : http://lijingshou.iteye.com/blog/1998209HTTP JSON protocol Interface test automation example (Automation Test Development Practice Series): http://www.educity.cn/wenda/62614.htmlOpen source Automation
Molybdenum is an automated testing tool that can be used for functional testing. We can add it to the additional components of Firefox.
Molybdenum is easy to use and easy to install, even if noProgramming LanguageYou can also use the software to generate a test report. A lot of documents are in English. I have not found a Chinese introduction to molybdenum.Artic
Introduction to white-box testing tools for commonly used embedded softwareAuthor: Tony Source: http://blog.csdn.net/vincetest
I,
Vctester
Manufacturer
Shenzhen lingzhou Technology Co., Ltd.
Introduction
Vctester is independently developed by Shenzhen lingzhou Technology Co., Ltd. It specializes in testing tools fo
Synchronization of the use of the file is more than a number of so files need to be synchronized, if you delete and push words will be a lot of work, this time using synchronous commandWireless connectivity and synchronization of specific operations to complement the next improvementADB connectivity issues adb list of devices attachedWindows:Install the driver first, see if the Device Manager driver is installed successfully, cannot install the driver can be solved by a phone assistant
How to use "mathematical modeling-graph theory model" for automated intranet penetration testing
Privilege escalation in the Active Directory domain is an important part of the struggle between most intruders and the Intranet administrator. Although obtaining the permissions of the domain or enterprise intranet administrator is not the ultimate goal of evaluation, it often makes the target to be tested easi
execution commands.3. Install the Java JDK and set the Java_home variable to your JDK directory.4. Install Appium for Windows version: Download path http://appium.io/downloads.html, I use the latest 1.4 version, very good.5. Install Python version 2.7, although Appium support many languages, but the personal favorite python, there is another reason is that robotframework also support Python, and then I use Robotframework to write Appium oh.6. Install the Python support package in the Appium Cli
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.