• +91 9723535972
  • info@interviewmaterial.com

Win Runner Interview Questions and Answers

Win Runner Interview Questions and Answers

Question - 21 : - Explain the use of the set_window command

Answer - 21 : -

Set_window is used to set the focus on any window. This command is used to place focus on the specified window before implementing any test scripts. 

Syntax: 

set_window (, )

Question - 22 : - Describe few scenarios where WinRunner cannot identify GUI Objects.

Answer - 22 : -

There can be few cases where WinRunner won’t be able to identify GUI objects.

  • If the object is not standards windows object.
  • If the browser is not supported by the WinRunner version.

Question - 23 : - What does it mean by the logical name of any object?

Answer - 23 : -

The logical name of any object is nothing but the text label of that object. This makes the code easily understandable and readable.

Question - 24 : - Specify drawbacks of loading GUI Map files using Startup scripts.

Answer - 24 : -

Below are the drawbacks of loading GUI Map files using startup scripts.

  • In the case of a single GUI Map file for the entire application, memory usage by GUI map will be much higher
  • In case of any missing object is already loaded GUI Map file, we need to update the GUI file and reload it. So it is time-consuming as well.

Question - 25 : - In case of a missing object label, what can be the logical name of that GUI object

Answer - 25 : -

If the object doesn’t have any label/text, then the attached text would be the logical name of that object.

Question - 26 : - Explain different Recording modes.

Answer - 26 : -

WinRunner provides two ways of recording.

  • Context-Sensitive Recording: In this type of recording, all the interactions performed by GUI objects in the application are recorded.
  • Analog Recording: In this type of recording, mouse clicks, keyboard inputs, and the x,y coordinates traversed by the mouse in the screen are recorded.

Question - 27 : - Is it possible to edit the logical name of any object? If yes, then How?

Answer - 27 : -

Logical names are generally given by WinRunner. They are usually text labels of that object. But if one wishes to change the logical name of any object, then yes it is possible to do so by using GUI Map editor.

Question - 28 : - Tell me the extension of the GUI Map file.

Answer - 28 : -

GUI Map File’s extension is - “.gui”.

Question - 29 : - What is GUI Spy?

Answer - 29 : -

GUI Spy enables us to view all the properties of any GUI object. As soon as the spy pointer points to any object, GUI Spy displays all the properties and values related to that object in the GUI Spy dialog box. However, we can filter to see all or selected sets of properties in the dialog box. 

Question - 30 : - Differentiate between GUI Map and GUI Map Files.

Answer - 30 : -

GUI Map file is a file containing all GUI objects used in the application with their logical names and physical description.

GUI Map is a collection of all GUI Map files.


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners