How to call an external and built-in-function in a script using VB script statements?

Showing Answers 1 - 1 of 1 Answers

Built-in-functions:

dim myleftname

myleftname = "Vinothkumar"

msgbox left(myleftname,6)

External Functions ;

This requires the user to add the library in the Test >> settings >> Resources and call this lib

ex: mylib.vbs

function hi()

dim myleftname

myleftname = "Vinothkumar"

msgbox left(myleftname,6)

End function

In QTP call like this;

hi

"call" command is optional.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions