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 |
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself
What are the differences between table and db checkpoints?
how to associate object repository during runtime in qtp
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
What are the different types of recording modes in qtp? Which will be used when?
What are the challenges u faced in testing with crm domain? How u overcome with?
How can we get the result from WindowsXP Command Window? (e.g. After we input 'ipconfig' in command window, how QTP get the result?)
We have 10 rows in datatable at runtime we get error at 3rd row ? what is the procedure for continuing same test from 4th row on wards?
What is the dis advantage of check points in QTP, if any?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
How to retrive XML file data in QTP ? using Script(Chandana)
Should have experience in framework means?