I am having trouble playing back QTP scripts. I am working on a web based application developed using ASP where QTP identifying objects by index value only. I tried to run the scripts by changing the property to name but it failed. There are many dynamic WebTables in my application. If a WebTable 1 is having index value 10 then WebTable 2 will be having index value 11 and so on.
In a situation where the WebTable 1 doesn't have any data then the index value of WebTable 2 becomes 10. Now all the WebTables in the application are having dynamic webelements(which are again links).
I am not able to run my scripts whenever the index value changes(When there is no data in the previous WebTable(s)). I can't even reassign index value depending on the existence of previous tables too as these reusable actions or functions are called in different scripts and index value of these WebTables are different in different modules.
Need help on this issue. Thanks