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 |
how to pass parameters from one action to another using output parameters I am not calling action 2 from action 1, they are being called individually I need syntax please .. Requirement: Action 1 customer = Browser(" ").Page(" ").Link(" ").GetROProperty("value") I want to use the value stored in customer in Action 2 I do not want to use any of these actions as re-usable actions
Hi any body can tell me the synchranization point syntax thanks in advance
How do you test the different ads displayed in the Inbox home page of Yahoo. Once u login Yahoo mail, in inbox page there will a banner, where different ads are scrolling, how do you test that using qtp?
what is the Descriptive Progarmming? how it is help to testers in QTP?
Explain the types of object repositorys in qtp?
How to Import data from a ".xls" file to Data table during Runtime.
What is AUT in object reposity in QTP? Why we use it in Object repository???What is full form???????
Hi, one script having 10 Actions,but i want to execute only 3rd action and 7th action? how to execute selected actions? throgh script and through navigation?
How to Compare the 2 xl-sheets in QTP? ple write the vb Script for the comparison?
Explain quicktest professional (qtp) testing process?
how u track bugs using Test director in manual testing.
What is the difference between low level recording and virtual object.