Search found 17 matches

by Ethan
Fri Dec 01, 2023 12:17 am
Forum: Automation API
Topic: Ranorex.Core throws System.Collections.Generic.KeyNotFoundException
Replies: 0
Views: 7961

Ranorex.Core throws System.Collections.Generic.KeyNotFoundException

Hi! I reference the Ranorex.dll's to use Ranorex from within a C#/Visual Studio project. Everything has worked fine, but now I tried to install on a new machine (Windows Server 2019) and I'm getting this error thrown by the Ranorex.Core.dll when trying to locate element in a Chrome browser (create a...
by Ethan
Thu Aug 19, 2021 10:31 pm
Forum: General Questions
Topic: "Continue evaluation" button is missing?
Replies: 2
Views: 919

Re: "Continue evaluation" button is missing?

Thanks! That solved it!
by Ethan
Thu Aug 19, 2021 10:30 pm
Forum: Automation API
Topic: Newtonsoft conflict! Ranorex developers!
Replies: 3
Views: 3730

Re: Newtonsoft conflict! Ranorex developers!

My mistake as probably that I had included Ranorex.Plugin.*.dll as references in the solution, but that included a couple of dlls that should not have been there. Once realising that I had copied too many dlls it builds and runs again.
by Ethan
Thu Aug 19, 2021 8:39 pm
Forum: Automation API
Topic: Newtonsoft conflict! Ranorex developers!
Replies: 3
Views: 3730

Re: Newtonsoft conflict! Ranorex developers!

Can add the the first error(s) I got after changing dlls were: Error CS0433 The type 'JToken' exists in both 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' and 'Ranorex.Plugin.WinForms.Contracts.Core, Version=10.1.1.0, Culture=neutral, PublicKeyToken=b798506b57...
by Ethan
Thu Aug 19, 2021 4:02 pm
Forum: Automation API
Topic: Newtonsoft conflict! Ranorex developers!
Replies: 3
Views: 3730

Newtonsoft conflict! Ranorex developers!

When I updated to the latest version of Ranorex 10.1.1 I get alot of Newtonsoft-conflicts! When I imported the new Ranorex.dlls in Visual Studio (I write my test/automation code myself in VS - I do not use Ranorex Studio at all) all hell broke loose. I updated from 9.2 to 10.1.0 yesterday and that s...
by Ethan
Thu Aug 19, 2021 8:52 am
Forum: General Questions
Topic: "Continue evaluation" button is missing?
Replies: 2
Views: 919

"Continue evaluation" button is missing?

Hi! I just downloaded the latest version of Ranorex and when you run an evaluation version there is always a popup when you start using Ranorex. It's the same behaviour as it was when I last used an evaluation many years ago, but now there is no way to close it an actually start for example the Spy ...
by Ethan
Fri Dec 06, 2019 12:19 am
Forum: Automation Tools
Topic: Ranorex Spy scaling
Replies: 1
Views: 1306

Ranorex Spy scaling

Hi! There is this issue with Ranorex Spy sometimes beeing unusable on hi-res monitors. Fields blend together and are not readable. Can one expect a fix on this? Scaling has been common for many years now and I have been waiting for a fix for quite a few years. Sometimes it helps to restart/sign in/o...
by Ethan
Fri Apr 05, 2019 10:29 pm
Forum: General Questions
Topic: Spy tool finds web DOM multiple times?
Replies: 8
Views: 1417

Re: Spy tool finds web DOM multiple times?

Yes, works fine and speeds up test exection on my development machine! Thanx....
by Ethan
Tue Apr 02, 2019 9:34 am
Forum: General Questions
Topic: Spy tool finds web DOM multiple times?
Replies: 8
Views: 1417

Re: Spy tool finds web DOM multiple times?

Yes, thanks for that tip. Note that I use a setup of C#/SpecFlow/NUnit/Ranorex API with a element repo created from Spy (that is, I'm not using Ranorex Studio). I basically added: Configuration.Current.Plugins.Win32.WhitelistedProcesses = new string[] { "chrome" }; I have not measured anything yet, ...
by Ethan
Mon Apr 01, 2019 10:04 am
Forum: General Questions
Topic: Spy tool finds web DOM multiple times?
Replies: 8
Views: 1417

Re: Spy tool finds web DOM multiple times?

Correct, Browser says for example:
Spy4.png
The best I can do is to include @Visible='True', that filters out those not from Chrome, but that still gives me 2 DOMs for Chrome?
Spy5.png
Best regards,
by Ethan
Fri Mar 29, 2019 2:01 pm
Forum: General Questions
Topic: Spy tool finds web DOM multiple times?
Replies: 8
Views: 1417

Re: Spy tool finds web DOM multiple times?

Hi again, I had to turn of 'Enable JS-based RanorXpath evaluation' after Ranorex 9.0 installation due to other reasons (it failed to resolve the ChildIndex-property in my code when the option was activated). I tried checking for visability, but that doesn't help. They are all visible: Spy2.png The o...
by Ethan
Fri Mar 29, 2019 1:19 pm
Forum: General Questions
Topic: Spy tool finds web DOM multiple times?
Replies: 8
Views: 1417

Spy tool finds web DOM multiple times?

Hi! If I start Chrome and navigate to https://www.ranorex.com/blog/ and then in the Spy tool enter this RxPath: "/dom[@caption~'^(?i:software automation)' and @path~'(?i:/blog)']" Spy finds the DOM 4 times: Spy.png When I hightlight in Spy 2 of the references highlights the Chrome browser, but 2 hig...
by Ethan
Wed Feb 27, 2019 10:15 am
Forum: Bug Reports
Topic: Element.ChildIndex does not work with JS-based RanoreXPath evaluation.
Replies: 6
Views: 2093

Re: Element.ChildIndex does not work with JS-based RanoreXPath evaluation.

Rearding my post above, I found the Ranorex.settings.exe where I could set it and now it works!

However, it would still be very useful to know if it's possible to set this through API (or another smart way) so there would be no need for 'manual setup' of the environment.
by Ethan
Wed Feb 27, 2019 9:50 am
Forum: Bug Reports
Topic: Element.ChildIndex does not work with JS-based RanoreXPath evaluation.
Replies: 6
Views: 2093

Re: Element.ChildIndex does not work with JS-based RanoreXPath evaluation.

Hi again! I is it possible to disable this feature through the API? Background: I generate a C# element repo with the Spy tool. To get my C# based tests to work I had to disable this feature in the Spy tool's settings. However, when I deploy my code to a 'test server' the tests fail and it seems to ...
by Ethan
Sat Feb 23, 2019 8:19 pm
Forum: Bug Reports
Topic: Element.ChildIndex does not work with JS-based RanoreXPath evaluation.
Replies: 6
Views: 2093

Element.ChildIndex does not work with JS-based RanoreXPath evaluation.

Hi! Just updated to Ranorex 9. Note that I'm not using Ranorex Studio, just using pure C#/API-bindings (testing with Chrome). After upgrading, my code that uses Element.ChildIndex property stopped working. The property started to return "-1". Saw hints in the forum that "Enable JS-based RanoreXPath ...