官术网_书友最值得收藏!

Chapter 2. Automating Functional Tests

You have been recently working on an application as part of the Quality Control team. It's been a month since the project has started where as quality control engineers you work with have been designing and generating test cases. The project test leader calls the team for an urgent meeting early in the morning.

"Test case coverage is low and the manual testers' effort in regression testing is insufficient knowing the degradation impact from developers' bug fixes. Testing is falling behind" says the team leader.

Two hours of discussion went on before a decision was taken. Automation seems to be the solution to the problem at hand and knowing your usual high commitment and performance, you are going to be part of the team carrying out this task. All the attendees already knew that lots of factors related to the problem at hand are working against the team's benefit: the lack of knowledge in automation and the tool technology, the time constraint to meet the release deadline along with the frequent project requirement changes. So, the first reaction you welcome the news with is complete panic.

As a solution to the preceding problem, Test Studio, a test automation tool, is adopted to organize testing, increase coverage, and enhance the accuracy of execution. In principle, part of the manual test repository is going to be converted into autonomously executing scripts. These scripts should take over mechanical human tasks distinguished by their repetitiveness or need for intricate calculations. Knowing that the resulting automated scripts are characterized by their speed of execution, precision, and consistency, automation will in the long run achieve substantial time saving considered as a risk related to the application's success.

Test Studio enables a rich toolkit to proficiently automate the procedures of the manual test cases. Its features comprise UI recording, logic insertion, specialized verification, and other test development functionalities that require no coding; however, optionally, Test Studio's test automation library can be invoked to perform further functions through the addition of customized coded steps within the recorded test.

In the execution phase, the test's reliability is derived from Test Studio's advanced UI object recognition. Being a tool that identifies target UI controls based on their nature rather than their coordinates, the scripts can be repetitively replayed while excluding the possibility of an object misidentification failure.

Based on these given reasons, by the end of this chapter, you would have learned how to realize the following tasks with Test Studio:

  • Proper test repository design
  • Functional test automation and verification
  • Proper automated test case design
  • Test execution
  • Failures debug
  • Visual Studio integration
主站蜘蛛池模板: 临汾市| 赣榆县| 资兴市| 黑龙江省| 子长县| 三门县| 会泽县| 仁怀市| 丰城市| 繁峙县| 津市市| 新安县| 大荔县| 双流县| 武义县| 长春市| 灵台县| 中阳县| 十堰市| 安仁县| 宜黄县| 正宁县| 武陟县| 临漳县| 宣城市| 襄城县| 社旗县| 建始县| 潮安县| 师宗县| 南宁市| 桓台县| 呈贡县| 宜丰县| 乌拉特后旗| 隆回县| 枣强县| 湟中县| 丹江口市| 交口县| 四川省|