WinRunner Tutorial

GUI Map File

GUI Map File In win runner, if you run a test without loading thee corresponding GUI map file,GUI Map File generates an error as it fails to identify the controls used in the test cases. For example, suppose you have recorded a test for inverse function for the calculator application and forgot to save its GUI map file. When you …

GUI Map File Read More »

Adding GUI objects to the GUI Map

If you’re application contains some new objects, you can add them to the GUI map without running the rapid test script wizard again. You simply use the learn button in the GUI map editor to learn descriptions of the objects. You can learn the description of a single object or all the objects in a window. Open the flight reservation login window. …

Adding GUI objects to the GUI Map Read More »

Checking GUI objects

  Checking GUI objects When working with an application, you can determine whether it is functioning properly according to the behavior of GUI objects. If a GUI object does not respond to input as expected, a defect probably exists somewhere in application’s code. You check GUI objects by GUI checkpoints. A GUI checkpointexamines the behavior of an …

Checking GUI objects Read More »

Adding GUI checkpoints to a test script

An example of adding GUI checkpoints to test script: Start win runner and open a new test. Choose PROGRAMS>WIN RUNNER on start menu. Click NEW TEST button. Start the flight reservation application and log in. Choose PROGRAMS>WIN RUNNER>SAMPLE APPLICATION>FLIGHT 1A on the start menu. Then write your name and password in login window and click ok button. Start recording in context sensitive mode. Choose CREATE>RECORDING or click record button. Open the order dialog box. Choose FILE>OPEN ORDER in the flight reservation …

Adding GUI checkpoints to a test script Read More »

Bitmap checkpoint

Bitmap checkpoint If your application contains Bitmap checkpoint areas, such as Bitmap checkpoint drawings of graphs you can check these areas using a bitmap checkpoint. A bitmap checkpoint compares captured bitmap images pixel by pixel. Win runner captures a bitmap image and saves it as expected results. When you run the test, win runner compares …

Bitmap checkpoint Read More »

Why test failed?

Rapid test wizard does not provide statements in the test script for closing the windows. In the preceding example, win runner opened ‘about calculator’ dialog and without closing the ‘about calculator’ dialog, it is trying to set focus to the ‘calculator’ window and as a result test fails. To overcome this, manually you need to close the previous …

Why test failed? Read More »

Recording a Basic test script

Start win runner and open a new test. Choose PROGRAMS>WIN RUNNER on Start menu. Click NEW TEST button. Start the flight reservation application and log in. Choose PROGRAMS>WIN RUNNER>SAMPLE APPLICATION>FLIGHT 1A on the start menu. Then write your name and password in login window and click OK button Start recording in context sensitive mode. Choose CREATE>RECORDING or click Record button. Open order In the flight reservation application, choose FILE>OPEN ORDER. In open order dialog box, select the order no. …

Recording a Basic test script Read More »

Scroll to Top