cancel
Showing results for 
Search instead for 
Did you mean: 

Greyed-out objects in Object Browser

SOLVED
Highlighted
Occasional Contributor

Greyed-out objects in Object Browser

Does anyone know the reason for this?

Capture.PNG

 

The web page is fully loaded but these controls only seem to be populated much later on and it's causing playback problems.

 

It should be mentioned that Panel(4) is visible-on-screen but  TextNode(0) is not, but it's childeren are!

 

I have tried changing the "Search for visible objects first" option and neither checked or unchecked makes any difference.

 

Will using "RefreshMappingInfo" at the start of testing help?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Greyed-out objects in Object Browser

Objects that are "greyed out" have the Visible property set to false.  So, they are present in memory, but not visible.  The option "search for visible objects first" does not apply to viewing within the object browser but only with regards to runtime object identification.

 

What playback errors are you getting?  You may need to add additional logic to detect if an object is Visible before attempting to interact with it.


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

View solution in original post

2 REPLIES 2
Highlighted
Community Hero

Re: Greyed-out objects in Object Browser

Objects that are "greyed out" have the Visible property set to false.  So, they are present in memory, but not visible.  The option "search for visible objects first" does not apply to viewing within the object browser but only with regards to runtime object identification.

 

What playback errors are you getting?  You may need to add additional logic to detect if an object is Visible before attempting to interact with it.


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

View solution in original post

Highlighted
Occasional Contributor

Re: Greyed-out objects in Object Browser

Thanks for your quick response.  

 

You are right TextNode(0) did the visibility set false and the children not resident in memory at run time.

 

Clicking TextNode(0) which is actually a toolbar, caused the children to be created and picked up by FindChildEx.  In script debug mode I could see the wait expire once I clicked it's parent.

 

I discussed it with our dev team and they say it's the way the underlying web app architecture works (REACT).

 

To work around it we'll click the parent object.  No delay is needed.

New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
A new challenge is here!

Create a function to drag one element to another for the TechCorner tag!

Will you dare to take the challenge?


Scripts created in July:
- Passing custom command-line arguments as a test parameter
Top Kudoed Authors