Page 1 of 1

Responsive website testing

Posted: Fri Oct 26, 2018 11:26 am
by delliott
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.

Re: Responsive website testing

Posted: Mon Oct 29, 2018 8:59 am
by odklizec
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 ;)