Comments (10)
I could obviously build the binaries and put those into source control, but I don't want to do that either.
from easyrepro.
We have this on our Backlog and going to work to get these assemblies added to Nuget. I'll update this issue once that is complete.
from easyrepro.
+1 for this.
Many thanks.
from easyrepro.
We're currently working to get the Nuget packages released. We just released support for v9.0 and the packages should go out early this week. I apologize for the delay.
from easyrepro.
I tried to use the easyrepro package I found in Nuget but...
Attempting to gather dependency information for package 'Dynamics365.UIAutomation.Api.8.2.0.1' with respect to project 'test', targeting '.NETFramework,Version=v4.6'
Gathering dependency information took 165.6 ms
Attempting to resolve dependencies for package 'Dynamics365.UIAutomation.Api.8.2.0.1' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Dynamics365.UIAutomation.Api.8.2.0.1'
Resolved actions to install package 'Dynamics365.UIAutomation.Api.8.2.0.1'
Retrieving package 'Dynamics365.UIAutomation.Api 8.2.0.1' from 'nuget.org'.
Install failed. Rolling back...
Package 'Dynamics365.UIAutomation.Api.8.2.0.1' does not exist in project 'test'
Package 'Dynamics365.UIAutomation.Api.8.2.0.1' does not exist in folder 'C:\Users\kcarn\Documents\Test Studio Projects\test\packages'
Executing nuget actions took 96.75 ms
Could not install package 'Dynamics365.UIAutomation.Api 8.2.0.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Time Elapsed: 00:00:00.3791718
from easyrepro.
We're looking into this issue now.
from easyrepro.
One possible workaround will be to create a new project.
Set the .net version to 4.6.2
Then add the Nuget package to the project.
Sometimes the existing project with references creates problem installing the Nuget package.
Why this error occurs still needs investigation.
from easyrepro.
Yes you can install the Nuget package under 4.6.2 but
Test Name: TestLogin
Test FullName: MedSol_EasyRepro_Selenium.LoginTest.TestLogin
Test Source: C:\Users\kcarn\source\repos\Quality Assurance\MedSol_EasyRepro_Selenium\MedSol_EasyRepro_Selenium\LoginTest.cs : line 20
Test Outcome: Failed
Test Duration: 0:00:00.2963245
Result StackTrace:
at Microsoft.Dynamics365.UIAutomation.Browser.BrowserDriverFactory.CreateWebDriver(BrowserOptions options)
at Microsoft.Dynamics365.UIAutomation.Browser.InteractiveBrowser.get_Driver()
at Microsoft.Dynamics365.UIAutomation.Browser.BrowserPage.Execute[TResult,T1,T2,T3,T4](BrowserCommandOptions options, Func6 delegate, T1 p1, T2 p2, T3 p3, T4 p4) at Microsoft.Dynamics365.UIAutomation.Api.LoginPage.Login(Uri uri, SecureString username, SecureString password, Action
1 redirectAction)
at MedSol_EasyRepro_Selenium.LoginTest.TestLogin() in C:\Users\kcarn\source\repos\Quality Assurance\MedSol_EasyRepro_Selenium\MedSol_EasyRepro_Selenium\LoginTest.cs:line 24
Result Message:
Test method MedSol_EasyRepro_Selenium.LoginTest.TestLogin threw exception:
System.TypeLoadException: Could not load type 'OpenQA.Selenium.Edge.EdgeDriverService' from assembly 'WebDriver, Version=2.45.0.0, Culture=neutral, PublicKeyToken=null'.
My guess is that this is a result of an implicit cast in browser options.
public EdgeOptions ToEdge()
{
var options = new EdgeOptions()
{
// PageLoadStrategy = EdgePageLoadStrategy.Normal becomes the line below
PageLoadStrategy =(PageLoadStrategy) EdgePageLoadStrategy.Normal //Did an explicit cast
};
return options;
}
from easyrepro.
I've updated the Nuget Packages to include the latest builds. Please let me know if there are any issues.
from easyrepro.
I run the API 8.2 version with .net framework 4.6/4.6.1/4.6.2 in VS 2015. But it always stucks at close guided page step and complains "Xrm not defined". Any solution to fix? Much appreciated in advance!
from easyrepro.
Related Issues (20)
- [HOW-TO] Use with Customer Service Workspace app
- [HOW-TO] <implement read data from excel in easyrepro> HOT 2
- Command xrmApp.Navigation.OpenSubArea("Area", "Sub-Area"); running in Local but failing in pipeline
- How to Close Alert dialogue box of Dynamics crm Opened via Xrm.Navigation.openAlertDialog.
- .NET 6 not .NET Core 6
- Timeout Issue with System.Net.HttpWebRequest.GetResponse()
- [BUG] <Getting webdriver exception "unknown error: unable to discover open pages" when running the test on server through ADO test plan. Code works locally>
- [BUG]GetFormNotifications() does not get notifications text. Get error
- Moving to .NET Core HOT 1
- MFA secret key issue HOT 8
- How to click on the phone (subgrid record header) phone number HOT 5
- Url is not working even after adding & in the url in app.config file HOT 1
- How can I effectively load and execute the EasyRepro framework within Visual Studio Code? HOT 1
- Not able to find xpath from inspect element for any change area options.
- [HOW-TO] Using .NET Core HOT 2
- [BUG] Sample Project won't build - missing NuGet package: Selenium.WebDriver.ChromeDriver - Visual Studio 2022 HOT 1
- Not able to receive sms OTP on Twilio number. HOT 1
- how to set screen resolution in azure pipeline HOT 1
- [BUG] Object reference not set to an instance of an object. HOT 1
- [HOW-TO] Use the Project Ops Test Script HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyrepro.