Using QTP checkpoint, where do you store your expected
Properties of the object which later compares with the
actual properties of the object???

Answer Posted / firoz shaik

Hi I am Firoz.
Think that, you have to verify the value of a text box,
Dim act, exp
exp = "Firoz"
' for ex, the expected value of the text value is Firoz
then store Firoz in a variable.
act = Browser("Browser").Page("Page").GetROProperty("value")

If Strcomp(Exp, Act, 1) = 0
Msgbox "The expected value"&exp"is same as Actual Value"&Act
else
Msgbox "The expected value"&exp"is not same as Actual
Value"&Act
End If

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1877


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3126


Can you brief the hurdles you faced during Automation testing?

780


Explain the difference between data driven testing and parameterization ?

778


What are the 3 main stages involved in testing with qtp?

813


What are the general steps involved in the data driven framework?

760


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1723


what the difference between shared repository and per action repository?

760


How smart identification works in qtp ?

767


What is RTM (require ment tracebulity marix) fromate?

1714


what is the difference between IE & Netscape in web testing on a log in page

2021


What is the file extension of the code file in qtp?

764


What r the different filters in defect in quality center

3508


What is the purpose of loading qtp add-ins?

836


What is the syntax to call one script from another?

778