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
What is the quicktest professional (qtp) testing process?
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
How you create new action in qtp?
What is the parameterization?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
What are the different attribute used with regular expression?
What is difference between Recording time object identification and Run time (Execution) time.
i can done the project with QTP in that time i can say how many members in my team size?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
How to find the length of the string in qtp?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
How do client side image and server side image work?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????