Micro Focus QTP (UFT) Forums

Full Version: Function association to a object
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have created a function library which holds the function

Code:
public function newset
' body
end function
RegisterUserFunc "WebEdit", "Set", "NewSet"

then i associated the function library with test. On creating step to webEdit object, newset function is not getting listed in the operation list box.

How can i add function to object?
how can i override a function of object?
Should work. Have you tried, closing and reopening the test ?
I tried by reopening the test, but it is not working.........
Is body of the function need to be support with the object.
Sorry about the ant - tips...Would you mind removing the Function library and associating it again ?