Forum Discussion
Why are you mapping the control every time you see it? If the name changes just a little, you can look at using wildcards to let the name mapping match a range of values and then you won't need to do that mapping every time.
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html
Apologies, I am using incorrect terminology. I should avoid the word "mapping".
What I am doing is clicking on a control, moving on to the next test without restarting the application being tested, and then attempting to click on the control again. I am not mapping this control, I am using FindChild to access it both times. The second time I attempt to click it I get the following:
When I inspect the control in ObjectBrowser, it exists, but it has a ControlIndex and ControlIndexInGroup of -1.
It also has a Height and Width of zero, as well as ScreenLeft and ScreenWidth of zero.
- testertesting5 years agoOccasional Contributor
To add a bit more context, see the screenshot below. The Object Browser shows that the object is not showing the same way as before.
- Marsha_R5 years agoModerator
Outside of TestComplete, what happens if you walk through those exact same steps manually?
- sonya_m5 years agoSmartBear Alumni (Retired)
Thank you Marsha!
Hi testertesting please let us know if you solved the issue. Otherwise, it looks like Marsha is waiting for more details from you, and the Community would be happy to continue the investigation!
Related Content
- 8 years ago
Recent Discussions
- 22 hours ago
- 22 hours ago
- 5 days ago