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 |
What is FRAME WORK? How many Frameworks can QTP supports?
How to write business scripts using object repository with different scenarios
How to handle Recovery scenario in QTP. give detailed explanation about recovery scenario.
What is Automation frame work.How we will prepare in real time.
how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function
what is Defect density, defect leakage, defect age,latentbed,yasid testing, interface
HOW TO AUTOMATE CAPCHA IMAGES while creating Gmail account
what testing activities u may want to automate in a project?
Any one knows about descriptive programming to identify objects in a page? Kindly drop me mail prasanna.sabat@gmail.com
Suppose u write test case in Excel sheet . how u open that test case in Test Director?
what is the Debug view?
What is the Command used to start the QTP