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 we handle errors other than using recovery scenerios in qtp
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
what is the silent mode in WR?
How can the expected image for a bitmap checkpoint be recaptured in QTP
How many types of Parameters are available in QTP? and Pls Explain with example.
How we know the qtp has used the smart identification process for identification of the object.
Explain different checkpoints in qtp.
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
How to connect to a database?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
I am trying to write a descriptive program for clicking on a perticular link.For that i wanted an index or location of that object.But when I viewing through spy, There was no index property of that object.What to do for getting index value.How can I get index? please any one let me know.
what is aregular expression?