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 31 - 40 of 469 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
QTP INTERVIEW QUESITONS
 
31How To Change A Name Of An Object In A Application?
Date Posted: 06/27/2012

Ans: As a tester u only check the functionalities of the objects. Developers can do that one. Ok the blow answer gives u a good idea. When recording an object Quick Test Professional uses one of the object's properties as the logical name for the object (the name displayed in the Expert View and in the Keyword View modes).You can change the property that is used to be a different one by specifying which property's value you want to use as the logical name for the object. For example in order to use the alt property as the logical name of an image, run regedit.exe and set the following information:[HKEY_LOCAL_MACHINESOFTWAREMercury InteractiveQuickTest ProfessionalMicTestTest Objects Image]"tag query name"="alt".

 
 
32How Can We Test A Stored Procedure?
Date Posted: 06/27/2012

Ans: After writing your function and save it as a .vbs file.U double click on it and make it error free.

Then in QTP, you go to Test->Settings->Resources.. And then click on the "+" symbol and browse the .vbs file and click on Apply Button.

After that Call your procedure with the "Call" Statement..It will work

There is another way also

u can write this command like

execute file path,

specify the path of .vbs file , It will work

 
 
33How To Configure The Environment Variables In QTP And How To Use The Variables, With Examples?
Date Posted: 06/27/2012

Ans: Setting environment variable
VARIABLE= Environment. Value (“XXXXXXXX”)
Retrieving the environment variable
Environment. Value (“XXXXXXXX”) = VARIABLE/CONSTANT

 
 
34How Can You Show The Data From A Particular Row And A Particular Column From Data Table In QTP?
Date Posted: 06/27/2012

Ans:

NumColumns=datatable.GlobalSheet.GetParameterCount

NumRows=datatable.GlobalSheet.getrowcount

For i = 1 to NumRows

Datatable.SetCurrentRow (i)

For j = 1 to NumColumns

tblCellText = Datatable(j,dtGlobalsheet)

If tblCellText <> "" Then

Msgbox "The Text in Row: " & i & " and Column: " & j & " is: " & tblCellText

End If

Next

Next

 
 
35 How To Write Recovery Scenario For Below Questions And What Are The Steps We Will Follow? If I Click Save Button. It Is Not Saving I Want To Write Recovery Scenario How?
Date Posted: 06/27/2012

Ans: To write recovery scenario u must 1st stop recording when u get an error then from tools menu -> select recovery scenario manager
When recovery scenario manager window is opened u can follow the steps as they are descriptive and select the appropriate option for the type of error u receive, u have to select what action is to be performed if this particular error occurs after completing the entire procedure u need to save the scenario to handle exceptions.
Then thru Test>setting> Recovery option attach the file to the recording and you do have a choice of whether to activate on every step or etc.
Thus you can use recovery scenario to handle exceptions.

 
 
36What Is The Scope Of A Variable In An Action?
Date Posted: 06/27/2012

Ans: Depends on where the variable is defined. If the variable is defined in action it is available to that action only.

 
 
37 What Is The Difference Between Window (““) And Dialog (““) In QTP While Creating Script?
Date Posted: 06/27/2012

Ans: Window is a separate window that appears on clicking on a particular link on which we can perform actions like edit the content etc. This will contain many objects like chkbox, edit box, combo box etc. Developers to validate a field use dialog box. It will contain an alert message and ok or/and cancel buttons.

 
 
38How To Report Defects?
Date Posted: 06/27/2012

Ans: As you encounter failures in the application when analyzing test results, you will create defect reports in Defect Reporting Tool.

 
 
39How Can I Execute QTP Scripts Through Command Prompt?
Date Posted: 06/27/2012

Ans:
Hereitgoes:C:ProgramFilesMercuryInteractiveQuickTestPlusUtilitiesCommandLineQuickTestLauncher.exe Automated ScriptsRegressionReg_Drilling&/r "D: results1 /log

 
 
40 I Have B Iterations Of Test Run In QTP. I Want To See The Results Of Not Only The Latest (n The) Iteration But Also All The Previous Iterations (1 To ‘[n-1]’ Th)?
Date Posted: 06/27/2012

Ans: While executing the QTP scripts select “New run results folder” option from the run dialog box and select the path to save the result file.

So, that we can verify previous iterations results also.

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