iopsys.blogg.se

Winrunner testing tool tutorial
Winrunner testing tool tutorial










winrunner testing tool tutorial

The symbols on the buttons of Calculator application represent the following functions: The GUI of the "Calculator" application is shown in Fig.

#WINRUNNER TESTING TOOL TUTORIAL WINDOWS#

WinRunner executes the generated script and displays the results in the Test Results window.We will now illustrate using WinRunner to test the "Standard Calculator" application available on your Windows system.You can invoke the calculator application from the desktop Start -> Programs -> Accessories -> Calculator. Run -> Run from top (or) press F5 to run the test. Step 1: Open the test script to be executed. The procedure for running a test case is as follows: Step 2: Close all the opened GUI Map files

winrunner testing tool tutorial

The procedure for loading the GUI map file is as follows: Step 3: On selecting the GUI Map Editor.The screen as shown in figure is displayedĪ File dialog appears and you need to enter the filename. Step 2: Open the GUI Map Editor window as shown in Fig. Step 1: Record a test case by following the preceding procedure. The procedure for saving the GUI map file in Global GUI map file mode is as follows: It is always preferred to work in Global GUI map file mode. In GUI map file per test mode, WinRunner automatically saves the information it.When you have to run a test, you need to load the corresponding GUI map file otherwise it will not be able to recognize the objects in the test case and displays an error message. WinRunner saves it in a file with extension "gui". In Global GUI map file mode, you have to explicitly save the information learnt by.By default, it is in "Global GUI map file mode". There are two modes for generating the test cases: "Global GUI map file mode" and "GUI map file per test mode". Step 6: Once all required actions are recorded, stop the recording.Ĭreate -> Stop (or) Click on the toolbar's "Stop" button to stop the recording WinRunner generates the script for the recoded actions.

winrunner testing tool tutorial

Step 5: Perform all the actions to be recorded. Step 4: Select the application to be tested by clicking on the application's title bar. Step 2: Open (run) the application to be tested.Ĭreate ->Record - Context Sensitive (or) click on the toolbar's "Record" button once, to record in Context Sensitive mode. Step 1: Open a new document: File -> New (or) Select "New Test" The procedure for recording a test case is as follows: This mode of recording has to be used to validate bitmaps, testing the signature etc. Analog mode: This mode of recording is used when the mouse positions, the location of the controls in the application, also play an important role in testing the application.

winrunner testing tool tutorial

X and Y coordinates) or the mouse positions are not necessary.

  • Context Sensitive mode: This mode of recording is used when the location of the GUI controls (i.e.
  • The test results will show whether the test has passed or failed. You can run this test script generated by WinRunner to view the results. Once the recording is completed, WinRunner generates a script in TSL (Test Script Language). You need to work with the application as usual and perform all the actions to be tested. During the recording mode, WinRunner will capture all your actions, which button you pressed, where you clicked the mouse etc. Then, you can invoke WinRunner, again run the application and record the GUI operations. To test any application, first you can run the application and understand its operation.
  • Quick Preview: To view the quick preview of WinRunner.
  • Open Test: To open an existing test script.
  • The opening screen of the WinRunner application is displayed, prompting you to select one of the three options:
  • Start -> Programs ->WinRunner ->WinRunner.
  • After installing the WinRunner on your computer, invoke the WinRunner application:












    Winrunner testing tool tutorial