Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the commonly used automated testing tools?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

What are the commonly used automated testing tools? I believe most people do not know, today, in order to give you a better understanding of the commonly used automated testing tools, to sum up the following, follow the editor to have a look.

Business tools:

1 、 RFT

Rational Functional Tester is based on object technology for Java and .NET, and recording and playback capabilities for Web-based applications. Tools provide automated assistance for testers' activities, such as data-driven testing.

IBM RFT is a data-driven test platform for functional and regression testing. It supports a wide range of applications, such as .net, Java, SAP, Flex and Ajax. RFT uses Visual Basic. Net and Java serve as scripting languages. RFT has a unique feature called Storyboard testing, where the user's actions are recorded and visualized in Storyboard format by applying screenshots.

Another interesting feature of RFT is its integration with IBM Jazz application lifecycle management systems such as IBM Rational Team Concert and Rational Quality Manager.

2 、 kylinTOP:

This is a domestic automated testing tool, which supports the automated testing of WEB and APP, in which the intelligent positioning of elements is the main feature of this automated software. It is a testing tool with advanced design concept, and it is a more outstanding one among many automated testing tools in China. Compared with the traditional RFT and UFT, it does have some advantages. It can be regarded as a rising star. It is simple, efficient and stable to use. It is estimated that few people can understand this description. To put it bluntly, one person can do the work of three people, and the user only needs to pay attention to the business.

Official website: http://www.70testing.com

3 、 UFT:

UFT (alias: QuickTest Professional referred to as QTP) is an automated testing tool, with VBScirpt as the embedded language, its predecessor is QTP. UFT supports functional testing and regression test automation and can be used for testing software applications and environments. The basic functions of UFT automated testing include: creating tests, verifying data, enhancing tests, running test scripts, analyzing test results, and maintaining tests; UFT supports two views, one is Keyword View (keyword view), the other is Expert View (expert view). It is an old automated testing tool.

4 、 SilkTest:

This is also a relatively famous tool, but I still don't know about it. For commercial tools, because they occupy a large area and have to solve problems, the most important thing is that fewer companies are used, so I have only used QTP, but I haven't known anything else.

Open source tools:

1 、 Selenium:

This should be known to most people, and is now the testing framework used by most Internet companies; selenium only supports web's UI-level testing, but its advantages are:

Support for writing test scripts in multiple languages, such as java, python, ruby, perl, etc., which means that there are many supporting class libraries.

B. Support multiple browsers, such as ie,ff,safari, chrome, etc.

C. Support multiple platforms, such as windows, linux, MAC, android, iphone, etc.

D. Support distributed execution. A set of test cases can be distributed to different test machines for execution at the same time, and tasks can be refined. For example, only use cases that need to be executed under linux are assigned to the liunx execution system.

In addition, there is also recording tool support, to put it simply, web class testing is basically the first choice, but the support for flash does not seem to be very good

It is mainly divided into two versions, version 1.x is automated with js driver; 2.x redevelops webdriver instead of js driver and directly calls the underlying browser interface to complete the automation.

Prerequisite: if you use the remote or RC function, you need to install jre

Download address: http://seleniumhq.org/download/

2 、 EFT [easy function testing]:

This is a dll file encapsulated on the UIAutomatuon of .net3.0, as well as part of the windows api to implement mouse and keyboard events. So this can only be called a test class library, and only supports windows programs, and also supports the testing of WPF programs supported by uiautomain.

Prerequisite: install. Net3.0

Use: introduce this file to write test cases in uiautomation-related dll,VS environment

3 、 UIAutomation:

This is the UI automation framework provided by Microsoft, of course, its original intention is not only for automated testing, its task is for more developers or applications to call windows's UI controls, but it can still be used for automated testing. Because Microsoft has similar tools before, and this is a redesigned ui operation class framework, which is designed to be compatible with UI automation operations [xp,vista,server2003] that support windows operating systems, and natural support for WPF. Of course, its design is different from the usual automation tools, for example, it does not bind the methods supported by the control to the control object itself, and does not provide special mouse / keyboard events. however, it provides event response listening for specific control objects and customization of handling methods. The workflow goes something like this:

There are many ways to get a specific element object first. For example, handle, attribute value

B. get the schema of this element object. Pattern is the unique feature of the design of this framework, which achieves its flexibility and unity.

C, through this mode to make specific method calls, attribute value acquisition and so on.

D. Listen for specific events of the specified object, and execute the specified event handling function once it occurs.

4 、 Robot Framework

Robot Framework is a test-driven framework based entirely on keywords. It can import the test library you need based on its rules (for example, it integrates selenium test library, that is, it can be understood as the test underlying library for operating web controls), and then based on these test libraries, you can use HTML, TXT and other document forms to write your own keywords (these keywords are your library components). Then write test cases (test cases are composed of test keywords) for testing. For example: a simple login test consists of: login + enter password + logout three keywords, can also be composed of a keyword login, keyword particle size can be customized.

Summary

Finally, there is practical information, to master and understand why such tools can not always be for fun, but in order to support strategy formulation in the future automation implementation process; for example, a new test project needs to be automated, so what points need to be considered? Which tools are used and which tools can be used as alternatives? Then naturally, we should have a preliminary understanding of the commonly used automatic chemical industry, and also have a certain grasp of other elements that affect the automation process, but we can skip it here, just talking about the choice of tool-related factors. Generally speaking, it can be divided into following considerations:

1. Consider the type of product under test, such as the tools that support some kind of functional testing, such as Bax SMagazine, CCharpy SMagna, web service,SOAP,SDK or API; filtering.

2. Considering whether recording is supported or not, recording can greatly improve the efficiency of development.

3. Considering the price of tools, open source or free products are usually preferred.

4. Considering the extensibility of tools, it is possible that some tools can support the current business requirements, but if the requirements change in the future, is there a good scalability to support the new features of the products under test, such as flex,flash,wpf, etc.

5. Consider the support of the tools, that is, the features of later upgrades and version updates, and do not choose tools that will no longer be supported.

6. consider the universality of the tool, that is, the popularity of the tool outside, so that it is easy to recruit people in the future, and there are problems and more active communities to turn to.

7. Consider the maturity of the tool, that is, the tool cannot still be in the beta version, and a more stable version is required, and it is estimated that there will be no change of large versions for a long time.

8. Consider the developability of the tool, that is, whether the tool provides a plug-in interface for customizing its own basic class library and identification mechanism.

9. Consider the ease of use of the tool, that is, whether there is strong background support, such as windows, .net, java class library support.

10. Consider the adaptability of the tool, that is, whether it is easy to be encapsulated and can be easily embedded or introduced into other frameworks, for example, functional frameworks are introduced into the execution framework.

11. Consider the pertinence of the tools, that is, if there are special targeted tools to choose from, they are naturally much more applicable than those with strong comprehensiveness.

The above is a detailed introduction of commonly used automated testing tools, including commercial tools and open source tools. Is there anything to gain after reading it? If you want to know more about it, you are welcome to follow the industry information!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report