Skip to main content

Notifications

Announcements

No record found.

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!

  • CRM Forum Profile Picture
    40 on at
    RE: easyRepro TestSettings after install the framework using NuGet

    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!

  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at
    RE: easyRepro TestSettings after install the framework using NuGet

    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

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#2
Ramesh Kumar Profile Picture

Ramesh Kumar 42

#3
David Shaw_UK Profile Picture

David Shaw_UK 27

Featured topics

Product updates

Dynamics 365 release plans