For example if customer order page has the structure:
Code: Select all
Order->Customer->MailingAddress->StreetAddress
So we can access StresstAddress by typing:
Code: Select all
Order.Customer.MailingAddress.StreetAddress
For example I want to add a property called:
Code: Select all
ExpectedValue
Code: Select all
LoadFromDataSource(string DataSourceName)
Code: Select all
Order.Customer.MailingAddress.StreetAddress.ExpectedValue = “Hello”;
Code: Select all
Order.Customer.MailingAddress.StreetAddress.LoadFromDataSource(“SqlServer");
I assume that Ranorex uses a template similar to Visual Studio & T4 to generate the repository code. If there is such a template, it will be great if I can modify it to get Ranorex to automatically generate the code for our custom properties and methods.
- Is there a way to modify the code generating template for the repository?
- If there is, what steps are required to add custom methods and properties for each items in the repository?
- Are there any other mechanisms in Ranorex that allows for automated creation of custom properties & methods for each items in the repository? (We already do use module variables)
We're open to any solution with the same effect.
Thanks