Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How will you enchance the script?

1 Answers  


Write a script to verify font style and color of a windows object using descriptive programming

0 Answers  


What are the advantages of Automation objects than Test Objects?

2 Answers   Adobe,


How to find a window is minimized or not

0 Answers  


hen do start automation testing after manual testing

1 Answers   Infosys,


What are the trigger events in qtp?

0 Answers  


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

0 Answers  


I have to pass all the test cases into gmail userid and password using functions please give me code thanks have anice and greate day

2 Answers  


How to capture the text from the application using QTP?

3 Answers  


what is option explicit? what is the use of it?

9 Answers   Syntel,


what is the difference between the modular framework and datadriven frame work

2 Answers  


Explain the difference between check point and output value?

0 Answers  


Categories