Make sure that only the class attribute is checked in object attributes to identify the object through the class spin.
Your spinner might be present for more time than that.
So try using WebUI.delay(NoOfSeconds) or increase seconds in waitForElementNotPresent
Yes it does. What doesn’t work is your method of describing a problem
Sorry, but you asked for that.
No it doesn’t. HTML elements and TestObjects do not have “icons”.
As you said yourself, the class attribute changes on… well, “something” but I can’t tell you what since your post is so vague.
Hey, plaid, you’ve been around a while – you know how this stuff works and you know how this forum works. Don’t make it like pulling teeth just to help you. Here’s a refresher, take the advice and figure it out.
The solution will be the same in either of the cases(universal in your words ).
Sharing the code will give you better results.
Thanks for sharing the code. So, create two test objects with the class in the object attributes checked.
So for one object the class will be fa fa-times while for the other the class will be fa fa-spinner fa-spin.
Now apply wait for element not visible( fa fa-spinner fa-spin) or
wait for element visible fa fa-times.