write a qtp script to verify that the business price is twice
the economy price in flight reservation window
Answer / mudaseer
window("flight reservation").winradiobutton("economy").set
eprice=window("flight reservation").winedit("price").getropro
perty("text")
ev=2*eprice
window("flight reservation").winradiobutton("business")
.set
bprice=window("flight reservation").winedit("price").getroprop
erty("text")
av=cdbl(bprice)
if av=ev then
res="pass"
else
res="fail"
end if
msgbox res
Is This Answer Correct ? | 4 Yes | 0 No |
How can i count the list box elements in QTP ?using script plz explain me (Chandana)
I m new to QTP? Is it necessary to know VB for learning QTP for Automation? Can I understand QTP excellently Without practical automation?
How can we test existence of a particular word in scentence using QTP tool. Thanks in Advance!!!!!
How to add multiple values in rows, under a single column of a run time datatable?
anyone can explian about types of "Triggere Events" in QTP
What is the descriptive programming?
What is the script for database check point, bitmapchek point, regular expression ?
How to convert manual test cases to automated testcases
hai there..this is chandu..i have a txt file which containing 1000 lines but at a time i want to retrieve 50 lines..after 50 lines i required to retrieve 51-100..like that i want...so could anybody help me in this...thanks in Advance..
I am using descriptive programming for my project.when QTP deosn't identity or recognize a object by record and playback method,is it possible to make QTP identify that object using descriptive programming? Note: The object doesn't have unique properties and same properties used in Record and playback are only available, no extra properties are defined.
When Recovery scenario actually starts while testing the application?
How to add synchronisation points in qtp?