How to validate a greyed out page

Ranorex Studio, Spy, Recorder, and Driver.
kgasimov
Posts: 16
Joined: Fri Nov 21, 2014 9:55 am

How to validate a greyed out page

Post by kgasimov » Wed Jul 08, 2015 8:59 am

Dear Ranorex support team,
I am using an applıication which I click on a action button called `xxxxxx`, a popup screen appears in a new page. The background - main page will be greyed out. I have to validate that the main page is really greyed out and is not touchable.
I've tried a 'compare image' based validation. What I did was take a screenshot of current screen, hope that the validation would pass when the window was greyed out. But the image based validation failed. Can you confirm why a 'compare image' based validation would failed in these circumstances?
More importantly, can you confirm if there are any other methods I should try that would result in a successful test? A successful test would be the validation passing if the main process screen greyed out and it is not touchable.
Let me know if you need any more information.
Thanks,
Kamal Gasimov

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to validate a greyed out page

Post by odklizec » Wed Jul 08, 2015 9:13 am

Hi Kamal,

Could you please post some more details about the application under test (desktop/mobile/web/?), your system (OS) and Ranorex version? A very helpful would be Ranorex snapshot (not screenshot) of your application under test, with "grayed out" background.

It would be very hard, if not impossible, to provide you with reliable answer without above details (especially Ranorex snapshot). I would personally use Image-based validation as a last resort, if everything else fails ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

kgasimov
Posts: 16
Joined: Fri Nov 21, 2014 9:55 am

Re: How to validate a greyed out page

Post by kgasimov » Wed Jul 08, 2015 10:01 am

Hi odklizec,
Thank you for quick response. I have next information for you:

1. This is a desktop application
2. My OS: Windoes 7 Enterprise
3. Ranorex version: 5.3

I would like send Ranorex snapshot to an email. It is not acceptable to make a document published on the public forum. Do you have an email for me?

Thanks,
Kamal Gasimov

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to validate a greyed out page

Post by odklizec » Wed Jul 08, 2015 11:02 am

Hi,

You can either send it to me via private message (click PM icon) or you can send it to Ranorex support at [email protected] (along with link to this discussion).
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

kgasimov
Posts: 16
Joined: Fri Nov 21, 2014 9:55 am

Re: How to validate a greyed out page

Post by kgasimov » Wed Jul 08, 2015 11:52 am

Hi,

The Ranorex snapshot sent to Ranorex support email.