Is it possible to Assert if a given SPAN object is expanded or collapsed?

Tuesday, July 14, 2015 10:18:32 AM
Is it possible to Assert if a given SPAN object is expanded or collapsed? Looks like there is no way of doing it.

By the way, there is no way I could add my screenshot here, the "Add Image" in tool bar doesn't work. When I pressed on it, it just include a small icon on this text.

4 Replies
Tuesday, July 14, 2015 8:30:05 PM
Avatar
re: takayuryou on Tuesday, July 14, 2015 10:18:32 AM

Hi

Could you please send us a help desk ticket with a screenshot, we'd be happy to help you out?

Regards

Adam

Wednesday, July 15, 2015 3:42:16 AM
Avatar
re: inflectra.adam on Tuesday, July 14, 2015
Ok I already create a ticket regarding this issue. So, this thread can be removed. However, you might need to fix the "Add Image" issue I had mentioned. Thanks.
Monday, July 20, 2015 5:14:01 PM
Avatar
re: takayuryou on Tuesday, July 14, 2015 10:18:32 AM
Here is the reply that was given to the Help Desk ticket:

In this particular case it can be done via analysis of the class property of an object. It has "expand" when SPAN is expanded.

var cls = SeS('SPAN').DoDOMGetAttribute('class');

or

var cls = SeS('SPAN').GetClass();

Test for presence of "expand":

class.indexOf("expand") != -1

About the Add Image icon, clicking it should pop up a dialog box where you paste in the URL of the image. If it does not do this, check your browser settings. You may be blocking pop-ups.
Tuesday, July 21, 2015 3:58:06 AM
Avatar
re: inflectra.elise on Monday, July 20, 2015
Thanks. I will try :)
Statistics
  • Started: Tuesday, July 14, 2015 10:18:32 AM
  • Last Reply: Tuesday, July 21, 2015 3:58:06 AM
  • Replies: 4
  • Views: 523