Responsive website testing

Ranorex Spy, Recorder, and Studio.
delliott
Posts: 1
Joined: Fri Oct 26, 2018 11:22 am

Responsive website testing

Post by delliott » Fri Oct 26, 2018 11:26 am

Hi,

I'm looking at building some web UI tests for a responsive website.

Depending on the breakpoint triggered, the website search displays 1 of the 3 input boxes (yep, there's 3 entirely separate input boxes, with separate IDs, for search). Ideally I need to check which of the 3 is visible and then use that one for the search.

Is this possible in Ranorex?

Thanks.

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

Re: Responsive website testing

Post by odklizec » Mon Oct 29, 2018 8:59 am

Hi,

From your description, it seems like a perfectly doable situation with Ranorex. But it would be nice, if you could post a Ranorex snapshot (NOT screenshot) of the page in question. So then we can suggest right approach for your problem. Ideally, post two snapshots, showing the different input boxes, as shown by your website.

Generally speaking, you should create a repoitem with xpath, which matches your input boxes and and then you should use the right one for search. I guess this description is most probably not very useful for you? This is why I need snapshot for better description ;)
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