tmi5019
11 years agoNew Contributor
Object names changing after updating
Hello,
It seems that if we update our website, even if the objects that I am testing are not changed in the update, the object names will still change. I am using TestComplete 9.20 on Internet Explorer. For example, an object name might go from:
Aliases.browser.pageAddAttachment.formFormbody.table.cell1.panelAttachment.panelSfquestions.fileAttachmentCustomattributesDr
to
Aliases.browser.pageAddAttachment.formFormbody.table.cell2.panelAttachment.panelSfquestions.fileAttachmentCustomattributesDr
The number after cell gets changed. I bolded this number to make it easier to find.
This causes the test to not find the object on the website and thus fail. Is there any way to get around this using Keyword Testing?
Thank you,
Taylor
It seems that if we update our website, even if the objects that I am testing are not changed in the update, the object names will still change. I am using TestComplete 9.20 on Internet Explorer. For example, an object name might go from:
Aliases.browser.pageAddAttachment.formFormbody.table.cell1.panelAttachment.panelSfquestions.fileAttachmentCustomattributesDr
to
Aliases.browser.pageAddAttachment.formFormbody.table.cell2.panelAttachment.panelSfquestions.fileAttachmentCustomattributesDr
The number after cell gets changed. I bolded this number to make it easier to find.
This causes the test to not find the object on the website and thus fail. Is there any way to get around this using Keyword Testing?
Thank you,
Taylor