15 years ago
Default Name of Web Button Changes - Test Complete 7.52.678.7
Hello,
We are facing the following problem while automating a web application in Internet Explorer 8 (IE-8).
Frequently it is required to remap objects due to conflicts in the name mapping file. We follow the following steps to remap the object.
• Delete the existing node of the object from name mapping file
• Remap the same object with the default object name that Test Complete suggests
For objects like Web Buttons the default name changes every time a new instance of Internet Explorer is launched (Please refer the attached screen shots). Here the same button object have different Mapped Name in different instances of web browser (IE-8). Second browser is opened only after the first browser is closed. As a result of this phenomenon we have to change the Mapped Name from present default name to default name that was earlier used in the automation script which takes considerable effort and time.
At present we are using methods like find(), findAll(), FindAllChildren(), child() etc instead of Name Mapping for these objects which requires frequent remapping due to conflict in Name Mapping file. But use of these methods considerably reduces the performance of the Automation suit.
Is there any way other than this, that you could suggest, so that the default Mapped Name of objects remains the same and we could continue to use the existing Name Mapping file? In earlier communication with Automated QA it was suspected that our name mapping file is edited out of Test Complete and the file is partially corrupted
System Specification:
Test Complete 7.52.678.7
Win XP Service Pack 3
Regards
Dnyaneshwari
We are facing the following problem while automating a web application in Internet Explorer 8 (IE-8).
Frequently it is required to remap objects due to conflicts in the name mapping file. We follow the following steps to remap the object.
• Delete the existing node of the object from name mapping file
• Remap the same object with the default object name that Test Complete suggests
For objects like Web Buttons the default name changes every time a new instance of Internet Explorer is launched (Please refer the attached screen shots). Here the same button object have different Mapped Name in different instances of web browser (IE-8). Second browser is opened only after the first browser is closed. As a result of this phenomenon we have to change the Mapped Name from present default name to default name that was earlier used in the automation script which takes considerable effort and time.
At present we are using methods like find(), findAll(), FindAllChildren(), child() etc instead of Name Mapping for these objects which requires frequent remapping due to conflict in Name Mapping file. But use of these methods considerably reduces the performance of the Automation suit.
Is there any way other than this, that you could suggest, so that the default Mapped Name of objects remains the same and we could continue to use the existing Name Mapping file? In earlier communication with Automated QA it was suspected that our name mapping file is edited out of Test Complete and the file is partially corrupted
System Specification:
Test Complete 7.52.678.7
Win XP Service Pack 3
Regards
Dnyaneshwari