| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#1 (permalink) |
|
Super Moderator
Join Date: Mar 2006
Posts: 4,803
Thanks: 9 Thanked 609 Times in 478 Posts Thanks: 9
Thanked 609 Times in 478 Posts
Blog Entries: 2
Rep Power: 99
|
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 |
|
|
|
| The Following User Says Thank You to Spoorthi For This Useful Post: |
AjayKumar.Kataram (22-11-08)
|
|
|
#2 (permalink) |
|
Super Moderator
Join Date: Mar 2006
Posts: 4,803
Thanks: 9 Thanked 609 Times in 478 Posts Thanks: 9
Thanked 609 Times in 478 Posts
Blog Entries: 2
Rep Power: 99
|
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. |
|
|
|
| The Following User Says Thank You to Spoorthi For This Useful Post: |
AjayKumar.Kataram (22-11-08)
|
|
|
#3 (permalink) |
|
Super Moderator
Join Date: Mar 2006
Posts: 4,803
Thanks: 9 Thanked 609 Times in 478 Posts Thanks: 9
Thanked 609 Times in 478 Posts
Blog Entries: 2
Rep Power: 99
|
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. |
|
|
|
| The Following User Says Thank You to Spoorthi For This Useful Post: |
AjayKumar.Kataram (22-11-08)
|
|
|
#4 (permalink) |
|
Super Moderator
Join Date: Mar 2006
Posts: 4,803
Thanks: 9 Thanked 609 Times in 478 Posts Thanks: 9
Thanked 609 Times in 478 Posts
Blog Entries: 2
Rep Power: 99
|
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. |
|
|
|
| The Following User Says Thank You to Spoorthi For This Useful Post: |
AjayKumar.Kataram (22-11-08)
|
|
|
#5 (permalink) |
|
Super Moderator
Join Date: Mar 2006
Posts: 4,803
Thanks: 9 Thanked 609 Times in 478 Posts Thanks: 9
Thanked 609 Times in 478 Posts
Blog Entries: 2
Rep Power: 99
|
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. |
|
|
|
| The Following User Says Thank You to Spoorthi For This Useful Post: |
AjayKumar.Kataram (22-11-08)
|
|
|
#6 (permalink) |
|
Super Moderator
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,355
Thanks: 117 Thanked 241 Times in 198 Posts Thanks: 117
Thanked 241 Times in 198 Posts
Blog Entries: 4
Rep Power: 51
|
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
__________________
Give 1 cup rice to a hungry Indian just by a mouse click. No money, no form filling, no hassle... Click here for the donation. |
|
|
|
|
|
#7 (permalink) |
|
Super Moderator
Join Date: Mar 2006
Posts: 4,803
Thanks: 9 Thanked 609 Times in 478 Posts Thanks: 9
Thanked 609 Times in 478 Posts
Blog Entries: 2
Rep Power: 99
|
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] |
|
|
|
| The Following User Says Thank You to Spoorthi For This Useful Post: |
AjayKumar.Kataram (22-11-08)
|
|
|
#8 (permalink) |
|
Super Moderator
Join Date: Mar 2006
Posts: 4,803
Thanks: 9 Thanked 609 Times in 478 Posts Thanks: 9
Thanked 609 Times in 478 Posts
Blog Entries: 2
Rep Power: 99
|
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. |
|
|
|
| The Following User Says Thank You to Spoorthi For This Useful Post: |
AjayKumar.Kataram (22-11-08)
|
|
|
#9 (permalink) |
|
Super Moderator
Join Date: Mar 2006
Posts: 4,803
Thanks: 9 Thanked 609 Times in 478 Posts Thanks: 9
Thanked 609 Times in 478 Posts
Blog Entries: 2
Rep Power: 99
|
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”. |
|
|
|
| The Following User Says Thank You to Spoorthi For This Useful Post: |
AjayKumar.Kataram (22-11-08)
|
|
|
#10 (permalink) |
|
Super Moderator
Join Date: Mar 2006
Posts: 4,803
Thanks: 9 Thanked 609 Times in 478 Posts Thanks: 9
Thanked 609 Times in 478 Posts
Blog Entries: 2
Rep Power: 99
|
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. |
|
|
|
| The Following User Says Thank You to Spoorthi For This Useful Post: |
AjayKumar.Kataram (22-11-08)
|
|
|
#11 (permalink) |
|
Super Moderator
Join Date: Mar 2006
Posts: 4,803
Thanks: 9 Thanked 609 Times in 478 Posts Thanks: 9
Thanked 609 Times in 478 Posts
Blog Entries: 2
Rep Power: 99
|
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. |