Sunday, March 18, 2007

Winrunner Question 26: How do you record a Data Driven Test?

We can create a Data Driven Test through Flat Files, Data Tables, and Database.

Winrunner Question 27: How do you clear a GUI map files?

We can clear the GUI map files through “CLEAR ALL” option.

Winrunner Question 28: What are the steps of creating a Data Driven Test?

Data Driven Testing have four steps-

  • Creating test
  • Converting into Data Driven Test
  • Run Test
  • Analyze test

Winrunner Question 29: What’s the extension of GUI map files?

GUI map files extension is “.gui”.

Winrunner Question 30: What statement generated by WinRunner when you check any objects?

Obj_check_gui statement.

Winrunner Question 31: What statement generated by WinRunner when you check any windows?

Win_check_gui statement

Winrunner Question 32: What statement generated by WinRunner when you check any bitmap image over the objects?

Obj_check_bitmap statement

Winrunner Question 33: What statement generated by WinRunner when you check any bitmap image over the windows?

Win_check_bitmap statement

Winrunner Question 34: What statement used by WinRunner in Batch Testing?

“Call” statement.

Winrunner Question 35: Which short key is used to freeze the GUI Spy?


Winrunner Question 36: How many types of parameter used by WinRunner?

WinRunner provides three types of Parameter-

  • Test
  • Data Driven
  • Dynamic

Winrunner Question 37: How many types of Merging used by WinRunner?

WinRunner used two types of Merging-

  • Auto
  • Manual

Winrunner Question 38: What’s the Virtual Objects Wizard?

Whenever WinRunner is not able to read an objects as an objects then it uses the Virtual Objects Wizard.

Winrunner Question 39: How do you handle unexpected events and errors?

WinRunner uses the Exception Handling function to handle unexpected events and errors.

Winrunner Question 40: How do you comment your script?

We comment script or line of the script by inserting “#” at the beginning of script line.

Winrunner Question 41: What’s the purpose of the Set_Windows command?

Set_Window command set the focus to the specified windows.

Winrunner Question 42: How you created your test script?


Winrunner Question 43: What’s a command to invoke application?


Winrunner Question 44: What do you mean by the logical name of objects?

Logical name of an objects is determined by it’s class but in most cases, the logical name is the label that appear on an objects.

Winrunner Question 45: How many types of GUI checkpoints?

In Winrunner, three types of GUI checkpoints-

  • For Single Properties
  • For Objects/Windows
  • For Multiple Objects

Winrunner Question 46: How many types of Bitmap Checkpoints?

In Winrunner, two types of Bitmap Checkpoints-

  • For Objects/Windows
  • For Screen Area

Winrunner Question 47: How many types of Database Checkpoints?

In Winrunner, three types of Database Checkpoints-

  • Default Check
  • Custom Check
  • Runtime Record Check

Winrunner Question 48: How many types of Text Checkpoints?

In Winrunner, four types of Text Checkpoints-

  • For Objects/Windows
  • From Screen Area
  • From Selection (Web Only)
  • Web text Checkpoints


* Winrunner generates menu_select_item statement whenever you select any menu items.

* Winrunner generates set_window statement whenever you begin working in new window.

* Winrunner generates edit_set statement whenever you enter keyboard inputs.

* Winrunner generates obj_mouse_click statement whenever you click any object through mouse pointer.

* Winrunner generates obj_wait_bitmap or win_wait_bitmap statements whenever you synchronize the script through objects or windows.

* The ddt_open statement opens the table.

* The ddt_close statement closes the table.

* Winrunner inserts a win_get_text or obj_get_text statements in script for checking the text.

* The button_press statement press the buttons.

* Winrunner generates list_item_select statement whenever you want to select any value in drop-down menu.

* We can compare the two files in Winruuner using the file_compare function.

* tl_step statement used to determine whether section of a test pass or fail.

* Call_Close statement close the test when the test is completed


Post a Comment

Subscribe to Post Comments [Atom]

<< Home