web
You’re offline. This is a read only version of the page.
close
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!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 75 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans