15 years ago
How To Find Dynamically Created Table
I have found that I can click on a link in a web page I am testing by running the following JScript:
The problem I am running into is that tableMsId% is named dynamically when the web application is run. For example, it was called tableMsId4 when I created the script. But it could be tableMsId7 next time I open this web application and attempt to run the script. Does anyone have any thoughts what I can do to always be able to find this table?
Aliases.IEXPLORE.pageSdb.panelDivbanner.table.cell.panelDivheadercontrol.table.cell.tableMsId4.cellListmanager.Click();
The problem I am running into is that tableMsId% is named dynamically when the web application is run. For example, it was called tableMsId4 when I created the script. But it could be tableMsId7 next time I open this web application and attempt to run the script. Does anyone have any thoughts what I can do to always be able to find this table?