microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
513 stars 286 forks source link

[BUG] Cannot open the ViewPicker when selecting the view #1250

Open VikramKurri opened 2 years ago

VikramKurri commented 2 years ago

Bug Report

Issues should only be created for items related to covered functionality.

Not covered functionality, feature requests, and questions should use the Feature Request or Question templates.

EasyRepro Version

UCI or Classic Web

Online or On Premise

Browser

Describe the bug
unable to switch the view in main PCF grid.

System.InvalidOperationException: 'Unable to click the View Picker'

Special formatting / display

Code to reproduce

xrmApp.Grid.SwitchView("");

-->

Expected behavior
OpenViewSelector

Screenshots

Additional context
branch = develop-2021-Releasewave2 CRM build Microsoft Dynamics 365

2021 release wave 2 enabled Server version: 9.2.21103.00140 Client version: 1.4.3503-2110.3 Organization name: Cargo360-UAT Session ID: b0dded41-d1e6-4d51-a0f7-7b817a1b5e35 Time: 12/2/2021 12:52:29 PM

VikramKurri commented 2 years ago

@aliyoussefi - Created based on our discussion, Please check it.

aliyoussefi commented 2 years ago

Hi @VikramKurri ,

I've confirmed your bug and am working with the team to address and remediate. Will update with an ETA on the fix rollout.

dewilliams704 commented 2 years ago

Hi @aliyoussefi,

Any update on this issue, or a work-around? It is blocking many of my tests, and increasing the execution of nearly all of them.

ZiaRahman1 commented 2 years ago

Hi @aliyoussefi Any update on this or workaround for this issue?

aliyoussefi commented 2 years ago

Hi @dewilliams704 and @ZiaRahman1 Please confirm which branch of the source code you are using and the server version located in the Settings->About page so I may reproduce to fix.

dewilliams704 commented 2 years ago

Hi @aliyoussefi. I'm using Dynamics365.UIAutomation.Api v9.2.21084.148 with Server Version 9.2.21113.00137

ZiaRahman1 commented 2 years ago

Hi @aliyoussefi my server version is Server version: 9.2.21121.00125 and I am using latest code from "develop" branch.

chandramohand commented 2 years ago

Hi @aliyoussefi, @VikramKurri , Me too facing the same issue, Is this issue fixed?

assurity-ben commented 1 year ago

Hi @aliyoussefi, I've run into the same issue with the sample tests included in the package and when using the xrmApp.Grid.SwitchView() function in my own test.

Test method Microsoft.Dynamics365.UIAutomation.Sample.UCI.OpenAccountUCI.UCITestGetObjectId threw exception: 
System.InvalidOperationException: Unable to click the View Picker

Using the latest code from the develop branch using Dynamic 365 version below:

Microsoft Dynamics 365
2022 release wave 1 enabled
App name: Sales trial
Organization name: Sales Trial
Server version: 9.2.22072.00174
Client version: 1.4.4480-2207.2
Session ID: e2aec372-2bc0-42a4-bee7-d79856b0e842
Time: 03/08/2022 10:34:01 GMT+1200 (New Zealand Standard Time)

Any update on this issue?

halada92189 commented 1 year ago

@aliyoussefi same issue and error as @assurity-ben ("Unable to click the View Picker") on the sample tests for UCITestOpenActiveAccount in Edge Driver 104.0.1293.54 with latest develop branch code. If you have any insight that would be awesome - thank you for what you and your team does!

2022 release wave 1 enabled App name: ATMOSPHERE Organization name: SalesInsightsPOC SANDBOX Server version: 9.2.22072.00186 Client version: 1.4.4541-2207.2 Session ID: eb992f7d-68d1-43b6-8224-2e65013d2e40 Time: 8/18/2022 11:37:46 PM GMT-0500 (Central Daylight Time)

bencraig82 commented 1 year ago

For anyone who comes across this issue when using server version 9.2.x the new package to replace this one is available on the nuget repository: https://www.nuget.org/packages/Dynamics365.UIAutomation.Api/9.2.22023.129-RW2-Preview You'll have to enable preview to install using nuget manager in VS. Unfortunately no source available for this one but VS can decompile from the nuget package.

halada92189 commented 1 year ago

For anyone who comes across this issue when using server version 9.2.x the new package to replace this one is available on the nuget repository: https://www.nuget.org/packages/Dynamics365.UIAutomation.Api/9.2.22023.129-RW2-Preview You'll have to enable preview to install using nuget manager in VS. Unfortunately no source available for this one but VS can decompile from the nuget package.

Confirmed, the issue is fixed when using that release! Thanks for the tip!