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
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?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
How the exception handling can be done using quicktest professional?
What is the default object synchronization timeout in qtp?
How is test case write?
What are the general steps involved in the data driven framework?
in a web page How to check and display a particular word from a paragraph?
What is a checkpoint? How many check points are there in qtp?
What are the Disadvantages of shared object repository?
What is the synchronization point in qtp?
How will you find the current time of the remote machine using QTP script?
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 ?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
How will internal and external links be validated and updated? how often?
Should have experience in framework means?