Ranorex unable to detect FireFox Popup
Posted: Thu Jun 13, 2013 7:33 pm
I can't seem to find a solution for this, and it's blocking our ability to test in FireFox. Just as a note, this works completely fine in IE.
There is a javascript that launches a pop up in FireFox... no matter what I do Ranorex cannot identify this pop up window. If I use the spy, it simply detects what's behind the pop up. If I use the instant tracker and click on a button in the pop up, it still just detects whatever was behind the popup.
I tried to find the element using Host.Local.FindSingle based on the text in the window, and it just found the script.
Surely there must be a way to do this, but I cannot find it. I've attached two screenshots, not sure how useful they are but it's all I've got. Taking a ranorex snapshot doesn't seem useful either... because the element cannot be found.
Any help would be greatly appreciated, as I said if we cannot handle pop ups we can't effectively test FireFox and we can't be the only people to have run into this!
(As a work around, we know that when the pop up appears the ok button is focused, so if we just hit enter it clears the pop up, but we need better logic than that, we have to know IF the pop up appeared so we can take certain actions).
The first screenshot shows the popup itself, and the second shows an inspection of the object found in ranorex... but again it's just the script, not the object itself
There is a javascript that launches a pop up in FireFox... no matter what I do Ranorex cannot identify this pop up window. If I use the spy, it simply detects what's behind the pop up. If I use the instant tracker and click on a button in the pop up, it still just detects whatever was behind the popup.
I tried to find the element using Host.Local.FindSingle based on the text in the window, and it just found the script.
Surely there must be a way to do this, but I cannot find it. I've attached two screenshots, not sure how useful they are but it's all I've got. Taking a ranorex snapshot doesn't seem useful either... because the element cannot be found.
Any help would be greatly appreciated, as I said if we cannot handle pop ups we can't effectively test FireFox and we can't be the only people to have run into this!
(As a work around, we know that when the pop up appears the ok button is focused, so if we just hit enter it clears the pop up, but we need better logic than that, we have to know IF the pop up appeared so we can take certain actions).
The first screenshot shows the popup itself, and the second shows an inspection of the object found in ranorex... but again it's just the script, not the object itself