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

This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1554


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3301


How the exception handling can be done using quicktest professional?

635


What is the default object synchronization timeout in qtp?

744


How is test case write?

664






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

638


in a web page How to check and display a particular word from a paragraph?

2145


What is a checkpoint? How many check points are there in qtp?

616


What are the Disadvantages of shared object repository?

668


What is the synchronization point in qtp?

651


How will you find the current time of the remote machine using QTP script?

692


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

1841


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1861


How will internal and external links be validated and updated? how often?

752


Should have experience in framework means?

1511