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 |
in my system object spy show the web application as a window based propeties ex:winedit like that and also not recording scripts also so what should i do
Hello everyone, I am trying to parametrize a script. Its clear to me that, we use data table to enter various text data. but if I want to change the radiobutton (e.g. if for first iteration I selected radio button 'A' and for second iteration I want to use 'B' radio button for second iteration) then how can I make it happen. I have tried to define the question but still if not clear plz tell me. Thanks everyone
Diff b/n image n bitmap checkpoints?
How to do Batch run in qtp? provide the steps?
What is QTP Frame Work ,and i want it in detail
How to record right click of a context menu and click on the selection ?
in qtp wha t is synchronisatin pt,what is the maximam time out
What is the difference between property and method?
what is Compile Module in QTP? what exactly it contains Functions or Actions?
IN A WEB PAGE THERE IS TWO WEB BUTTON WITH SAME OBJECT PROPERTY AND VALUE, SO HOW I WILL IDENTIFIE OBJECTS INDIVISUALY.
when i perametarization of the test through outputcheckpoint,i have seen run time error i.e outputcheckpoint mismatch .Plz tell anybody to me(qtp).How to clear that?
How do you connect to database ,What is the script to connect DATA BASE?