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.
| 101. |
Is The Wr Init File? Where Is It Stored? What Is The Path Of It In Wr? |
|
Answer» WR init file is WR INITIALIZATION file. In this file you can define global VARIABLE. So whenever you invoke WR it loads init file and SETS the global variable, provided you have to SET the PATH of the init file in option section. The default of init file is "mercury winrunner data slint". WR init file is WR initialization file. In this file you can define global variable. So whenever you invoke WR it loads init file and sets the global variable, provided you have to set the path of the init file in option section. The default of init file is "mercury winrunner data slint". |
|
| 102. |
How Do You View And Evaluate Test Results For Various Check Points? |
|
Answer» Once the script is EXECUTED which has multiple checkpoints, the test results WINDOW shows detailed INFORMATION of WHETHER the checkpoint passed or failed. As we KNOW, checkpoints compare the expected results with the actual results, we can evaluate the result. Once the script is executed which has multiple checkpoints, the test results window shows detailed information of whether the checkpoint passed or failed. As we know, checkpoints compare the expected results with the actual results, we can evaluate the result. |
|
| 103. |
What Are The Recording Methods In Winrunner? |
|
Answer» Two types of RECORDING method available in Win RUNNER
Two types of Recording method available in Win Runner |
|
| 104. |
What Do You Verify With The Sync Point For Object/window Bitmap And What Command It Generates, Explain Syntax? |
|
Answer» You can create a bitmap synchronization point that waits for the bitmap of an object or a window to appear in the application being tested. You can create a bitmap synchronization point that waits for the bitmap of an object or a window to appear in the application being tested. |
|
| 105. |
What Is Candidate Release? |
|
Answer» When a TESTER has completed the TESTING of a project and the AUT has been moved to production environment and been ACCEPTED by the stakeholders then the tester is released or SIGNED off from the project. When a tester has completed the testing of a project and the AUT has been moved to production environment and been accepted by the stakeholders then the tester is released or signed off from the project. |
|
| 106. |
When The Optional Properties Are Learned? |
|
Answer» An optional property is used only if the OBLIGATORY properties do not provide UNIQUE IDENTIFICATION of an OBJECT. An optional property is used only if the obligatory properties do not provide unique identification of an object. |
|
| 107. |
How Do You Find Out Which Is The Start Up File In Winrunner? |
|
Answer» The TEST script NAME in the STARTUP Test BOX in the Environment tab in the General Options dialog box is the start up file in WinRunner. The test script name in the Startup Test box in the Environment tab in the General Options dialog box is the start up file in WinRunner. |
|
| 108. |
What Is A Parameterization In Load Runner And How It Handled? |
|
Answer» Parameterization is a CONCEPT in WR used to parameterize the DATA in AUT. Using parameterization, several data are provided to a single input value and tested. Parameterization LEADS to data DRIVEN test which in turn is used in doing STRESS testing. Parameterization is a concept in WR used to parameterize the data in AUT. Using parameterization, several data are provided to a single input value and tested. Parameterization leads to data driven test which in turn is used in doing stress testing. |
|
| 109. |
How Do You Store And View Batch Test Results? |
|
Answer» To store Batch test result To store Batch test result |
|
| 110. |
What Is Difference Between Auto Merge And Manual Merge? |
Answer»
|
|
| 111. |
How Do You Test A Web Application Without Opening The Web Browser? |
|
Answer» Use Web_Browser_Invoke(IE, URL); to invoke the BROWSER through the TEST script INSTEAD of OPENING the application. Use Web_Browser_Invoke(IE, URL); to invoke the browser through the test script instead of opening the application. |
|
| 112. |
Why Choose Winrunner , Being It Is Costly Tool ? |
|
Answer» See again it depends on the choice of the end user. If the user FEELS that the AUT is extensive and could really benefit from using WR and if there are plenty of Versions/Data DRIVEN Test/Regression CYCLES etc and it could be done with MINIMAL user interaction through WR, they can go for it. See again it depends on the choice of the end user. If the user feels that the AUT is extensive and could really benefit from using WR and if there are plenty of Versions/Data Driven Test/Regression cycles etc and it could be done with minimal user interaction through WR, they can go for it. |
|
| 113. |
How To Test The Stored Procedure? |
|
Answer» You first unit-test each procedure by feeding it appropriate test data, observing the outcome, and RETESTING as needed to make sure the BUG fixes contain no new errors. Unit-testing a stored procedure involves a series of test-debug-retest CYCLES. The NUMBER of cycles will depend on your company's defect tolerance, your application's release date, and, of COURSE, the "bugginess" of your code. You first unit-test each procedure by feeding it appropriate test data, observing the outcome, and retesting as needed to make sure the bug fixes contain no new errors. Unit-testing a stored procedure involves a series of test-debug-retest cycles. The number of cycles will depend on your company's defect tolerance, your application's release date, and, of course, the "bugginess" of your code. |
|
| 114. |
Why Do We Need Java Addins In Winrunner? |
Answer»
|
|
| 115. |
How Do You Execute Your Tests From Windows Run Command? |
|
Answer» you can execute your TEST in c compiler with WINDOW RUN command as TSL is c BASED language. you can execute your test in c compiler with window run command as tsl is c based language. |
|
| 116. |
What Are Batch Tests And How Do You Create And Run Batch Tests? |
Answer»
|
|
| 117. |
What Is Start And End Point Of Synchronization? |
Answer»
|
|
| 118. |
What Is The Difference Between A Subroutine And A Function? |
|
Answer» There are two types of METHODS: subroutines and functions. Ideally, each FUNCTION or subroutine will PERFORM a distinct, logical task. Functions are very similar to subroutines their syntax is nearly IDENTICAL, and they can both perform the same actions. Functions, however, return a value to the code that CALLED it. There are two types of methods: subroutines and functions. Ideally, each function or subroutine will perform a distinct, logical task. Functions are very similar to subroutines their syntax is nearly identical, and they can both perform the same actions. Functions, however, return a value to the code that called it. |
|
| 119. |
What Are The Disadvantages Of Recording And Playback? |
|
Answer» If we want to run the recorded script in WIN RUNNER we should have store GUI map file if there is any CHANGES in the object the win runner cannot recognize the object so we have to LEARN the object once again and update the gui file and reload the file. If we want to run the recorded script in win runner we should have store GUI map file if there is any changes in the object the win runner cannot recognize the object so we have to learn the object once again and update the gui file and reload the file. |
|
| 120. |
In A Winrunner Script Let Say We Have Code Sleep(10); Set_window("main",5); What Will Be The Result? |
|
Answer» SYNCHRONIZATION ERROR will OCCUR. Synchronization Error will occur. |
|
| 121. |
What Is The Name Of Custom Class In Winrunner And What Methods It Applies On The Custom Objects? |
|
Answer» WINRUNNER learns custom class OBJECTS under the generic “OBJECT” class. WinRunner records operations on custom objects USING obj_ statements. WinRunner learns custom class objects under the generic “object” class. WinRunner records operations on custom objects using obj_ statements. |
|
| 122. |
What Function You Use To Report Test Result? |
|
Answer» There are two functions which can be USED for reporting the MSG. There are two functions which can be used for reporting the msg. |
|
| 123. |
How You Will Write Test Case In Winrunner? |
|
Answer» Nobody will write test CASES in WinRunner. Just we will write the Test SCRIPT for a corresponding test CASE. Initially we write all manual test cases. We will write the test scripts for the corresponding test cases. Nobody will write test cases in WinRunner. Just we will write the Test Script for a corresponding test case. Initially we write all manual test cases. We will write the test scripts for the corresponding test cases. |
|
| 124. |
What Are Gui Validations? |
Answer»
|
|
| 125. |
Winrunner Is Suitable For Which Type Of Applications? |
|
Answer» Generally Win Runner is suitable for the following APPLICATIONS: Generally Win Runner is suitable for the following applications: |
|
| 126. |
What Is Main Difference Between Gui Map Configuration And Virtual Object Wizard In Winrunner? |
|
Answer» In Winrunner we use GUI Map configuration to map the Custom OBJECT to the Standard Object. In Winrunner we use GUI Map configuration to map the Custom object to the Standard Object. |
|
| 127. |
How To Post A Bug Defect Report In Winrunner? |
|
Answer» When any bug has COME then bug or defect in WINRUNNER is SENT VIA e-mail to the quality assurance MANAGER, who tracks the defect. When any bug has come then bug or defect in winrunner is sent via e-mail to the quality assurance manager, who tracks the defect. |
|
| 128. |
What Is The Purpose Of Step, Step Into, Step Out, Step To Cursor Commands For Debugging Your Script? |
|
Answer» The purpose of the commands is:
The purpose of the commands is: |
|
| 129. |
How Do You Convert A Database File To A Text File? |
|
Answer» You can use Data Junction to create a CONVERSION file which CONVERTS a DATABASE to a target TEXT file. You can use Data Junction to create a conversion file which converts a database to a target text file. |
|
| 130. |
How Do You Check The Application For Different Web Services Like Internet Explorer Or Netscape And Others? |
|
Answer» CLICK on corresponding add in Manager (Web,....) at the TIME of enter to the winrunner then application and test. Click on corresponding add in Manager (Web,....) at the time of enter to the winrunner then application and test. |
|
| 131. |
What Is The Difference Between Main Test And Compile Module In Winrunner? |
|
Answer» In MAIN test all the functions should be written in the script and in the COMPILE module we will just GIVE the functions in one script and compile that and whenever we want that functions we can call that by using call statement. This is very easy because no. of users can use this call statement without repeating the same FUNCTION once again. In main test all the functions should be written in the script and in the compile module we will just give the functions in one script and compile that and whenever we want that functions we can call that by using call statement. This is very easy because no. of users can use this call statement without repeating the same function once again. |
|
| 132. |
What Is The Object Repository Size In Your Project? |
|
Answer» ACCORDING to your PROJECT you can use the repository. i.e according to the oracle version you are USING the repository is to be set. According to your project you can use the repository. i.e according to the oracle version you are using the repository is to be set. |
|
| 133. |
What Is The Difference Between Report_message And Tl_step? |
|
Answer» tl_step will DRIVE the script into sections & inserts a status MESSAGE in the last report for previous section. In tl_step we can set WHETHER the action is passed or failed. tl_step will drive the script into sections & inserts a status message in the last report for previous section. In tl_step we can set whether the action is passed or failed. |
|
| 134. |
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. |
|
| 135. |
How An Argument Is Passed In Winrunner? |
|
Answer» SELECT FILE menu / TEST Properties, click on Test PARAMETERS Tab then click on Add button to create a PARAMETER. You need to pass a value while calling this script. Select File menu / Test Properties, click on Test Parameters Tab then click on Add button to create a Parameter. You need to pass a value while calling this script. |
|
| 136. |
How To Connect To Oracle Db Using Winrunner ? |
|
Answer» We can ALSO CONNECT using db_connect("ses", "DSN") to GET complete control on DB. We can also connect using db_connect("ses", "dsn") to get complete control on DB. |
|
| 137. |
What Is The Process Of Functionality Testing? |
|
Answer» When you do the testing in the PROJECT just we can check the FUNCTIONALITY how to WORK the project here we can’t test the CODE just how it works this module. When you do the testing in the project just we can check the functionality how to work the project here we can’t test the code just how it works this module. |
|
| 138. |
Which Tsl Function You Will Use To Compare Two Files? |
|
Answer» The command used to COMPARE two files in WIN Runner is: file_compare(file1,FILE2,[String, string]);The command used to compare two files in Win Runner is: |
|
| 139. |
What Is The Difference Between Stop And Pause(in Toolbar) In Winrunner? |
|
Answer» STOP : stops the SCRIPT from Execution Stop : stops the script from Execution |
|
| 140. |
How To Test A Html Page Which Contains Objects By Using Winrunner.(i Need Objects Only Not Html Code) |
Answer»
|
|
| 141. |
What Is A Compile Module? |
Answer»
|
|
| 142. |
How Can We Remove The Data Driven Wizard Script From The Existing Script ? If There Any Settings Available For This Scenario? In Winrunner |
|
Answer» There is no WIZARD to REMOVE DDT, you NEED to remove MANUALLY the FOLLOWING statements There is no Wizard to remove DDT, you need to remove manually the following statements |
|
| 143. |
What Is The New Feature Add In Qtp 8.0 Compare In Qtp 6.0? |
|
Answer» QuickTest PROFESSIONAL 8.2 CONTAINS the following new features: The new Business Component Keyword View helps you design your components quickly and easily, in a self-documenting tabular user interface that requires no programming knowledge. The Business Component Keyword View is similar in APPEARANCE and functionality to the Steps tab in the Business Components module in Quality Center. This enables both QuickTest and Quality Center users to see the same component content. The new Function Definition Generator enables you to quickly document and register new user-defined functions for tests and components. A new Documentation Only option in the Keyword View enables you to view and print the auto-documentation INFORMATION for tests or components. For example, you may want to view and print the step descriptions displayed in the Documentation column as instructions for manual testing. QuickTest provides a new parameter type-local parameter. A local parameter enables you to parameterize an input value for a step, or to output a run-time value to a parameter. Local parameters are accessible only to the current business component. You can now create multiple application areas and use a different application area for each part of your application. Each application area specifies the resources and settings that can be used by a component. QuickTest provides you with a set of predefined resource files that you can associate with an application area or a specific component for additional functionality. You can find additional QTP 8x also makes easy of data driven for encrypted data QuickTest Professional 8.2 contains the following new features: The new Business Component Keyword View helps you design your components quickly and easily, in a self-documenting tabular user interface that requires no programming knowledge. The Business Component Keyword View is similar in appearance and functionality to the Steps tab in the Business Components module in Quality Center. This enables both QuickTest and Quality Center users to see the same component content. The new Function Definition Generator enables you to quickly document and register new user-defined functions for tests and components. A new Documentation Only option in the Keyword View enables you to view and print the auto-documentation information for tests or components. For example, you may want to view and print the step descriptions displayed in the Documentation column as instructions for manual testing. QuickTest provides a new parameter type-local parameter. A local parameter enables you to parameterize an input value for a step, or to output a run-time value to a parameter. Local parameters are accessible only to the current business component. You can now create multiple application areas and use a different application area for each part of your application. Each application area specifies the resources and settings that can be used by a component. QuickTest provides you with a set of predefined resource files that you can associate with an application area or a specific component for additional functionality. You can find additional QTP 8x also makes easy of data driven for encrypted data |
|
| 144. |
What Is The Difference Between Set_window And Win_activate? When Would Use Set_window And When Would Use Win_activate? |
|
Answer» win_activate has the format win_activate(window);. The win_activate function makes the specified window the active window by bringing it into focus & raising it to the top of the display. (It is the equivalent to clicking on the window banner) win_activate has the format win_activate(window);. The win_activate function makes the specified window the active window by bringing it into focus & raising it to the top of the display. (It is the equivalent to clicking on the window banner) |
|
| 145. |
Explain Get Text Checkpoint From Screen Area With Syntax? |
|
Answer» "To capture selected area VALUE into variable for screen area OPTION in text checkpoint (get text)." "To capture selected area value into variable for screen area option in text checkpoint (get text)." |
|
| 146. |
How Do You Call A Function From External Libraries (dll). |
|
Answer» If you WANT CALL DLL FILE through Winrunner, you should use api controls it is a special functions. If you want call dll file through Winrunner, you should use api controls it is a special functions. |
|
| 147. |
What Does Static And Public Class Of A Function Means? |
|
Answer» The CLASS of a function can be either static or public.
The class of a function can be either static or public. |
|
| 148. |
What Are The Differences Between The Win Runner And Qtp? |
|
Answer» There are lot of differences in winrunner and QTP.
There are lot of differences in winrunner and QTP. |
|
| 149. |
How Do I Run Unix Shell Scripts Using Winrunner Tool? |
|
Answer» You cannot RUN Unix SHELL SCRIPTS in Winrunner COMMANDS, because Winrunner is Windows based. You cannot run Unix shell scripts in Winrunner commands, because Winrunner is Windows based. |
|
| 150. |
Is That Possible To Test A Mobile Application Using Winrunner? |
|
Answer» We don't TEST the MOBILE APPLICATION using WinRunner. Because it involves some protocols for data transmission. That is why we need some DIFFERENT type of tool for testing the protocols or we can do MANUALLY. We don't test the mobile application using WinRunner. Because it involves some protocols for data transmission. That is why we need some different type of tool for testing the protocols or we can do manually. |
|