Help Needed: Unable to Run Tests on Mobile View via Jenkins/Remote Execution

25 views
Skip to first unread message

Ramapriya Prasathe

unread,
Aug 6, 2025, 3:26:11 AMAug 6
to Selenium Users

Hi Team,

Currently, we are running our Selenium tests successfully on desktop view, using parameters like browser and priority group through the Jenkins pipeline.

As per new requirements, we have updated the same project to support mobile view testing as well. We’ve also added a new parameter in the Jenkins pipeline:
selectedDevice = desktop / mobile devices.

However, I’m facing an issue where the tests still run only in desktop view, even when I explicitly use the following command:

mvn test -Dgroups=smoke-login -Dbrowser=chrome -DselectedDevice=iPhone

Despite passing selectedDevice=iPhone, the tests continue to launch in desktop mode.

Could you please help with the following:

  1. Is there any solution or configuration I might be missing to properly trigger mobile view?

  2. Can mobile view tests be executed remotely via Jenkins, or is it supported only on local execution?

Any insights or suggestions would be greatly appreciated.

Thanks in advance,
Ramapriya

Reply all
Reply to author
Forward
0 new messages