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
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
How to use output values in qtp ?
Can you write a script to check if the folder exists or not?
how will you check how many members visited the website www.infosys.com?
How will you find the current time of the remote machine using QTP script?
How do you convert manual test cases to automated test cases?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
please post the interview questions for QA position in FACTSET
why you have standardized functions? plzzz guys with real time exp. do answer
What is difference between shared and local object repository?
Hi How to retrieve data from web element line by line?
How to write business scripts using object repository with different scenarios
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
How many tabs are available in debug viewer pane?
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))