1

We are a software development company that is building a new web application. Part of our responsiveness test, we need to check how it would look like on iMac 21.5" and iMac 27".

Problem is, we don't have iMacs (or any screen with that size). What's the best way to tackle this challenge?

3
  • 1
    You can use Browserstack. Aug 28, 2017 at 7:33
  • @TESTasy Any free alternatives?
    – SaryA
    Aug 28, 2017 at 8:41
  • Not that I know of. Aug 29, 2017 at 2:44

1 Answer 1

3

The general approach is to use services that provide remote Selenium server capabilities and allow to specify an operating system, version, browser, browser version and other parameters in the desired capabilities. Today, there are two major players on that front:

Another possible way to approach the problem is to fire up a virtual machine with your desired operating system and have a Selenium node for your Selenium server configured, see more at Selenium Grid documentation page.

6
  • Would Selenium help in testing the Design and Responsiveness of a web application? Aug 29, 2017 at 2:46
  • @TESTasy it can be certainly used that way though I've personally never specifically used it for that - only to some extent may be.
    – alecxe
    Aug 29, 2017 at 3:04
  • @Testasy you can change the size of the driver under test by using driver.manage().window().setSize(new Dimension(width, height)); then refresh the page that should tricker the responsive view
    – Theo
    Aug 29, 2017 at 13:05
  • I get that part. What I'd like to know is how will selenium decide that the design of the page that has loaded is what it should be like? How will it know which element is suppose to be exactly where and check if it is there or not? How will selenium know if design isn't correct and inform you about it? Aug 29, 2017 at 13:24
  • @TESTasy these are good questions. Not sure we should talk about it here in comments though - it is getting a bit off-topic. Please consider creating a separate question where we can rightfully discuss the topic, would love to join the discussion and brainstorm ideas. Thanks for understanding!
    – alecxe
    Aug 29, 2017 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.