Using QTP checkpoint, where do you store your expected
Properties of the object which later compares with the
actual properties of the object???
Answers were Sorted based on User's Feedback
Answer / shruthi
Hi ,
Store your expected property of the object in any variable
or still can parameterise it, and again using any
Environment object you can store the actual property of the
object and compare.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / 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 |
Answer / vijay
we can assign it to a variable
expval=true
act val=<obj hierarchy>,getroprperty().
.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prasad
Dear Shruti,
Pls give an example
How can we create a variable?
which format it should be?
what is its extention??
Pls give an example for an web button.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the types of data tables in qtp?
what are the files created after executing QTP script file, please specify the file names with extensions
in which case & which method we can use "native" property of an object ?
what are the challenges do we face while testing webbased applcations using the automation tool QTP or any?
Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties..
how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?
what is the latest version of QTP? Main difference between 9.2 and 10 version
-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?
How can you identify the browser and its information using QTP script?
How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application. plz explain in detailed or mail the sample code to malepatin@gmail.com
anyone can explian about types of "Triggere Events" in QTP
how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables