Custom Class Methods?

Hi there,


How can i access custom methods defined in custom keyword class in test scripts?


You can define that as a custom keyword so that can be used across your project. The return keyword in the methods will allow you to pass that to your tests.

Thank you for your reply,

I was able to create a custom keyword, however can i use custom data containing classes such as VOStudent and return in keywrod? If so, where should i define those classes?


If you use the Customkeywords class it allows you to access all custom keywords in the test scripts.

In the script view type CustomKeywords. content assist will list all the available methods in that class.

If you are using the Manual view, on clicking the Add menu, you will see the Custom keyword option.

Refer documentation here