cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to identify an object in screen

SOLVED
Highlighted
Occasional Contributor

Not able to identify an object in screen

Hi,

 

when I spy an object in the object browser, I get the mapping for that object as"NameMapping.Sys.browser.pageClaimsConnect.formAspnetform.frameMaincontentiframe.formAspnetform.panelDivcolumnd2.panel.panelDivcontentforpnc.panel.panel.panel.panelLiquid"

 

However, when I try to code to identify the same object - It says " Object doesnot exist".  

On analysis I found that TC is not able to identify object "panelDivcolumnd2" . Am not able to see where that object is specifically located in screen.

 

can someone help me in this ?

 

Thanks 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Manager

Re: Not able to identify an object in screen

Hi @Geethanjali,

We have a great learning course - TestComplete: Handling the "Object Not Found" Errors. It contains videos explaining why the error appears and possible ways to resolve it. I recommend that you enroll in the course to try to find the solution.

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

Highlighted
Occasional Contributor

Re: Not able to identify an object in screen

This issue has been resolved now after I started to refer to full name of the objects from object explorer. 

View solution in original post

5 REPLIES 5
Community Manager

Re: Not able to identify an object in screen

Hi @Geethanjali,

We have a great learning course - TestComplete: Handling the "Object Not Found" Errors. It contains videos explaining why the error appears and possible ways to resolve it. I recommend that you enroll in the course to try to find the solution.

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

Highlighted
Occasional Contributor

Re: Not able to identify an object in screen

hi ya

 

I saw the course. It has not helped me much in solving the issue. with Iframes I have tried every option provided in the help pages and it is not helping me at all. If anyone has any solutions of coding successfully in iframes do let me know.

 

Thanks 

S.Geethanjali

Highlighted
Community Hero

Re: Not able to identify an object in screen

Hi,

 

Am not able to see where that object is specifically located in screen.

I would do it this way:

-- Put the tested application into required state (i.e. with the panelDivcolumnd2 object to be displayed on the screen);

-- Switch to the NameMapping editor and note identification properties for the problematic panelDivcolumnd2 object;

-- Right click the formAspnetform object in the NameMapping pane and commend to select the object in the Object Browser;

-- Using the noted identification parameters for the panelDivcolumnd2 object, try to identify the child object below the formAspnetform that must correspond to the panelDivcolumnd2. This must be direct child if Extended Find is disabled for the panelDivcolumnd2 object in NameMapping. If Extended Find is enabled, then you will have to drill down the tree of formAspnetform's descendants and find the required one;

-- After you identified the required panelDivcolumnd2 object in the Object Browser, compare its current properties with those used for NameMapping and identify those that appeared to be dynamic;

-- Modify NameMapping for the panelDivcolumnd2 object to exclude dynamic properties and replace them with the unique and stable ones.

 

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
================================
Highlighted
Occasional Contributor

Re: Not able to identify an object in screen

This issue has been resolved now after I started to refer to full name of the objects from object explorer. 

View solution in original post

Highlighted
Community Manager

Re: Not able to identify an object in screen

It's great to hear that the solution was found, @Geethanjali!

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Compare images using the Region Checkpoint

See replies!

Converting UTC TimeDate in an Excel file

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors