Thursday, December 28, 2006

What is Test Scripts?

The Test Scripts is nothing but the statements in Mercury Interactive’s Test Script Language (TSL). In test window these statements show as a test script, the recorded test scripts can be enhanced by adding some TSL functions and programs or using the Winrunner visual programming tool, that’s the Function Generator.

How the Test results are evaluated in WinRunner ?

At the end of every test run, the test results are displayed in a report in Winrunner. The details of the report contains all the main events took place through the run like error messages, user messages, system messages or checkpoints. The mismatches found at Checkpoints during the test run can be viewed in the Test results window with Expected results and Actual results.

Thursday, December 14, 2006

Explain the use of GUI Map? What are the two types of GUI map files?

The GUI map is mainly used to store the information it learned about a particular window or an object. When running the test in Winrunner, the GUI map is b used to identify the objects. It first reads the description of a object and searches for an with the same description or properties.

The two types of GUI map files, they are,

Global GUI Map file: a single GUI map file is used for the entire application.

GUI Map File per Test: a GUI Map file is automatically created by Winrunner for each test created.

What is Synchronization point? Why it is being added in testing an application?

Synchronization points helps to solve the expected timing problems between your application and the test. For a database application test, the synchronization point can be added which makes the test to wait until that particular database records get loaded on the screen.

Wednesday, December 06, 2006

What is meant by Checkpoints? What are the types of Check points?

Checkpoints is used to compare the current behavior of the application being tested to its behavior in an earlier version.

Four types of checkpoints can be added to test scripts, they are,

GUI checkpoints verify information about GUI objects. Ex, you can check that a button is enabled or see which item is selected in a list.

Bitmap checkpoints take a “snapshot” of a window or area of your application and compare this to an image captured in an earlier version.

Text checkpoints read text in GUI objects and in bitmaps and enable you to verify their contents.

Database checkpoints check the contents and the number of rows and columns of a result set, which is based on a query you create on your database.

Tuesday, December 05, 2006

Explain how the WinRunner recognizes objects on applications?

GUI Map file is mainly used to recognize the objects on applications. During the process of running a test through winrunner, it uses the GUI map to identify the objects. It reads a particular object’s description in the GUI map and then looks for an object with the same properties in the application being tested.

Explain the stages in Winrunner Testing Process

There are six main stages in Winrunner Testing Process, they are,

GUI Map File Creation: By creating GUI Map file the WinRunner can identify the GUI objects in the application going to be tested.

Test scripts Creation: This process involves recording, programming or both. During the process of recording tests, insert checkpoints where the response of the application need to be tested.

Debug Test: Run the tests in Debug mode to make sure whether they run smoothly.

Run Tests: Run tests in Verify mode to test the application.

View Results: This determines the success or failure of the tests.

Report Defects: If a particular test run fails due to the defect in the application being tested, defects can be directly reported through the Test Results window.

What are the different type of recording available with Winrunner ?

Context Sensitive Recording – This records the operation we perform on the application by identifying the Graphical User Interface.

Analog mode Recording – This records the keyboard input and the Mouse movements.