Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '..

Answer / daly s

Try out this,it will definitely work
If csng(tot)=p*t

Is This Answer Correct ?    3 Yes 1 No

when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '..

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

when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '..

Answer / ravi

Try this

if cdbl(tot) = cdbl(p) * cint(t) then

Is This Answer Correct ?    0 Yes 1 No

when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '..

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

when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '..

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

Post New Answer

More QTP Interview Questions

what is the command (keyboard command) to swith from expert view to key word view

3 Answers  


What are the option you can use to synchronize your test?

2 Answers  


Explain how Does Run time data (Parameterization) is handled in QTP?

0 Answers  


what we do after completion of functional and regression testing

2 Answers  


Analyzing the Checkpoint results ?

1 Answers   Crea,


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

5 Answers   Covansys,


how to tell about testing a website in interview using qtp?? what r the points to be covered mainly?

2 Answers  


What are SetToProperty, SetRoProperty, GetToProperty scripting?

2 Answers  


How you are maintaining shared object repository in your team or your project?help me plz

1 Answers   CTS,


what is exacltly TIERS ?

0 Answers  


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

0 Answers   TCS,


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.

1 Answers  


Categories