45,000 Jobs - Get an Interview Call,  Post Your Resume Here
SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




interview Q&A asked in winrunner

        

Reply
 
LinkBack Thread Tools Display Modes
Old 18-03-06, 03:17 AM   #1 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute



11) How you integrated your automated scripts from TestDirector?[/b]


a. When you work with WinRunner, you can
choose to save your tests directly to your TestDirector database or while
creating a test case in the TestDirector we can specify whether the script is
automated or manual. And if it is automated script then TestDirector will build
a skeleton for the script that can be later modified into one which could be
used to test the AUT.





12) What are the different modes of recording?[/b]


a. There are two type of recording in
WinRunner.


i. Context
Sensitive recording [/b]records the operations you perform on your application
by identifying Graphical User Interface (GUI) objects.


ii.
Analog recording[/b] records keyboard
input, mouse clicks, and the precise x- and y-coordinates traveled by the mouse
pointer across the screen.


Edited by: spoorthi

Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 18-03-06, 03:17 AM   #2 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


13) What is the purpose of loading WinRunner Add-Ins?[/b]


a. Add-Ins are used in WinRunner to load
functions specific to the particular add-in to the memory. While creating a
script only those functions in the add-in selected will be listed in the
function generator and while executing the script only those functions in the
loaded add-in will be executed else WinRunner will give an error message saying
it does not recognize the function.





14) What are the reasons that WinRunner fails to identify an object on
the GUI?[/b]


a. WinRunner fails to identify an object in a
GUI due to various reasons.


i. The object is not a standard windows object.


ii.
If the browser used is not compatible with the WinRunner version, GUI Map
Editor will not be able to learn any of the objects displayed in the browser
window.


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 18-03-06, 03:18 AM   #3 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


15) What do you mean by the logical name of the object.[/b]


a. An object’s logical name is determined by its
class. In most cases, the logical name is the label that appears on an object.





16) If the object does not have a name then what will be the logical
name?[/b]


a. If the object does not have a name then the
logical name could be the attached text.


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 18-03-06, 03:19 AM   #4 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


17) What is the different between GUI map and GUI map files?[/b]


a. The GUI map is actually the sum of one or
more GUI map files. There are two modes for organizing GUI map files.


i. Global
GUI Map file :[/b] A single GUI
Map file for the entire application


ii. GUI
Map File per Test : [/b]WinRunner automatically creates a GUI Map file for each
test created.


b. GUI Map file is a file which contains the
windows and the objects learned by the WinRunner with its logical name and
their physical description.





18) How do you view the contents of the GUI map?[/b]


a. GUI Map editor displays the content of a
GUI Map. We can invoke GUI Map Editor from the Tools Menu in WinRunner. The GUI
Map Editor displays the various GUI Map files created and the windows and
objects learned in to them with their logical name and physical description.


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 18-03-06, 03:21 AM   #5 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


19) When you create GUI map do you record all the objects of specific
objects?[/b]


a. If we are
learning a window then WinRunner automatically learns all the objects in the
window else we will be identifying those object, which are to be learned in a
window, since we will be working with only those objects while creating
scripts.





20) What is the purpose of set_window command?[/b]


a. Set_Window command sets the focus to the
specified window. We use this command to set the focus to the required window
before executing tests on a particular window.





Syntax[/b]:
set_window(<logical name>, time);[/i]


The logical name is the
logical name of the window and time is the time the execution has to wait till
it gets the given window into focus.


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 18-03-06, 03:26 AM   #6 (permalink)
Super Moderator
 
sk_kireeti's Avatar
 
Join Date: Feb 2006
Posts: 2,379
Blog Entries: 4
Thanks: 118
Thanked 319 Times in 238 Posts
Rep Power: 60 sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute

Your collection on testing looks to be huge....

I will read all these before going for my next interview and I think I don't have to read anything else.

Keep posting...

Thanks,
Krishna

Edited by: sk_kireeti
sk_kireeti is offline Offline   Reply With Quote
Old 18-03-06, 01:39 PM   #7 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute





21) How do you load GUI map?[/b]


a. We can load a GUI Map by using the GUI_load
command.





Syntax: [/b]GUI_load(<file_name>);[/i]





22) What is the disadvantage of loading the GUI maps through start up
scripts?[/b]


a. If we are using a single GUI Map file for the
entire AUT then the memory used by the GUI Map may be much high.


b. If there is any change in the object being
learned then WinRunner will not be able to recognize the object, as it is not
in the GUI Map file loaded in the memory. So we will have to learn the object
again and update the GUI File and reload it.


[/b]


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 18-03-06, 01:40 PM   #8 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


23) How do you unload the GUI map?[/b]


