Automated testing of websites on mobile browsers on real devices

0

We currently have a test suite written in PHP WebDriver. We are looking to run those tests on mobile browsers running on real mobile devices. Can Device Farm help accomplish the same? From my exploration so far, this does not seem possible. However, being open to a solution would be great if any of you can share the steps or recommend a tutorial to accomplish the same.

asked a year ago213 views
2 Answers
0

Would appreciate if someone with experience using AWS Device Farm or someone from AWS Device Farm team could answer this.

answered a year ago
0

Hey,

I've been working in web development for a few years now, and the challenge of automated testing on mobile browsers is indeed a tricky one. I can totally relate to your frustration – it's like a whole different ball game compared to desktop testing!

I've dabbled a bit with AWS Device Farm, and you're right, Nikhil_ranka, it doesn't directly support WebDriver for PHP. However, here's a workaround that might help: consider using Appium, a cross-platform automation tool that can be used for mobile testing. You can write your tests in PHP using the Appium-PHP-Client library. This way, you could potentially adapt your existing test suite to work with mobile devices.

As for tutorials, I found a great one here that helped me get started with this approach. It might take a bit of tweaking to fit your exact needs, but it's worth a shot.

Valer
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions