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.
| 51. |
What Are The Contents Of Framework? |
|
Answer» Framework MEANS COLLECTION of RULES, LIBRARIES is following on dependent on organization. Framework means collection of rules, libraries is following on dependent on organization. |
|
| 52. |
What Is Use Of Gui Files In Winrunner? |
|
Answer» guimap:
here 2 guimap files we are USING
guimap: here 2 guimap files we are using |
|
| 53. |
What Is The Use Of Get_lang() Function In Winrunner? |
|
Answer» Specifically, you can use the get_lang() function to OBTAIN the CURRENT language SETTING. Specifically, you can use the get_lang() function to obtain the current language setting. |
|
| 54. |
What Is The Purpose Of Obligatory And Optional Properties Of The Objects? |
|
Answer» For each class, WinRunner learns a set of default properties. Each default property is classified “obligatory” or “optional”.
For each class, WinRunner learns a set of default properties. Each default property is classified “obligatory” or “optional”. |
|
| 55. |
How Many Scripts Can We Generate For One Project? |
|
Answer» DEPENDING on PROJECT and APPLICATION many test scripts can be generated. The NUMBER of test scripts is not FIXED. Depending on project and application many test scripts can be generated. The number of test scripts is not fixed. |
|
| 56. |
What Is A Gui Spy? |
|
Answer» GUI Spy ENABLES you to view the PROPERTIES of GUI objects in your application. Using the GUI Spy you can see how the MERGE tool identifies a particular object, such as a custom object. You can also USE the GUI Spy to view properties and methods of ActiveX controls. GUI Spy enables you to view the properties of GUI objects in your application. Using the GUI Spy you can see how the merge tool identifies a particular object, such as a custom object. You can also use the GUI Spy to view properties and methods of ActiveX controls. |
|
| 57. |
What Is The Scripting Process In Winrunner? |
|
Answer» The testing process in WINRUNNER or In any typical automation tools is
The testing process in winrunner or In any typical automation tools is |
|
| 58. |
What Are The Virtual Objects And How Do You Learn Them? |
Answer»
|
|
| 59. |
How Many Types Of Exceptions Are There In Wr? |
|
Answer» There are 3 TYPES of EXCEPTIONS There are 3 types of exceptions |
|
| 60. |
Is It Possible To Use Winrunner For Unit Testing? |
| Answer» | |
| 61. |
How Many Recording Methods In Winrunner 8.0? |
|
Answer» There are FOUR recording METHODS in winrunner:
There are four recording methods in winrunner: |
|
| 62. |
Every Time You Run The Winrunner Application It Gives You Different Title Of The Window How Can You Handle This? |
|
Answer» This can be HANDLE by REGULAR EXPRESSIONS. This can be handle by regular expressions. |
|
| 63. |
How Do You Handle Activex And Visual Basic Objects? |
|
Answer» WinRunner PROVIDES with add-ins for ActiveX and VISUAL basic objects. When LOADING WinRunner, select that add-ins and this add-ins PROVIDE with a set of functions to WORK on ActiveX and VB objects. WinRunner provides with add-ins for ActiveX and Visual basic objects. When loading WinRunner, select that add-ins and this add-ins provide with a set of functions to work on ActiveX and VB objects. |
|
| 64. |
When We Are Testing An Application Through Winrunner How Can We Handle The Exception Manually? |
|
Answer» EXCEPTION can be of following 5 types: Exception can be of following 5 types: |
|
| 65. |
How To Recognize The Objects During Runtime In New Build Version (test Suite) Comparing With Old Guimap? |
|
Answer» If there are any CHANGES in the new BUILD, you can either manually change the expected RESULTS in the expected results FOLDER or you can run the tests in update mode (this will automatically change the expected results). If there are any changes in the new build, you can either manually change the expected results in the expected results folder or you can run the tests in update mode (this will automatically change the expected results). |
|
| 66. |
What Is The Extension For Winrunner Script? |
|
Answer» WinRunner uses TSL script (C LIKE script but not C) and it will not have any EXTENSIONS. WinRunner uses TSL script (C like script but not C) and it will not have any extensions. |
|
| 67. |
Write And Explain Switch Command? |
|
Answer» A SWITCH statement enables WinRunner to make a decision based on an expression that can have more than two values. A switch statement enables WinRunner to make a decision based on an expression that can have more than two values. |
|
| 68. |
How Do You Load Compiled Module Inside A Compiled Module? |
|
Answer» load("path of the compile module", 0/1,0/1) load("path of the compile module", 0/1,0/1) |
|
| 69. |
What Are The Stages In Winrunner? |
| Answer» | |
| 70. |
How Do You Write Messages To The Report? |
|
Answer» To write message to a REPORT we USE the report_msg STATEMENT To write message to a report we use the report_msg statement |
|
| 71. |
What Is A Build? |
Answer»
|
|
| 72. |
How Do We Invoke Winrunner From Command Prompt? |
|
Answer» Go to the command prompt and go through the following path(DEPENDS upon the winrunner INSTALLED path) Go to the command prompt and go through the following path(Depends upon the winrunner installed path) |
|
| 73. |
Which Type Of Gui File Is Preferable? |
|
Answer» If you are new to winrunner then GUI map FILE PER test is preferable and for advanced USERS Global GUI map file is preferred. If you are new to winrunner then GUI map file per test is preferable and for advanced users Global GUI map file is preferred. |
|
| 74. |
How Do You Connect To Test Director From Wr? |
|
Answer» In tools menu Testdirector connection available ,First click connect in SERVER the it is connected to your server after click connect for your testdirector there first SELECT the project NAME after select user name& PASSWORD then press connect automatically it is connected to Test DIRECTOR. In tools menu Testdirector connection available ,First click connect in server the it is connected to your server after click connect for your testdirector there first select the project name after select user name& password then press connect automatically it is connected to Test Director. |
|
| 75. |
What Is The Difference Between Writing A Function And Writing A Script? |
| Answer» | |
| 76. |
How To Make Comments In Gui Map File? |
|
Answer» It’s not possible to MAKE comments in GUI MAP FILE, but its possible to make comments in your script, the one which you have put is for commenting in script(CTRL + T). It’s not possible to make comments in GUI map file, but its possible to make comments in your script, the one which you have put is for commenting in script(ctrl + T). |
|
| 77. |
What Is Virtual Wizard In Winrunner? |
|
Answer» If WIN Runner is not able to identify a object as a specific object , we need to tell to WinRunner about that object whether it is a button or Text box. For that Virtual Wizard is USEFUL. From the next time on words winRunner will identify as a specific object as we selected in virtual object wizard. If Win Runner is not able to identify a object as a specific object , we need to tell to WinRunner about that object whether it is a button or Text box. For that Virtual Wizard is useful. From the next time on words winRunner will identify as a specific object as we selected in virtual object wizard. |
|
| 78. |
What Is A Watch List? |
|
Answer» watch list can be used in WR to be ABLE to view the actual values of variables while the test is running. for this we have to select Addwatch under DEBUG MENU. then declare all the variables for which you want to know the value while the script is executing. Automatically winrunner will show a watch list in the left side of script with all the declared variables. While we will execute the script it will show all the values assigned to each variables in the watchlist. This is type of output report but the advantage of using this is we can see it while we are running the script. watch list can be used in WR to be able to view the actual values of variables while the test is running. for this we have to select Addwatch under debug menu. then declare all the variables for which you want to know the value while the script is executing. Automatically winrunner will show a watch list in the left side of script with all the declared variables. While we will execute the script it will show all the values assigned to each variables in the watchlist. This is type of output report but the advantage of using this is we can see it while we are running the script. |
|
| 79. |
How Do You Record A Data Driven Test? |
|
Answer» We can CREATE a data-driven testing using data from a FLAT file, data table or a database.
We can create a data-driven testing using data from a flat file, data table or a database. |
|
| 80. |
How Do You Parameterize Database Check Points? |
|
Answer» When you create a standard DATABASE checkpoint using ODBC (Microsoft Query), you can add PARAMETERS to an SQL STATEMENT to parameterize the checkpoint. This is useful if you want to create a database checkpoint with a query in which the SQL statement defining your query CHANGES. When you create a standard database checkpoint using ODBC (Microsoft Query), you can add parameters to an SQL statement to parameterize the checkpoint. This is useful if you want to create a database checkpoint with a query in which the SQL statement defining your query changes. |
|
| 81. |
What Is Tl Step? How Do You Use It In Winrunner? |
|
Answer» tl_step is a function with the help of which we can MENTION about the PASS or fail STATUS of a particular step or point in the test script.
tl_step is a function with the help of which we can mention about the pass or fail status of a particular step or point in the test script. |
|
| 82. |
How Do You Declare Arrays? |
|
Answer» To declare arrays there are two options. They are as follows:
Array of primitive: int[] test= new int[3] To declare arrays there are two options. They are as follows: Array of primitive: int[] test= new int[3] |
|
| 83. |
Write And Explain Compile Module? |
|
Answer» Complied module is libraries of frequently-used FUNCTION. We can save the user-defined function in COMPILED module and then call them from our TEST SCRIPT. Complied module is libraries of frequently-used function. We can save the user-defined function in compiled module and then call them from our test script. |
|
| 84. |
What Is Mainframe Testing And What Is Java Testing? |
| Answer» | |
| 85. |
Can You Tell Me The Bug Life Cycle? |
Answer»
|
|
| 86. |
Difference Between Setwindow And Winactivate? |
Answer»
first if you want to use some window you will activate it, so for that we use win_activate.but even then your cursor will not be on the window, so for making to MOVE your cursor to that window we use set_window("window NAME", time); first if you want to use some window you will activate it, so for that we use win_activate.but even then your cursor will not be on the window, so for making to move your cursor to that window we use set_window("window name", time); |
|
| 87. |
What Is Object Repository? |
Answer»
|
|
| 88. |
What Is The Purpose Of Gui Map Configuration? |
|
Answer» GUI MAP configuration is used to map a custom OBJECT to a standard object. GUI Map configuration is used to map a custom object to a standard object. |
|
| 89. |
Have 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. |
|
| 90. |
What Is The Silence Mood In Winrunner? |
|
Answer» Both batch test and SILENT mode are completely different WHENEVER you select a option silent mode option in WIN Runner, While EXECUTING the test scripts it will not give any error (If it is problem in test script or a checkpoint failure whatever it may be) Finally in result WINDOW it will explain all the problems. Both batch test and silent mode are completely different Whenever you select a option silent mode option in Win Runner, While executing the test scripts it will not give any error (If it is problem in test script or a checkpoint failure whatever it may be) Finally in result window it will explain all the problems. |
|
| 91. |
How Do You Load Default Comments Into Your New Script Like Ide's? |
|
Answer» By RECORDING the SCRIPT and by STARTING the script by #. By recording the script and by starting the script by #. |
|
| 92. |
What Is A Command To Invoke Application? |
|
Answer» Invoke_application is the FUNCTION USED to INVOKE an application. Invoke_application is the function used to invoke an application. |
|
| 93. |
What Is 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 objects 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. 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 objects 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. |
|
| 94. |
Can We Have Same Logical Name For More Than One Object In Gui Map File? |
|
Answer» yes SOMETIMES gui map file contains same logical name for more than ONE object(ex if there 2 ok buttons in the SCREEN) During recording the test it wouldn't CREATE any problems but at the time of running the test the first objects will be operated TWICE. so you need to configure the gui map file by adding mswid as a optional property in order to identify both the objects. yes sometimes gui map file contains same logical name for more than one object(ex if there 2 ok buttons in the screen) During recording the test it wouldn't create any problems but at the time of running the test the first objects will be operated twice. so you need to configure the gui map file by adding mswid as a optional property in order to identify both the objects. |
|
| 95. |
What Is The Use Of Framework? |
|
Answer» The Template test provides a basic framework of an automated test that navigates through your application. It opens and closes each WINDOW, LEAVING SPACE for you to ADD code (through recording or PROGRAMMING) that checks the window. The Template test provides a basic framework of an automated test that navigates through your application. It opens and closes each window, leaving space for you to add code (through recording or programming) that checks the window. |
|
| 96. |
How Do You Modify The Expected Results Of A Gui Checkpoint? |
|
Answer» We can MODIFY the expected results of a GUI checkpoint be RUNNING the script containing the checkpoint in the update MODE. We can modify the expected results of a GUI checkpoint be running the script containing the checkpoint in the update mode. |
|
| 97. |
What Is The Dynamic Checkpoint In Winrunner? |
| Answer» | |
| 98. |
How To Load A Function, If The Module Is Not In The Search Path? |
|
Answer» USE LOAD("PATH for the FUNCTION", 0,0) Use Load("path for the function", 0,0) |
|
| 99. |
Can You Tell Me About The Functions That Are Not Supported By Virtual Objects? |
|
Answer» Win runner is a TOOL which is used to create automated test scripts. winrunner doesn’t support all the technologies for EG-: .Net ,Oracle APPS, so when some of the objects in the build are designed with the technologies that winrunner doesn’t support ,it doesn’t recognize those objects while recording .In order to FORCEFULLY recognize those objects we go for virtual RECOGNIZER in the tool. When the particular OBJECT is focused under this virtual option, then tool generates the script without any error. Win runner is a tool which is used to create automated test scripts. winrunner doesn’t support all the technologies for EG-: .Net ,Oracle apps, so when some of the objects in the build are designed with the technologies that winrunner doesn’t support ,it doesn’t recognize those objects while recording .In order to forcefully recognize those objects we go for virtual recognizer in the tool. When the particular object is focused under this virtual option, then tool generates the script without any error. |
|
| 100. |
During Debugging How Do You Monitor The Value Of The Variables? |
|
Answer» During debug if you want to MONITOR the value of the VARIABLES you can USE debug-->ADD watch->declare all the variables you want to monitor. During debug if you want to monitor the value of the variables you can use debug-->Add watch->declare all the variables you want to monitor. |
|