01-23-2008, 02:59 AM
Hi Ankur,
We have started using QTP recently in our office.I have started my regression suite with just 5 scripts and I am having difficulty maintaining those 5 scripts as the Object name that QTP assigns is changing for every build.How can I handle this time of scenarios in QTP ?
If you see at the following example. The names are different in 2 different build for the same object.
Build 1:
Build 2:
We have started using QTP recently in our office.I have started my regression suite with just 5 scripts and I am having difficulty maintaining those 5 scripts as the Object name that QTP assigns is changing for every build.How can I handle this time of scenarios in QTP ?
If you see at the following example. The names are different in 2 different build for the same object.
Build 1:
Code:
Browser("ADMServer Login").Page("ADMServer_3").WebEdit("ADMServerPanel1$ctl03$ctl05$Se_5").Set "100"
Build 2:
Code:
Browser("ADMServer Login").Page("ADMServer_3").WebEdit("ADMServerPanel1$ctl03$ctl05$ct_51").Set "100"