Forum Discussion

david_gilbert's avatar
12 years ago

Testing LightBox dialogs (SharePoint)

Hi -- I am testing a sharepoint 2010 system, and need to report baseline metrics on some business processes.  Many of the interactions happen in "Lightbox" dialogs.  I need to know when the dialog has cleared itself, but the "visible" property seems to persist even after the dialog has cleared.  10ths of seconds are important here, so using bitmap recognition is not a preferred method.  Anyone have any insight on testing in this paradigm?  Thanx!!



David
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi David,


     


    As far as I know, Allen from our TestComplete Support Team has replied to you:


    Try using the VisibleOnScreen property to check this. Another option is object size properties - invisible items often have zero size. Also, Sharepoint applications are usual web applications as far as I know, so you can consider checking runtime CSS styles to find out whether an element is supposed to be visible. The CSS properties to check are "display" ("none" for invisible items), "visibility" ("hidden" for hidden items), "width" and "height" (can be zero for hidden items) depending on how items are "cleared from view" in your specific application. Please see the "Getting CSS Attributes" article for more information.


     


    Did these suggestions help you?