The only way of knowing how many iterations the script will need to performed is by looking at how many rows are contained in the spreadsheet. Fortunately, Telerik will automatically play the script over for all the rows in excel. However, the element changes for any subsequent row because there is a link on the web form to add a new row. So, say that the element initially is FirstNameTextBox. The subsequent element after clicking the add row would be FirstNameTextBox0 and then FirstNameTextBox1.
Since there can be several lines in the excel spreadsheet depending on what the user puts in, I won't know how many elements I will need to record unless I record several assuming they won't reach that max limit. So, is there a way to search for these elements without having them in the element repository and making them dynamic in code? Say that FirstNameTextbox7 isn't in the element repository, but it exists in the dom. Will it recognize something like below during playback?
Such as.
object count = 0;
Pages.Webform.FirstNameTextbox&count.text = data["FirstName"];
count = count + 1;
Since there can be several lines in the excel spreadsheet depending on what the user puts in, I won't know how many elements I will need to record unless I record several assuming they won't reach that max limit. So, is there a way to search for these elements without having them in the element repository and making them dynamic in code? Say that FirstNameTextbox7 isn't in the element repository, but it exists in the dom. Will it recognize something like below during playback?
Such as.
object count = 0;
Pages.Webform.FirstNameTextbox&count.text = data["FirstName"];
count = count + 1;