Ask a Question

not able to find object

mithunpal2
Contributor

not able to find object

Unable to find the following object when executing the Click command:

Aliases.​browser.​pageVsureLabNmsShawCaLogin.​form.​panel.​fieldset.​textboxName

 

Reason

The parent object was not found:

Aliases.​browser.​pageVsureLabNmsShawCaLogin.​form.​panel.​fieldset

 

Trying to enter some value in textbox but it is failing each time.

10 REPLIES 10

> angular based

Agree. Angular and React libraries were created without any consideration of easily created and reliable automated UI testing. .FindChild() is a way to go in this case. But .FindChildByXPath() is still the last resort when nothing else works.

TC 12.60 introduced improved support for Angular/React-based web pages through the Cuatom Attributes functionality (https://support.smartbear.com/testcomplete/docs/app-testing/web/general/object-identification/using-...) that may be used for NameMapping as well.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: