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 |
What do you to script when objects are removed from application?
what is difference between calling a function and reusing an action?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
can u expect, major bugs in NET BANKING Project? Modules Transaction Module, Customer Relation Module.
In ordinal identifier there r 3 options available. Which one will be enabled first when ordinal identifier is invoked.
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???
what is Smart identification
how to automate standalone infopath forms using QTP? (it is not a dotnet or a web form)
what are the qtp tester responsibilities?
what area in a web application cannot be automated.
How many types of Parameters are available in QTP? and Pls Explain with example.