write a qtp script to verify that the business price is twice
the economy price in flight reservation window
Answer Posted / 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 |
Post New Answer View All Answers
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
How many tabs are available in debug viewer pane?
Write a script to customize the test results in PDF and HTML format.
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
In qtp, how you can exit for loop?
How would you directly trigger javascript in a test?
How to capture all the data of a webtable, weblist and combolist using QTP?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
How to integrate the qualitycenter with qtp
What are the features and benefits of quick test pro (qtp 8.0)?
Is it possible to use two instances of UFT on the same machine? If not why?
write a script to verify the image path(src property) of the images which are in web pages.
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
How will you test a stapler?