Win Runner Interview Questions and Answers
Question - 71 : - How You Integrated Your Automated Scripts From Testdirector?
Answer - 71 : -
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.
Question - 72 : - How Do You Unload The Gui Map?
Answer - 72 : -
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: GUI_close(); or GUI_close_all;
Question - 73 : - What is QTP testing tool?
Answer - 73 : -
QTP stands for Quick Test Professional, is a Functional Automation Testing Tool from HP. We can automate functionality of the application by recording the actions on application, developing scripts. Good for automating regression test cases. Scripting language used VB Script which is easily understood by the testers.
Question - 74 : - What is the purpose of GUI spy?
Answer - 74 : -
Using the GUI Spy, you can view the properties of any GUI object on your desktop. You use the Spy pointer to point to an object, and the GUI Spy displays the properties and their values in the GUI Spy dialog box. You can choose to view all the properties of an object, or only the selected set of properties that WinRunner learns.
Question - 75 : - Have you performed debugging of the scripts?
Answer - 75 : -
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.
Question - 76 : - How do you handle TSL Functions?
Answer - 76 : -
Suppose you are running a batch test on an unstable version of your application. If your application crashes, you want WinRunner to recover test execution. A TSL exception can instruct WinRunner to recover test execution by exiting the current test, restarting the application, and continuing with the next test in the batch.
The handler function is responsible for recovering test execution. When WinRunner detects a specific error code, it calls the handler function. You implement this function to respond to the unexpected error in the way that meets your specific testing needs.
Question - 77 : - How do you handle pop-up exceptions?
Answer - 77 : -
A pop-up exception Handler handles the pop-up messages that come up during the execution of the script in the AUT. TO handle this type of exception we make WinRunner learn the window and also specify a handler to the exception. It could be
Default actions: WinRunner clicks the OK or Cancel button in the pop-up window, or presses Enter on the keyboard. To select a default handler, click the appropriate button in the dialog box.
User-defined handler: If you prefer, specify the name of your own handler. Click User Defined Function Name and type in a name in the User Defined Function Name box.
Question - 78 : - What are the three modes of running the scripts?
Answer - 78 : -
WinRunner provides three modes in which to run tests: Verify, Debug, and Update. You use each mode during a different phase of the testing process.
Verify
Use the Verify mode to check your application.
Debug
Use the Debug mode to help you identify bugs in a test script.
Update
Use the Update mode to update the expected results of a test or to create a new expected results folder.
Question - 79 : - What is used to handle Visual Basic and ActiveX objects?
Answer - 79 : -
WinRunner is capable of handling Visual Basic and ActiveX objects when the add-ins for each are selected. Add-ins can be selected when WinRunner is being loaded.
Question - 80 : - How is an ODBC query created?
Answer - 80 : -
An ODBC query can be created by using the Database Checkpoint wizard. This includes an option to create an SQL file that contains a connection string and an SQL statement necessary to use an ODBC DSN to connect to the database.