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
1. Why should I use the framework?
Original article address: Http://www.uml.org.cn/Test/200810108.asp Author: Chen nengtech
Framework is the basis of a set of automated testing specifications and test scriptsCodeAnd a set of testing ideas and practices. It can be used to reduce redundant code, improve code producti
(To) http://blog.csdn.net/roger_ge/archive/2010/04/26/5531941.aspx
Part 1: Preface
Automated testing may be a field of research or preparation by many testers. Choosing appropriate automation tools and building a correct and efficient framework based on your own capabilities and the company's situation may be a topic that will never be discussed. As the answer goes, there is no better, only better.
Ma
The company's internal software using B/s architecture, most of the data are added and deleted, because it is still in the development phase, so the UI interface changes very fast, it is difficult to test the UI for automation, that will consume a lot of effort and time to maintain the automation script. For this case, the interface test is more effective.Tool selectionThere are also many tools for interface testing, such as the soup UI, the robot
WatirYesRubyOpen SourceWebCompared with the large commercial tools, the automated testing framework is small, flexible, and provides sufficient functions. Recently, I took the time to try it out. I feel pretty good. I plan to use it in the company for further promotion.
BecauseWatirUser Manual and examples on the websiteCodeAndFAQAll of them are well maintained, so I will not repeat the existing items. He
I will continue to introduce the gauge automated testing tool if you are interested in the tool.
Gauge is essentially a BDD (behavior driven development) testing framework. Therefore, you must first understand how BDD operates.
BDD contains two parts:Software behavior description. The other part is:Write test code for description.
First, the behavior description
Introduction to the 0.Robot FrameworkThe Robot framework is a common automated testing framework for "acceptance testing" and "acceptance test driven Development (ATDD)" (ATDD is described in detail in other articles). It uses tabular test data syntax and implements a keyword-driven test strategy. Its
Preliminary Exploration of the interface testing framework-python Series 7 and python
Click "Blue name" under the title to quickly follow
What we insist on is sharing, moving knowledge, showing everyone's progress, no paid training, no fake information, and paying attention and forwarding if you like (free to help more partners) if you want to know more, please leave a message to bring you more value. We a
After the previous introduction of IQUERY, some friends started to try IQUERY in the mobile phone automated testing program. As the previous introduction documents are vague, extend IQUERY to support a series of articles in multiple programming languages and add the IQUERY getting started tutorial. For more information about the previous introductory articles, see:1. Open-source class library IQUERY android2. Introduction to IQUERY open-source class l
the "Baidu search" keyword, you need to create two interface variables $ {search} and $ {result} to receive the input content and expected results.
Click the arguments input box to define variables. Multiple variables are separated by "|.
Use parameterized variables in Baidu users.
4. Add the created Resource
Switch to the test kit (searchpipeline page, pipeline Resource (Business key word. txt)
5. Call keywords
Now you can use the created keywords in the test case (Baidu search ).
For
framework1 How do I use it? Prepare a third-party library-first install the DDT library, followed by the introduction of DDT in the script, then OKSpecific:
Download the DDT library on the Python website;
Commands for importing DDT libraries in scripts: From DDT import DDT, data, unpack
To label DDT before testing the class: @ddt
strong> class Mooktestcase (unittest. TestCase), indicating that this tes
First, IntroductionRobotium is a foreign Android Automation testing framework, mainly for Android platform applications for black box Automation testing, it provides simulation of various gesture operations (click, Long Press, swipe, etc.), find and assert the mechanism of the API, to be able to manipulate the various controls. Robotium combines Android's officia
Watir is an open-source Web automation testing framework implemented using Ruby. Compared with those large commercial tools, watir is small, flexible, and provides sufficient functions. Recently, I took the time to try it out. I feel pretty good. I plan to use it in the company for further promotion. The user manual, sample code, and FAQ on watir are well maintained, so I will not repeat the existing items.
Since I joined agile projects at the end of last year, I have not read a very thin book for more than half a year. It is test-driven development by example, probably because I do not understand Java, I don't think it's boring. Recently, to try to write the example in C, we need a testing framework (in fact, the second part of this book is to demonstrate how to write xunit) and download gtest and cmockry, ho
All my descriptions of FP are implemented using the Python testing framework. But the most important feature-probably the most useful feature in a specific situation-is that it eliminates side effects or at least has some restraining effect on some special fields, such as a single body ).
The vast majority of program errors-and issues that lead programmers to turn to debugging for solutions-occur because va
Shell script automated testing framework, shellscript
Development background of shUnit2
ShUnit2 is developed based on the log4sh SHELL automated testing. It is used in a similar way as JUnit.
Preparation
1. Download shUnit2
Wget-P ~ /Download http://shunit2.googlecode.com/files/shunit2-2.1.6.tgz
2.Extract
tar -xzvf ~/download/shunit2-2.1.6.tgz
3. Execute Test Cas
In fact, the solution mentioned below is not only applicable to projects where Ef is applied, but also for tests involving data access.
Do not post the original text link first:
(1) http://graemehill.ca/unit-testing-an-entity-framework-data-access-layer-part-1-just-hit-the-database
Http://graemehill.ca/unit-testing-an-entity-
The following is an example of a Python-based interface testing framework. I think this is quite good. now I will share it with you and give you a reference. Let's take a look at it with Xiaobian.
Background
Recently, when the company is pushing messages, many interfaces will naturally be generated. during the test, the interface needs to be called. I suddenly felt that I could write a test
After more than a year of front-end work, I have never carefully written a unit test. I have made a serious study and summary of the various frameworks that I often say cannot be completely divided.Unit Test Framework: mocha, Jasmine, etc. Because the test framework does not contain the assertions library, you need to introduce the assertions library. Jasmine has assertions (not used ).Assert, shouldjs, and
Summary:Web automation is inseparable from selenium, of course, the robot framework is the same, combined with selenium, need to install: Pip install Selenium2library, accustomed to coded write web automation, robot The framework's tool for keyword automation is also OK, making testing easier.Body:1. Element positioning:1.1 ID or name locator1.2 XPath positioning1, the absolute path of XPath:Xpath =/html/bo
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.