cancel
Showing results for 
Search instead for 
Did you mean: 

finding Objects on Web pages

Regular 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
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
[Community Expert Group]
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.


I’ll be talking about “Hidden Treasures – TestComplete Script Extensions” at #SBConnect in October! Who’s joining me? Click here for tickets
Extensions available
Regular Contributor

Re: finding Objects on Web pages

I have attached the screenshots

 

Thanks

NG

Highlighted
Community Leader

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
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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Share Your Stories
Read Latest News
Top Kudoed Authors