Making Classes available in Recording Editor
Posted: Sat Aug 17, 2019 12:04 am
Hi,
I'm working in a team using Ranorex to test a windows application. I would like to write a class for our tests that is essentially this:
Is this possible, if so how would I go about doing this?
Thanks in advance!
I'm working in a team using Ranorex to test a windows application. I would like to write a class for our tests that is essentially this:
public class User { string name; string password; string role; public bool LogIn() { //do login } public bool ChangePassword(string NewPassword) { //change password} public User( string, string, string){} }I know how to do this in UserCode, but I would like to make this accessible to the Recordings such that someone can create new action > user code > UserInstance.LogIn();
Is this possible, if so how would I go about doing this?
Thanks in advance!