Hi,
I am trying to set some test in a text box on a gridview, the textbox will be different on each test so i need to set the element name on each text,
This is what i have so far (simplified), i am assumed i could set the string and then replace the target element, but i says it cannot be a string, is there a way i can do this? create a new target element?
Thanks
I am trying to set some test in a text box on a gridview, the textbox will be different on each test so i need to set the element name on each text,
int no = Row.RowIndex;
string textbox = "Pages.ERecruitment7.ContentPlaceHolder1GvLookupTxtengagementStatus"+no.ToString()+"Text";
Log.WriteLine(textbox);
Actions.SetText(textbox, "AAA_Test Studio_BBB");
This is what i have so far (simplified), i am assumed i could set the string and then replace the target element, but i says it cannot be a string, is there a way i can do this? create a new target element?
Thanks