![]() |
|
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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
Posts: 2,379
Blog Entries: 4 Thanks: 118
Thanked 319 Times in 238 Posts
Rep Power: 60 | 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
__________________ Looking for trainees for a start up company |
| | |
| | #7 (permalink) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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. |
| | |
| | #12 (permalink) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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. |
| | |
| The Following User Says Thank You to Spoorthi For This Useful Post: | AjayKumar.Kataram (22-11-08)
|
| | #13 (permalink) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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. |
| | |
| The Following User Says Thank You to Spoorthi For This Useful Post: | AjayKumar.Kataram (22-11-08)
|
| | #14 (permalink) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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]. |
| | |
| The Following User Says Thank You to Spoorthi For This Useful Post: | AjayKumar.Kataram (22-11-08)
|
| | #15 (permalink) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 694 Times in 532 Posts
Rep Power: 107 | 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. |
| | |
| The Following 2 Users Say Thank You to Spoorthi For This Useful Post: | AjayKumar.Kataram (22-11-08),
mvithiyadharan (25-07-08)
|
![]() |
| Tags |
| asked , interview , qanda , winrunner |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| More Interview Questions Here... |