'BrowserStack and Azure integration and Run Tests

This is new topic for me, I am trying to integrate BrowserStack with Azure DevOps pipelines.

I have followed all steps mention in the documentation by Browserstack https://www.browserstack.com/docs/automate/selenium/azure-pipelines#configuring-build-pipeline

But after I run the automation on Azure it does not trigger anything on Browserstack.com (Browserstack Dashboard).

I do not have that much knowledge about Azure. Any help is really appreciated

Pipeline configuration :-

enter image description here

After Run:- enter image description here

Project is based on TestNG selenium Java



Solution 1:[1]

There should be a step in between Configuration Setup and Stop Local, where you want to run your selenium test script.

Thanks

Solution 2:[2]

Could you confirm the test are running on the pipeline any logs will help us to investigate this further. Also, you run a sample test https://github.com/browserstack/testng-browserstack and visit Dashboard https://automate.browserstack.com/dashboard/v2

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 LarryX
Solution 2 Jaimin Mehta