01-13-2012, 12:14 PM
This error comes when you have not defined the function.
Yes, you can call a function from library in your test.
As i can see you are using two functions.. but one of them is defined in test and the other one in your library.
******in fun lib****************
Function login
create(obj_buttion)
End function
*************************
In your library you are trying to use the function Create, which is defined in your test. Hence you are getting the type mismatch error.
Please place both the functions in your library and then use them.
Regards,
Ankesh
Yes, you can call a function from library in your test.
As i can see you are using two functions.. but one of them is defined in test and the other one in your library.
******in fun lib****************
Function login
create(obj_buttion)
End function
*************************
In your library you are trying to use the function Create, which is defined in your test. Hence you are getting the type mismatch error.
Please place both the functions in your library and then use them.
Regards,
Ankesh