I want to run my recorded coded-ui tests in a different copy (different url- same system) my system. I need to change URL string, and i want to do it in my test file (in this case named: d01.cs) Here it is: I have a test name D01.cs, and here's the part i define my parameters:
public void D01()
{
this.UIMap.D01Params.UIRtbTxt1EditText = TestContext.DataRow["test1"].ToString();
this.UIMap.D01();
In UIMap.Designer i found this:
public class D01Params
#region Fields
/// <summary>
/// Go to web page 'http://localhost:8095/Login.aspx' using new browser instance
/// </summary>
public string UIBlankPageWindowsInteWindowUrl = "http://localhost:8095/Login.aspx"
I want to write url as a parameter in my D01.cs file., i want to take it from excel if it's possible.. but i cannot find the correct property to set it. this.UIMAP... does not answer
what should i do? i tried to use: this.UIBlankPageWindowsInteWindowUrl but still not working.