InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 201. |
What Is A Checkpoint And What Are Different Types Of Checkpoints? |
|
Answer» Checkpoints ALLOW you to compare the current behavior of the application being tested to its behavior in an EARLIER version.
Checkpoints allow you to compare the current behavior of the application being tested to its behavior in an earlier version. |
|
| 202. |
What Are The Modes Of Script Recording In Winrunner ? |
|
Answer» There are 2 modes of recording in WinRunner There are 2 modes of recording in WinRunner |
|
| 203. |
What Is The Purpose Of Different Record Methods 1) Record 2) Pass Up 3) As Object 4) Ignore. |
|
Answer» a) Record INSTRUCTS WinRunner to record all OPERATIONS performed on a GUI object. This is the DEFAULT record method for all classes. (The only exception is the STATIC class (static text), for which the default is Pass Up.) a) Record instructs WinRunner to record all operations performed on a GUI object. This is the default record method for all classes. (The only exception is the static class (static text), for which the default is Pass Up.) |
|
| 204. |
Why Don't We Normally Load The Gui Maps Through Start Up Scripts? |
|
Answer» 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. 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. |
|
| 205. |
Difference Between Winrunner And Test Director? |
|
Answer» “WinRunner handles automation TEST SCRIPTS “WinRunner handles automation test scripts |
|
| 206. |
What Is Tsl? What 4gl Is It Similar Too? |
|
Answer» “TEST SCRIPT LANGUAGE, TSL C++” “Test Script Language, TSL C++” |
|
| 207. |
What Databases Can Test Director Reside On? |
|
Answer» Oracle, Access, Sybase, MsSQL |
|
| 208. |
Explain Data Parameterization In Winrunner. |
|
Answer» Data is WRITTEN MULTIPLE TIMES, while WinRunner has a repeated LOOP to process the data. Data is written multiple times, while WinRunner has a repeated loop to process the data. |
|
| 209. |
Explain The Project Tree In Test Director. |
|
Answer» USED to COORDINATE and MANAGE TEST CASES. Used to coordinate and manage test cases. |
|
| 210. |
Write A Short Compiled Module Which Selects Random Numbers; And What Function Is Used To Call Your Customized Compiled Module? |
|
Answer» Load or Reload function |
|
| 211. |
What's The Purpose Of The Wrun.ini File? |
|
Answer» CONFIGURATION SET up for WINRUNNER Configuration set up for WinRunner |
|
| 212. |
How Do You Configure Gui Map? |
|
Answer» a. When WinRunner learns the description of a GUI object, it does not learn all its properties. Instead, it learns the minimum number of properties to PROVIDE a unique identification of the object. a. When WinRunner learns the description of a GUI object, it does not learn all its properties. Instead, it learns the minimum number of properties to provide a unique identification of the object. |
|
| 213. |
How Do You Filter The Objects In The Gui Map? |
|
Answer» GUI Map Editor has a Filter option. This provides for filtering with 3 different types of options. GUI Map Editor has a Filter option. This provides for filtering with 3 different types of options. |
|
| 214. |
How Do You Clear A Gui Map Files? |
|
Answer» We can clear a GUI Map FILE USING the “Clear All” option in the GUI Map Editor. We can clear a GUI Map file using the “Clear All” option in the GUI Map Editor. |
|
| 215. |
How Do You Select Multiple Objects During Merging The Files? |
|
Answer» Use the Shift key and/or CONTROL key to SELECT multiple objects. To select all objects in a GUI map file, CHOOSE EDIT > Select All. Use the Shift key and/or Control key to select multiple objects. To select all objects in a GUI map file, choose Edit > Select All. |
|
| 216. |
How Do You Copy And Move Objects Between Different Gui Map Files? |
|
Answer» We can copy and move objects between different GUI FILES using the GUI Map Editor. The steps to be followed are: i. Choose Tools > GUI Map Editor to open the GUI Map Editor. We can copy and move objects between different GUI files using the GUI Map Editor. The steps to be followed are: i. Choose Tools > GUI Map Editor to open the GUI Map Editor. |
|
| 217. |
How Do You Suppress A Regular Expression? |
|
Answer» We can SUPPRESS the regular expression of a WINDOW by REPLACING the regexp_label PROPERTY with LABEL property. We can suppress the regular expression of a window by replacing the regexp_label property with label property. |
|
| 218. |
What Is The Purpose Of Regexp_label Property And Regexp_msw_class Property? |
|
Answer» The regexp_label property is used for windows only. It operates “BEHIND the scenes” to insert a REGULAR EXPRESSION into a window’s label description. The regexp_label property is used for windows only. It operates “behind the scenes” to insert a regular expression into a window’s label description. |
|
| 219. |
How Winrunner Handles Varying Window Labels? |
|
Answer» We can handle varying window labels using regular expressions. WinRunner uses two “HIDDEN” properties in order to use regular expression in an object’s physical description. These properties are regexp_label and regexp_MSW_class. We can handle varying window labels using regular expressions. WinRunner uses two “hidden” properties in order to use regular expression in an object’s physical description. These properties are regexp_label and regexp_MSW_class. |
|
| 220. |
When It Is Appropriate To Change Physical Description? |
|
Answer» CHANGING the PHYSICAL DESCRIPTION is NECESSARY when the property value of an object changes. Changing the physical description is necessary when the property value of an object changes. |
|
| 221. |
When Do You Feel You Need To Modify The Logical Name? |
|
Answer» CHANGING the logical NAME of an OBJECT is useful when the ASSIGNED logical name is not sufficiently descriptive or is too long. Changing the logical name of an object is useful when the assigned logical name is not sufficiently descriptive or is too long. |
|
| 222. |
How Do You Modify The Logical Name Or The Physical Description Of The Objects In Gui Map? |
|
Answer» You can modify the LOGICAL name or the PHYSICAL DESCRIPTION of an object in a GUI map file using the GUI Map EDITOR. You can modify the logical name or the physical description of an object in a GUI map file using the GUI Map Editor. |
|
| 223. |
How Do You Identify Which Files Are Loaded In The Gui Map? |
|
Answer» The GUI MAP Editor has a drop down “GUI FILE” DISPLAYING all the GUI Map files loaded into the memory. The GUI Map Editor has a drop down “GUI File” displaying all the GUI Map files loaded into the memory. |
|
| 224. |
What Different Actions Are Performed By Find And Show Button? |
|
Answer» 1.To FIND a particular OBJECT in the GUI Map file in the application, select the object and click the SHOW window. This blinks the selected object. 1.To find a particular object in the GUI Map file in the application, select the object and click the Show window. This blinks the selected object. |
|
| 225. |
How Do You Find An Object In An Gui Map. |
|
Answer» The GUI Map Editor is been provided with a Find and Show Buttons. The GUI Map Editor is been provided with a Find and Show Buttons. |
|
| 226. |
What Is The Extension Of Gui Map File? |
|
Answer» The EXTENSION for a GUI MAP FILE is “.gui”. The extension for a GUI Map file is “.gui”. |
|
| 227. |
What Is The Purpose Of The Temp Gui Map File? |
|
Answer» 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 should be LOADED each time in the GENERAL Options. 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 should be loaded each time in the General Options. |
|
| 228. |
What Actually Happens When You Load Gui Map? |
|
Answer» 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. 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. |
|
| 229. |
How Do You Unload The Gui Map? |
|
Answer» 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. 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. |
|
| 230. |
What Is The Disadvantage Of Loading The Gui Maps Through Start Up Scripts? |
|
Answer» 1.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. 1.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. |
|
| 231. |
How Do You Load Gui Map? |
|
Answer» We can load a GUI MAP by USING the GUI_load COMMAND. We can load a GUI Map by using the GUI_load command. |
|
| 232. |
What Is The Purpose Of Set_window Command? |
|
Answer» 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. 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. |
|
| 233. |
When You Create Gui Map Do You Record All The Objects Of Specific Objects? |
|
Answer» If we are LEARNING a window then WinRunner automatically learns all the objects in the window else we will we identifying those OBJECT, which are to be learned in a window, since we will be WORKING with only those objects while creating SCRIPTS. If we are learning a window then WinRunner automatically learns all the objects in the window else we will we identifying those object, which are to be learned in a window, since we will be working with only those objects while creating scripts. |
|
| 234. |
How Do You View The Contents Of The Gui Map? |
|
Answer» 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. 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. |
|
| 235. |
What Is The Different Between Gui Map And Gui Map Files? |
|
Answer» The GUI MAP is actually the sum of one or more GUI map FILES. There are two modes for organizing GUI map files. The GUI map is actually the sum of one or more GUI map files. There are two modes for organizing GUI map files. |
|
| 236. |
If The Object Does Not Have A Name Then What Will Be The Logical Name? |
|
Answer» If the OBJECT does not have a name then the LOGICAL name could be the ATTACHED TEXT. If the object does not have a name then the logical name could be the attached text. |
|
| 237. |
What Do You Mean By The Logical Name Of The Object. |
|
Answer» An OBJECT’s LOGICAL name is determined by its class. In most CASES, the logical name is the label that APPEARS on an object. An object’s logical name is determined by its class. In most cases, the logical name is the label that appears on an object. |
|
| 238. |
What Are The Reasons That Winrunner Fails To Identify An Object On The Gui? |
|
Answer» WinRunner FAILS to identify an object in a GUI due to various REASONS. WinRunner fails to identify an object in a GUI due to various reasons. |
|
| 239. |
What Is The Purpose Of Loading Winrunner Add-ins? |
|
Answer» 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. 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. |
|
| 240. |
What Are The Different Modes Of Recording? |
|
Answer» There are two type of recording in WinRunner. There are two type of recording in WinRunner. |
|
| 241. |
How You Integrated Your Automated Scripts From Testdirector? |
|
Answer» 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 in 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. 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 in 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. |
|
| 242. |
How Do You Analyze Results And Report The Defects? |
|
Answer» Following each TEST run, WinRunner displays the results in a report. The report details all the major events that occurred during the run, such as checkpoints, ERROR messages, system messages, or USER messages. If mismatches are detected at checkpoints during the test run, you can view the expected results and the actual results from the Test Results window. If a test run fails DUE to a defect in the application being tested, you can report information about the defect DIRECTLY from the Test Results window. This information is sent via e-mail to the quality assurance manager, who tracks the defect until it is fixed. Following each test run, WinRunner displays the results in a report. The report details all the major events that occurred during the run, such as checkpoints, error messages, system messages, or user messages. If mismatches are detected at checkpoints during the test run, you can view the expected results and the actual results from the Test Results window. If a test run fails due to a defect in the application being tested, you can report information about the defect directly from the Test Results window. This information is sent via e-mail to the quality assurance manager, who tracks the defect until it is fixed. |
|
| 243. |
How Do You Run Your Test Scripts? |
|
Answer» We run TESTS in Verify mode to TEST your application. Each time WinRunner encounters a checkpoint in the test script, it compares the current data of the application being TESTED to the expected data CAPTURED EARLIER. If any mismatches are found, WinRunner captures them as actual results. We run tests in Verify mode to test your application. Each time WinRunner encounters a checkpoint in the test script, it compares the current data of the application being tested to the expected data captured earlier. If any mismatches are found, WinRunner captures them as actual results. |
|
| 244. |
Have You Performed Debugging Of The Scripts? |
|
Answer» Yes, I have performed debugging of scripts. We can DEBUG the script by EXECUTING the script in the debug MODE. We can also debug script using the Step, Step Into, Step out functionalities PROVIDED by the WINRUNNER. Yes, I have performed debugging of scripts. We can debug the script by executing the script in the debug mode. We can also debug script using the Step, Step Into, Step out functionalities provided by the WinRunner. |
|
| 245. |
How Does Winrunner Evaluates Test Results? |
|
Answer» Following each test RUN, WinRunner DISPLAYS the results in a report. The report details all the MAJOR EVENTS that occurred during the run, such as checkpoints, error messages, system messages, or user messages. If mismatches are detected at checkpoints during the test run, you can view the expected results and the actual results from the Test Results WINDOW. Following each test run, WinRunner displays the results in a report. The report details all the major events that occurred during the run, such as checkpoints, error messages, system messages, or user messages. If mismatches are detected at checkpoints during the test run, you can view the expected results and the actual results from the Test Results window. |
|
| 246. |
Have You Created Test Scripts And What Is Contained In The Test Scripts? |
|
Answer» Yes I have created test scripts. It contains the statement in Mercury Interactive’s Test Script Language (TSL). These statements appear as a test script in a test window. You can then ENHANCE your recorded test script, either by TYPING in additional TSL functions and programming ELEMENTS or by USING WinRunner’s visual programming tool, the Function Generator. Yes I have created test scripts. It contains the statement in Mercury Interactive’s Test Script Language (TSL). These statements appear as a test script in a test window. You can then enhance your recorded test script, either by typing in additional TSL functions and programming elements or by using WinRunner’s visual programming tool, the Function Generator. |
|
| 247. |
How Does Winrunner Recognize Objects On The Application? |
|
Answer» WINRUNNER uses the GUI MAP file to recognize OBJECTS on the application. When WinRunner runs a test, it uses the GUI map to LOCATE objects. It reads an object’s description in the GUI map and then looks for an object with the same properties in the application being TESTED. WinRunner uses the GUI Map file to recognize objects on the application. When WinRunner runs a test, it uses the GUI map to locate objects. It reads an object’s description in the GUI map and then looks for an object with the same properties in the application being tested. |
|
| 248. |
What In Contained In The Gui Map? |
|
Answer» WinRunner stores information it learns about a window or OBJECT in a GUI Map. When WinRunner RUNS a test, it uses the GUI map to locate OBJECTS. It reads an object’s description in the GUI map and then looks for an object with the same properties in the application being tested. Each of these objects in the GUI Map file will be having a LOGICAL name and a physical description. There are 2 types of GUI Map files. WinRunner stores information it learns about a window or object in a GUI Map. When WinRunner runs a test, it uses the GUI map to locate objects. It reads an object’s description in the GUI map and then looks for an object with the same properties in the application being tested. Each of these objects in the GUI Map file will be having a logical name and a physical description. There are 2 types of GUI Map files. |
|
| 249. |
Explain Winrunner Testing Process? |
|
Answer» WinRunner testing process involves six MAIN stages: WinRunner testing process involves six main stages: |
|
| 250. |
How You Used Winrunner In Your Project? |
|
Answer» Yes, I have been WinRunner for creating automates scripts for GUI, functional and REGRESSION TESTING of the AUT. Yes, I have been WinRunner for creating automates scripts for GUI, functional and regression testing of the AUT. |
|