Krishna Logo
qa training in canada now
Divied
Call: Anusha @ 1 (877) 864-8462

 

Latest News
Home Navigation Divied
INTERVIEW Navigation Divied QTP INTERVIEW QUESITONS
Showing 11 - 20 of 469 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
QTP INTERVIEW QUESITONS
 
11How To Add An Optional Step In QTP?
Date Posted: 06/28/2012

Ans: To set an optional step in the Keyword View, right-click a step and choose Optional Step. The Optional Step icon is added next to the selected step.

To add an optional step in the Expert View, add Optional Step to the beginning of the VBScript statement. For example:

OptionalStep.Browser ("Browser").Dialog ("AutoComplete").Win Button ("Yes").Click

 
 
12What Is An Optional Step In QTP?
Date Posted: 06/28/2012

Ans: An optional step is a step that is not necessarily required to successfully complete a run session.

During a run session, if the object of an optional step does not exist, QTP bypasses this step, after the global synchronization time out and continues to run the test. When the run session ends, a message is displayed for the step indicating that the step was not performed, but the step does not cause the run to fail.

 
 
13What Is The Difference Between Step Into, Step Out And Step Over In QTP?
Date Posted: 06/28/2012

Ans:
Step Into: Step Into is used for debugging the test steps line by line.
When the procedure gets called, Step Into enables you to get inside the procedure and debugs the procedure steps line by line.

Step Over: Step Over will enable, only after the debugging is started with Step Into / Run From Step / Run to Step. Step Over is used for debugging the test steps line by line, but when the procedure is called, the entire procedure call will be executed as single step. The cursor never gets inside the procedure.

Step Out: Step Out will enable, only after the debugging cursor gets inside a procedure. The cursor will get inside a procedure only when the test is debugged with Step Into.

 
 
14How To Edit Custom Active Screen Capture Settings In QTP?
Date Posted: 06/28/2012

Ans: To edit Custom Active Screen Capture Settings follow the steps
1) Select Tools -> Options. Options dialog box opens
2) Select "Active Screen" Tab
3) Click on Custom Level button. Custom Active Screen Capture Settings dialog box opens
4) Choose the appropriate options. Click OK
5) Click OK

 
 
15How To Ignore The List Of Browsers From QTP?
Date Posted: 06/28/2012


Ans: You can instruct QTP to ignore specific browsers that are open while you are recording or running a test or component. This enables you to keep browsers that are not related to your testing environment open, without having them affect the record or run session.

Follow the steps to ignore the list of browsers:

1)Select the menu options Tools -> Options. Options dialog box opens
2) Select the Web Tab
3) Ignore the following browsers - instructs QTP to ignore any specified browsers that may be open while Quick Test is recording or running a test or component.
4) Click on Add (+) button to add the list of browsers
5) Enter the browser details like - Browser Name, Title and URL.

 
 
16How To Enable Or Disable Smart Identification Property For A Specific Object In Web Based Application In QTP?
Date Posted: 06/28/2012


Ans: To enable or disable smart identification property for a specific object in web based application follow the steps
1) Choose Resources > Object Repository
2) Select the object, you want to enable / disable smart identification
3) Choose Object Properties -> Additional Details -> Enable Smart identification
4) Select True, if you want to enable Smart identification
or
Select False, if you want to disable Smart identification

 
 
17What Are The Ordinal Identifier Types Available In QTP?
Date Posted: 06/28/2012

Ans: There are 4 types of ordinal identifiers available in QTP:

Location: Indicates the order in which the object appears within the parent window, frame, or dialog box relative to other objects with an otherwise identical description.

Index: Indicates the order in which the object appears in the application code relative to other objects with an otherwise identical description.

Creation Time (Browser objects only): Indicates the order in which the browser was opened relative to other open browsers with an otherwise identical description.

None: Does not specify an ordinal identifier. This is the default value if no ordinal identifier was recorded or learned.

 
 
18How To Change The Properties Of A Shared Object, Which Is Associated With Multiple Tests In QTP?
Date Posted: 06/28/2012


Ans: To change the properties of a shared object, which is associated with multiple tests or actions follow the steps.

1) Open the shared object repository from Object Repository Manager (Open the Object Repository Manager from Resources -> Object Repository Manager). Select File -> Open, and select the .tsr file which is associated with the multiple actions.
2) Select File -> Enable editing
3) Now edit the properties of the object. And save it.
4) Now the edited properties of the object will be reflected in all the associated actions and tests.

 
 
19 How To Enable Smart Identification For Standard Windows Objects In QTP?
Date Posted: 06/28/2012

Ans: To enable smart identification for standard windows objects, follow the steps as mentioned
1) Choose Tools -> Object Identification. Object Identification Dialog Box opens.

You use the main screen of the Object Identification dialog box to set mandatory and assistive properties, to select the ordinal identifier, and to specify whether you want to enable the Smart Identification mechanism for each test object.
2) Choose the standard windows from the combo box of Environment
3) Select the object in the left frame, the object you want to enable the smart identification.
4) Select the Check box "Enable Smart Identification" for the object
5) Click OK.

Now if you capture the object (which you have enabled the smart identification) in object repository. Now you can see the smart identification enabled in object repository area.

 
 
20What Are The Options Available In Web Page Appearance In QTP?
Date Posted: 06/28/2012

Ans: The Web Page Appearance dialog box contains the following options:

Run scripts. Specifies whether Quick Test runs scripts when a page is loaded in the Active Screen, according to one of the following options:

Enabled: Runs scripts whenever loading a page in the Active Screen.
Automatic: Runs scripts as needed, according to the page that is displayed.

Disabled: Prevents scripts from running when loading a page in the Active Screen.

Note: This option refers only to scripts that run automatically when the page loaded. It does not enable you to activate scripts in the Active Screen by performing an operation on the screen.

Load ActiveX controls. Instructs Quick Test to load ActiveX controls from your browser page to the Active Screen, so that for each step you can preview how the page is actually displayed in the application. If this option is cleared, a default ActiveX image is displayed in the Active Screen for all ActiveX control objects.

Load images. Instructs Quick Test to load images from your browser page to the Active Screen.

Load Java applets. Instructs Quick Test to load Java applets from your browser page to the Active Screen, so that for each step you can preview how the page is actually displayed in the application. If this option is cleared, a default Java image is displayed in the Active Screen for all Java applet objects.

 
Showing 11 - 20 of 469 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
Shadow Bottom
 
 
© 2005 -