cancel
Showing results for 
Search instead for 
Did you mean: 

finding Objects on Web pages

nisgupta
Valued Contributor

finding Objects on Web pages

When TestComplete Object Spy do not recognize the objects what are the other ways we can can recognize the objects ? 

 

Thanks

NG

4 REPLIES 4
tristaanogre
Community Hero

Re: finding Objects on Web pages

It depends upon the object.  Technically speaking, if it's on a web page and can be interacted with, it can be recognized.  So, what you've described is an odd case.  If you can give us more details as to what you're attempting to do (screenshots of the componet, of TestComplete Object Browser,  etc) we can help you get it to work.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
nisgupta
Valued Contributor

Re: finding Objects on Web pages

I have attached the screenshots

 

Thanks

NG

cunderw
Community Hero

Re: finding Objects on Web pages

The object you want to get to specifically isn't an object it's part of the text of an object. That entire panel (loginInfo) has it's own contentText that includes User: tmatador. You can grab the content text and strip out just the username with some regex if that's what you need. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
AlexKaras
Community Hero

Re: finding Objects on Web pages

Hi,

 

Additionally, your Object Browser is in simple mode (ss2.png) and you may switch it to the advanced mode to see more properties.

 

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
================================
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors