0

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?

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

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.

  • Would Selenium help in testing the Design and Responsiveness of a web application? – IAmMilinPatel Aug 29 '17 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 '17 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 '17 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? – IAmMilinPatel Aug 29 '17 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 '17 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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