I am a beginner with Ranorex. I have been trying to do a simple script which perform the below operation:
- One common function for log-in with 3 module variables (URL, UserName & Password)
- Call this function from a Test Case (From User Code)
Script works fine with the default values. I tired to read the three parameter from Excel (Followed steps in the Lesson 7 (http://www.ranorex.com/support/user-gui ... html#c3110).
Every time the module variables takes the default values and the script fails. I have provided the screenshots in the attachment.
This is below code is one which is inserted by Ranorex. Is there anything to be updated here?
Code: Select all
string _URL; //= "Application Url";
[TestVariable("64F4E838-F997-4B8F-9DEA-777A48E17A28")]
public string URL
{
get { return _URL; }
set { _URL = value;
URL = _URL; }
}
[/img]
Not sure where i am going wrong, it would be very helpful if anyone can help me on this.
Thanks & Regards,
Kumar