01-13-2012, 11:51 AM
Hi Friends I am new to qtp pleze help me out,
i have created a function lirary and associated it to a test
when i am calling a function in in the test its working properly but when i am calling a function in function library ( the function which is placed in Test )
it was giving a type mismatch error how to solve it...
Ex:
*** test***********
******in fun lib****************
*************************
That is the code, calling a fun from lib to test is possible or not..
when i try this i was getting a "type mismatch error"
i have created a function lirary and associated it to a test
when i am calling a function in in the test its working properly but when i am calling a function in function library ( the function which is placed in Test )
it was giving a type mismatch error how to solve it...
Ex:
*** test***********
Code:
login
function create(buttion1)
buttion1.click
end function
Code:
Function login
create(obj_buttion)
End function
That is the code, calling a fun from lib to test is possible or not..
when i try this i was getting a "type mismatch error"