Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting "type mismatch error" when calling function in qtp
#1
Solved: 11 Years, 4 Months ago
Hi
Iam very new to QTP and am trying to call a function from qtp.
my function is :

Code:
Function sample()
msgbox "sample function"
End Function

i have added this script to qtp ( file -> settings-> resources).
However when i calling the function(call sample())in qtp its giving "type mismatch error".
please help me.

I am using QTP 10 trail version with activex,vb and web addins.


Attached Files Image(s)
   
Reply


Messages In This Thread
getting "type mismatch error" when calling function in qtp - by nmakkena - 11-11-2010, 07:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Different Type of Dropdown Selector zunebuggy 6 3,429 05-01-2018, 06:46 PM
Last Post: zunebuggy
  Calling a function in a Test Script from a function library anupam4j 3 6,127 06-26-2015, 12:31 AM
Last Post: babu123
  cannot use the type method on object and submit is not working jove1776 5 8,844 01-27-2015, 10:08 PM
Last Post: Parke
  How to import .xlsx file type to QTP qtped 3 6,668 03-27-2014, 01:33 PM
Last Post: Ankur
  type mismatch error in QTP QAlearningQTP 1 7,135 02-04-2014, 08:14 AM
Last Post: QAlearningQTP

Forum Jump:


Users browsing this thread: 2 Guest(s)