when i was doing the Flight reservation with QTP
calculating the tickets i got Type mismatch: '[string: ""]'
in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the
mistake
Could you please tell me.
Answer Posted / e.srinivasrao
t=for tickets value storage(from get visable text function)
p=for price value storage(from get visable text function)
p=mid(p,2,len(p)-1)
p=cdbl(p)
tot=for total value storage(from get visable text function)
tot=mid(tot,2,len(tot)-1)
tot=cdbl(tot)
if tot=t*p then
reporter.reportevent 0,"s1","calculation pass"
else
reporter.reportevent 0,"s1","calculation fail"
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
How u will do versioning in QTP?
In what occasion we can specify global sheet and action sheet?
How do we handle run-time errors?
What are the different types of checkpoints?
What is qtpro?
How many add-ins comes by default with qtp?
Explain the differences between table and db checkpoints?
How to use parameterization in qtp?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
How to write business scripts using object repository with different scenarios
What are the differences between qtp and winrunner?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
how to find that tools work well with your existing system?