06-09-2009, 04:48 PM
Hi,
We are currently using QTP 9.5.
We have a web application being developed using .Net framework. This .Net framework allows them to dynamically generate html id based on number of controls loaded on the page which will differ for every build.
We first used html id as unique identification of webobjects. But as html id is changing for every build, we approach the development team for the unique id.
They informed that their .Net framework will map control's html id to a variable declared in Java webclient object which will be constant for everybuild .
Could you please let us know, how to get access to the variables declared as java webclient objects in javascript through QTP Run-time properties of page.
We are currently using QTP 9.5.
We have a web application being developed using .Net framework. This .Net framework allows them to dynamically generate html id based on number of controls loaded on the page which will differ for every build.
We first used html id as unique identification of webobjects. But as html id is changing for every build, we approach the development team for the unique id.
They informed that their .Net framework will map control's html id to a variable declared in Java webclient object which will be constant for everybuild .
Could you please let us know, how to get access to the variables declared as java webclient objects in javascript through QTP Run-time properties of page.