Posted: 17 Nov 2016 16:39 EST Last activity: 6 Nov 2018 20:02 EST
Can we make open span to wait until loading animation is hidden
As in the screenshot, I have java swing tabstrip control with 2 tabs. currently a loading animation will be visible in UI until all its tabs loads. Can we make openspan to wait until this loading icon is hidden or all its tabs are loaded. Currently after the first tab loads, the execution is moving to next block.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Typically with java application controls, there is a property for the control that allows OpenSpan to only match a control when the control is visible. The name of this property is called UnMatchOnHidden.
You will need to interrogate the animation control, adjust the match rules to match the control consistently. Once you find consistent match rules to use, open the properties window with the animated control selected and look for the "UnMatchOnHidden" property. Set the value to this property to true.
This will make it so that OpenSpan will only match the control when it is visible. You can then use the control's created events to trigger automation logic response to the creation of that control when visible.