a. We can use GUI_close to unload a specific GUI
Map file or else we call use GUI_close_all command to unload all the GUI Map
files loaded in the memory.





Syntax: [/b]GUI_close(<file_name>);
or GUI_close_all;[/i]


[/b]


24) What actually happens when you load GUI map?[/b]


a. When we load a GUI Map file, the
information about the windows and the objects with their logical names and
physical description are loaded into memory. So when the WinRunner executes a
script on a particular window, it can identify the objects using this
information loaded in the memory.


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 18-03-06, 01:41 PM   #9 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


25) What is the purpose of the temp GUI map file?[/b]


a. While
recording a script, WinRunner learns objects and windows by itself. This is
actually stored into the temporary GUI Map file. We can specify whether we have
to load this temporary GUI Map file each time in the General Options.





26) What is the extension of gui map file?[/b]


a. The extension for a GUI Map file is “.gui”.





Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 18-03-06, 01:42 PM   #10 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


27) How do you find an object in an GUI map. [/b]OR[/b]


28) What different actions are performed by find and show button?[/b]


[/b]


a. The GUI Map Editor is been provided with Find [/b]and Show[/b] Buttons.


i. To find a particular object in the GUI Map file
in the application, select the object and click the Show[/b] window. This blinks the selected object.


ii.
To find a particular object in a GUI Map file click the Find[/b] button, which gives the option to select the object. When the
object is selected, if the object has been learned to the GUI Map file it will
be focused in the GUI Map file.


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 18-03-06, 01:43 PM   #11 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


29) How do you identify which files are loaded in the GUI map?[/b]


a. The GUI Map Editor has a drop down “GUI File[/b]” displaying all the GUI Map
files loaded into the memory.


30) How do you modify the logical name or the physical description of
the objects in GUI map?[/b]


a. You can modify the logical name or the
physical description of an object in a GUI map file using the GUI Map Editor.





Spoorthi is offline Offline   Reply With Quote
Old 19-03-06, 04:31 AM   #12 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


31) When do you feel you need to modify the logical name?[/b]


a. Changing the logical name of an object is
useful when the assigned logical name is not sufficiently descriptive or is too
long.





32) When it is appropriate to change physical description?[/b]


a. Changing the physical description is
necessary when the property value of an object changes.


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 19-03-06, 04:33 AM   #13 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


33) How WinRunner handles varying window labels? [/b]OR


34) What is the purpose of regexp_label property and regexp_MSW_class
property?[/b]


[/b]


a. We can handle varying window labels using regular expressions. [/b]WinRunner uses two “hidden” properties
in order to use regular expression in an object’s physical description. These
properties are regexp_label[/b] and regexp_MSW_class[/b].


i. The regexp_label[/b]
property is used for windows only. It operates “behind the scenes” to insert a
regular expression into a window’s label description.


ii.
The regexp_MSW_class[/b] property
inserts a regular expression into an object’s MSW_class[/b]. It is obligatory for all types of windows and for the
object class object.


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 19-03-06, 04:35 AM   #14 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


35) How do you suppress a regular expression?[/b]


a. We can suppress the regular expression of a
window by replacing the regexp_label [/b]property
with label[/b] property.





36) How do you copy and move objects between different GUI map files?[/b]


a. We can copy and move objects between
different GUI Map files using the GUI Map Editor. The steps to be followed are:


i.
Choose Tools > GUI Map Editor[/b]
to open the GUI Map Editor.


ii. Choose View
> GUI Files[/b].


iii. Click Expand[/b]
in the GUI Map Editor[/b]. The dialog
box expands to display two GUI map files simultaneously.


iv.
View a different GUI map file on each
side of the dialog box by clicking the file names in the GUI File lists.


v.
In one file, select the objects you want
to copy or move. Use the Shift key
and/or Control key to select multiple objects[/b]. To select all objects in a
GUI map file, choose Edit > Select
All[/b].


vi. Click Copy
or Move[/b].


vii. To restore the GUI Map Editor to its original
size, click Collapse[/b].





Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 19-03-06, 04:36 AM   #15 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


37) How do you select multiple objects during merging the files?[/b]


a. Use the Shift
key and/or Control key to select multiple objects[/b]. To select all objects in
a GUI map file, choose Edit > Select
All[/b].





38) How do you clear a GUI map files?[/b]


a. We can clear a GUI Map file using the “Clear All[/b]” option in the GUI Map
Editor.


Spoorthi is offline Offline   Reply With Quote
The Following 2 Users Say Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08), mvithiyadharan (25-07-08)
Reply

Tags
asked , interview , qanda , winrunner


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +6.5. The time now is 09:36 AM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0