web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

easyRepro TestSettings after install the framework using NuGet

(0) ShareShare
ReportReport
Posted on by 40

I create a Nunit easyRepro test. I installed easyRepro using NuGet and copied TestSettings.cs from sample project. I changed the namespace of the TestSettings.cs in my project but I am having error 'BrowserOptions' does not contain a definition for UCIPerformanceMode for the last line of the below code.

public static BrowserOptions Options = new BrowserOptions

{

BrowserType = (BrowserType)Enum.Parse(typeof(BrowserType), Type),

PrivateMode = true,

FireEvents = false,

Headless = false,

UserAgent = false,

DefaultThinkTime = 2000,

RemoteBrowserType = (BrowserType)Enum.Parse(typeof(BrowserType), RemoteType),

RemoteHubServer = new Uri(RemoteHubServerURL),

UCITestMode = true,

UCIPerformanceMode = true

};

How can I fix the error? Thanks!

I have the same question (0)
  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    You could try different version of "UIAutomation.Api".

    Or you could also download the whole demo from the following github link directly.

    https://github.com/microsoft/EasyRepro

    3441.pastedimage1578278169837v1.png

    Hope it helps.

    Best Regards,

    Leo

  • CRM Forum Profile Picture
    40 on at

    It is easier to manage my test project when I use NuGet to get UIAutomation.Api. I have a project with easyRepro downloaded directly by clone which I do not have the error. I am wondering what is the use of UCIPerformanceMode = true? Do we really need this since I commented out and I can run the test without error? I checked and see that my UIAutomation.Api shows uptodate stable version in my project, is this latest version of easyRepro I should use in my project? Thanks very much for all your reply!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 32

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 31 Most Valuable Professional

#3
ManoVerse Profile Picture

ManoVerse 29 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans