"Reprint" How to learn automated testing?

Source: Internet
Author: User

Du Liang
Links: https://www.zhihu.com/question/22211535/answer/104944296
Source: Know

The first is the positioning, automation also has a lot of direction of the Web, interface, APP, different directions to master the skill points are not the same, very few open source tools to solve all types of automation, and a single-minded solution of one type of automation tools is relatively simple function, need to integrate other tools to complete the final daily build. Here are three types of automation:

The hottest app automation
With the boom of mobile startups, app practitioners payapp TestThis emerging branch of automation is booming. The app platform has many, Andorid, the iOS market share highest, the small crowd also has the Winphone (later will be WIN10 eliminated), the BlackBerry, the Firefox. The highest market is also the biggest demand, choose Android or iOS depends on your interest, programming language, API Library, operating environment almost no intersection, but the starting point is the same, is to write a platform under the app. The purpose of writing is very simple, without understanding the premise of HTML can sit good Web automation? The app is also made up of a variety of native elements, only used to know how to locate, get its attributes, and so on. But for the novice, to do a good job of the application Automation test threshold is relatively high, from the zero basis to the test framework to run, the middle of the front line will drag the long, not enough perseverance and energy is difficult to persist, but do a good value added is also very high.

established interface Automation
In three types of automated tests, interface testing is the most cost-effective, whether in terms of manpower, financial input or rate of return. Unfortunately, so far I have found a suitable open source tool to solve all the requirements required for interface automation, for example, I need to verify the key value in Redis or memcache cache, the requirement is to write the library adaptation framework. However, like bat these have the accumulation of large companies, there are internal tools to solve all of these needs, you have to do is to learn this tool, and then use the mastery of it. Self-taught words, recommended robotframework, there are two HTTP Library, any choice.

the declining web Automation
About 09, mention automation will mention QTP, as the supremacy of automation field, but later things we all know. The biggest problem with Web Automation is the high cost of writing and maintaining, and if you debug a dozens of-layer nested front-end frame, you'll understand that even locating an element becomes very difficult, and the cost of maintaining it is that Web automation, when it comes to a stable version, can make the whole team die ugly. And when the version is stable after the web is the least prone to problems, the premise is the security of the interface automation. So choose web Automation Company My understanding is either bothered or not short of money. But the gap of web automation is also very large, the small partners do not be intimidated by my personal understanding, a proficient Selenium test engineer is an IT company looting steamed bun incense.

"Reprint" How to learn automated testing?

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.