Rapid Test Script Wizard - Testing Tools

The Rapid test script wizard is the fastest way of performing the test process. It systematically opens up all the windows in the application, stores the learnt information in the GUI Map file and generates the test cases based on the information learnt from the application. It is possible to apply these tests only on those applications, which open windows upon performing some task (like clicking a button, selecting the menu item etc). Let us apply this wizard on the Calculator application whose GUI is shown in Figure.

Rapid Test Script Wizard

Rapid Test Script Wizard

Rapid Test Script Wizard

Rapid Test Script Wizard

Rapid Test Script Wizard

Rapid Test Script Wizard

Rapid Test Script Wizard

Rapid Test Script Wizard

Rapid Test Script Wizard

Why the test failed?

RapidTest script wizard does not provide statements in the test script for closing the windows. In the preceding example, WinRunner opened the "About Calculator" dialog and without closing the "About Calculator" dialog, it is trying to set focus to the "Calculator" window and as a result the test fails as shown in Figure.

Why the test failed?

To overcome this, manually you need to close the previous window before trying to open the next window. To close the "About Calculator" window before setting the focus onto "Calculator", insert the following statement win close C' About Calculator");

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Testing Tools Topics