Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script failing as the Object name changes for each build
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
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:
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"
Reply


Messages In This Thread
Script failing as the Object name changes for each build - by Sri - 01-23-2008, 02:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)