microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
512 stars 285 forks source link

Command xrmApp.Navigation.OpenSubArea("Area", "Sub-Area"); running in Local but failing in pipeline #1405

Open prinikabhan opened 6 months ago

prinikabhan commented 6 months ago

We have been using EasyRepro framework for automating Microsoft Dynamics 365 application.

I have been encountering a problem with executing scripts in Azure pipeline for past 2 weeks now.

The test cases run fine in local, but give an error "error: Unable to click element.".

After debugging and adding logs at each step, found out that the problem is being created by command xrmApp.Navigation.OpenSubArea("Area", "Sub-Area");

Does anyone have an idea about why this is giving error in pipeline but running smoothly in local?