Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
785 views
by Expert (572 points)
reshown by
I am executing tests on TestComplete. When I try to execute tests, it says

Microsoft VBScript runtime error, Type mismatch

Any solution, please?

P.S. I am calling the function written in another file.

1 Answer

1 like 0 dislike
by
selected by
 
Best answer

Okay, it looks like you have not imported the file you are trying to call the function from.

You can declare the flile you want to import functions from as given below.

'USEUNIT <Script file name to be imported>

 


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...