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 is the command (keyboard command) to swith from expert view to key word view
What are the option you can use to synchronize your test?
Explain how Does Run time data (Parameterization) is handled in QTP?
what we do after completion of functional and regression testing
Analyzing the Checkpoint results ?
we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do
how to tell about testing a website in interview using qtp?? what r the points to be covered mainly?
What are SetToProperty, SetRoProperty, GetToProperty scripting?
How you are maintaining shared object repository in your team or your project?help me plz
what is exacltly TIERS ?
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
there is 3 flash player buttons does QTP identify them or not else we have to do install anything related that software if we have to install what is that software and how we install it into QTP8.2 GIVE ME EXCAT ANSWER IF U KNOW.