write a qtp script to verify that the business price is twice
the economy price in flight reservation window



write a qtp script to verify that the business price is twice the economy price in flight reservat..

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

Post New Answer

More QTP Interview Questions

MANUAL TESTING, AUTOMATION TESTING QTP,QC , Load Runner , SELNEIUM ONLINE TRAINING

0 Answers  


What is object repository in qtp?

0 Answers  


What is data driver in qtp? Where we use it?

0 Answers  


Discuss quicktest professional (qtp) environment?

0 Answers  


How QTP identify the system time that's changes every seconds?

0 Answers  






what is batch testing?

1 Answers  


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

0 Answers  


Error handling

3 Answers   Wipro,


how can we group that these test cases only should be automated and in which order you execute that test cases?

2 Answers   BSL,


What is checkpoints for quicktest professional?

0 Answers  


Is qtp supports uni-code?

0 Answers  


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

0 Answers  


Categories