Hi!
Im currently automating an Web application that frequently uses js lightbox as modular windows.
My problem is this:
I have mapped a static element "e" on Page "p" to repository. To validate that the page "p" is visible i use eInfo.Exists(), no problems so far.
After opening and closing a lightbox on same page, the eInfo.Exists() always returns false.
RanorexSpy finds the element without any problems (before and after lighbox open/close). But by code i can not get this working.
I checked the State property on the Repo base element (to make sure page is not invalid)
Repo.AppName.Self.State, it returns "complete"
*I use this structure on 20 more pages, to validate that a page is visible. Never seen this problem before.
It seems the lighbox-open/close action causes some problems.
public static bool IsVisible() { return Repo.AppName.PageName.ElementInfo.Exists() }