Uzumaki
13 years agoOccasional Contributor
Recorded keyword test and identifying objects
Hi all
I have recorded some tests that click radiobuttons that are present in a grid. The recorder creates a step containg a click action on the object below.
Aliases["IEXPLORE"]["pageHttpLocalhostIntasmaWizardad"]["document"]["all"]["Item"]("ctl00_mainContent_ucAddCase_ucSelectBaseApplication_ucSelectCaseGridFrom_rbSelect611")
The problem is that the next time the test is executed this object no longer exists. Its called something like:
Aliases["IEXPLORE"]["pageHttpLocalhostIntasmaWizardad"]["document"]["all"]["Item"]("ctl00_mainContent_ucAddCase_ucSelectBaseApplication_ucSelectCaseGridFrom_rbSelect617")
I then figured I have to edit the namemapping file to try to identify the object an other way, but when trying to TestComplete says the object does not exist in the namemapping file.
How should I handle this problem? What am I missing?
/Joakim
I have recorded some tests that click radiobuttons that are present in a grid. The recorder creates a step containg a click action on the object below.
Aliases["IEXPLORE"]["pageHttpLocalhostIntasmaWizardad"]["document"]["all"]["Item"]("ctl00_mainContent_ucAddCase_ucSelectBaseApplication_ucSelectCaseGridFrom_rbSelect611")
The problem is that the next time the test is executed this object no longer exists. Its called something like:
Aliases["IEXPLORE"]["pageHttpLocalhostIntasmaWizardad"]["document"]["all"]["Item"]("ctl00_mainContent_ucAddCase_ucSelectBaseApplication_ucSelectCaseGridFrom_rbSelect617")
I then figured I have to edit the namemapping file to try to identify the object an other way, but when trying to TestComplete says the object does not exist in the namemapping file.
How should I handle this problem? What am I missing?
/Joakim