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
How qtp recognizes the object?
For which type of projects the iterative model is not suitable?
what is review
Can any body please tell me the steps of keyword driven framework of QTP.
What are the advantages of a Hybrid framework?
What is synchronization? What are the ways you can synchronize?
What is object repository in qtp?
How does QTP identify an object?
Explain the concept of object repository and how quicktest professional recognises objects?
Explain the types of properties that quick test learns while recording?
can test automation improve test effectiveness?
What is the Difference between copy to action and call to action?
Hi All, I need code for how to execute qtp scripts from excell sheet
What is the quicktest professional (qtp) testing process?
How is the Bitmap checkpoint different from Image checkpoint?