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.
Answers were Sorted based on User's Feedback
Answer / daly s
Try out this,it will definitely work
If csng(tot)=p*t
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / satya
Hi, thanks for your answerers. I tried what you suggested.
Still I did not get the Answer, I am getting same error.
My operating system is Vista.
Could you please anyone give me suggestion where is the problem?
thanks
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Answer / jyostna
QTP 9.2 supports windows XP and IE 7 ... i guess the above error is that u r using vista....
pls correct me if am wrong
| Is This Answer Correct ? | 1 Yes | 2 No |
i did B.Tech cse and i secured 76%. instead of siting at home ... i would like to do some course. can u suggest me in this.
Can we write winrunner language i.e TSL in QTP tool?
In Test Director , You can store Test cases or vb Script . Why we need VSS?
Question:how many types of repositories in QTP9.2?and explain??
Could you please suggest a book to start with QTP and also a book for advanced concepts?
What is the Difference Between Quick Test Pro and Quick test professional?
How many check points are there in QTP and what are they?
how to capture the run time values of web table.
Can I compare two DataBases using QTP ?
What does VBS file contain..? what is VBS file.?
How QTP recognizes Objects in AUT?
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?