Forum Discussion
hina have you tried using the appropriate WaitNNN methods to wait for the child object to to be created?
From what your have mentioned with regards to property values, it seems like your object is not created. Therefore, you can not check the property values yet.
Hi rraghvani,
Yes, I have tried WaitChild method, but no luck. The only thing that is working everytime is when I restart the application I am working with.
- rraghvani4 months ago
Champion Level 3
If you use the Object Browser (not Object Spy), is there any indication as to when the child object is created?
Are you able to post a picture of the Object Browser, before and after object is created (similar to my example)?
- hina4 months agoContributor
I am posting a screenshot of the Object Browser, the highlighted object is what I am trying to click:
This object is always visible physically, as you can see in the screenshot the object is visible but still the Height and Width is 0. I am also including the screenshot of the object browser after restarting the application, where Height and Width is not 0 and I am able to click the object:
- Hassan_Ballan4 months ago
Champion Level 3
Notice also the ControlIndex and ControlIndexGroup are "-1". It looks like the UI element is being destroyed and never properly recreated, or Memory corruption or rendering issues.
What happens when you try code refresh, or Object Browser panel GUI refresh
Sys.Refresh(); // Refresh process list Sys.Process("MyApp").Refresh(); // Refresh UI tree inside app