C # using APIs to compile a Black Box Automated Testing Tool
Download this article code (vs2010 development): http://download.csdn.net/source/2796362
Summary:
1: A simple example
1.1: Introduction to enumchildwindows
1.2: main source code
2: Difficulty: how to obtain the specified control handle
2.1: use Spy ++
2.2: Get the widget location
2.3: Get the Control ID
Source:
Zezhong Software
Author:
Test 007
Time:
2008-05-13
Autorunner is a black box testing tool.,It can be used to perform function testing, regression testing, daily build testing, and automatic regression testing. I
. The prompt box contains the TextBox value;
Now, the test requirements are as follows:
1: run the above program on 300 machines;
2: Go to the 300 machines and click the Button to see if function 2 has been implemented;
Obviously, there is not such a simple program in the actual situation. The actual situation may be that you click the Button to download a file in a unified manner, and the test requirements may become the server load assessment. Now, the test department obviously does not have
Objective:Android Automated test tools, methodologies, and frameworks, including Android OID test Framework, CTS, Monkey, Monkeyrunner, benchmark, test tool, etc. First, what is MonkeyMonkey is a command-line tool in Android that can be run in the emulator or in the actual device. It sends a pseudo-random user thing flow (such as key input, touch screen input, ge
Preface:
Recently, I started to study Android automated testing methods,SortedSome tools, methods, and frameworks, including the android testing framework, CTS, monkey, monkeyrunner, benchmark, and other test tools.
1. What is monkey?
Monkey is a command line tool in Android and can be run in a simulator or on a r
MonkeyRunner tool for Android Automated Testing 1. What is the monkeyrunnermonkeyrunner tool provides an API that allows programs written using this API to control Android devices and Simulators out of Android code. With monkeyrunner, you can write a Python program to install an Android Application or test package, run
Appium + Robotframework for automated testing of Android applications-3: an essential tool introduction, appuim
Everything is ready. Now we are about to write a test script.
However, an important problem has not been solved. We know that the RobotFramework mainly relies on the element id, name, or xpath in web pages to locate the elements on the page. We rely o
One, download and install (MSI)https://jenkins.io/download/thank-you-downloading-windows-installer-stable/During the installation process, you need to copy-paste the initial installation password from the password file (typically in C:\Jenkins\secrets\initialAdminPassword), similar to the followingD0B4E7E1ADC144D5B7FDA3D53B8ECF2B,This is admin password.Second, install the following plug-inIn addition to the default plug-ins, add the following plugins:Build blocker Plugin: for referencing other t
.
The simplicity, readability, maintainability, independence, and repeatability of the script must be paid attention to for the continuity design. The test database design of the automation framework, data-driven testing, and log results can be analyzed. Script attention is inseparable from our usual coding habits. This is a long-term refining process and requires the technical accumulation of automated tes
Android automated testing (1) concept of Android automated testing principles and Android principles
I. First, let's talk about the principle of automated mobile phone testing.1. The principle of mobile phone
self.assertEquals(unique,False) def test_max(self): self.assertEquals(Math.max(8,5),8) def tearDown(self): print "cost", time.time()-self.start_time," second" print "end"Run the unit test and the result is
Finding files... done.
Importing test modules... done.
Starting
Cost 0.000999927520752 second
End
Starting
Cost 1.85600018501 second
End
----------------------------------------------------------------------
Ran 2 tests in 2.043 s
OK
What too
behavior ). Splinter provides a variety of APIs to obtain page information to determine the results of the current behavior4. if you understand this line, I will add additional points .. MultipleLearn more about all aspects of testing. python is just a tool. The theoretical knowledge of testing is very important.Want to learn web automation
Misconceptions of automated testing • An automated test tool will replace the human factor necessary for testing. • you will achieve 100% of application tests automatic. • automated testing
Turn from: https://www.ibm.com/developerworks/cn/rational/r-testing-automation/
Brief introduction
Frederick p. Brooks, Jr. In 1986, wrote an article entitled "No Silver Bullet: the fundamental and secondary issues of software Engineering" (No Silver bullet-essence and accidents of Software Engineer ing). This article lists some of the expectations of the development of software engineering technology and compares it with reality. His arguments were
Android automated testing (3)
I used java in the previous two articles to implement Android automated testing (1) how to install and uninstall an application (java) and Android automated testing (2) search for objects (java) by I
) construction 2) Environment Construction automation 3) laboratory Man-Machine separation
Target 3
test asset sharing and reuse 1) reuse between versions 2) e2e and solution reuse 3) continuous integration and agile development
Objective 4
Reduces the threshold for automated testing and improves the efficiency of
. Introduce automation when software is not yet stable3. No clear Project Test automation plan, measures and management4. The leader does not support5. Most objects are not recognized6. Frequent and difficult script maintenanceCommon GUI Automated test tools: WinRunner QTP Selenium Robot Framework Rational functional Tester silktest Sikulithe two main points of automation test tool selection: 1. Objects and
Automation test code), here still agree with Microsoft's Sdet in the entire software development process, the more low-level code changes in the lower frequency. For example, the implementation of the underlying class and the user interface, it is obvious that the UI changes most frequently, and the latest stability in order to meet the requirements of the design, many of the program's UI to use a lot of custom control, but did not follow the Microsoft Accessibility standard (even do not know t
software engineering technology and compares it with reality. His arguments are summed up as follows: Without a single technical or managerial advance, you can independently commit to significantly improve the productivity, reliability, and simplicity of the software within 10 years. Brooks encourages us to view technology and methods as an evolutionary tool, not a revolution.
I fully agree with Brooks, which helps us to understand the true meaning o
1. Factors affecting the ROI
ROI is usually calculated based on the income gained divided by the input cost. If we start a new project, we useTestThe value is divided by the test cost to calculate the ROI of the test. Sometimes,Automated TestingThe introduction takes place after a period of time that the manual test has been completed.
The economic cost of automated tes
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.