Search found 19 matches

by SteveBeck
Thu Jan 18, 2018 6:56 am
Forum: Automation API
Topic: Ranorex Report to PDF through Code - Could not load file
Replies: 3
Views: 2905

Re: Ranorex Report to PDF through Code - Could not load file

In trying to fix this I found a much more frustrating experience. I had not upgraded my Nodes to Ranorex v8.0. After doing, Ranorex stopped finding the Ranorex libraries. I dont know why, but Ranorex on the nodes does not seem to look for/find the Ranorex dlls. Then I set the References to create lo...
by SteveBeck
Wed Jan 17, 2018 1:55 pm
Forum: Automation API
Topic: Ranorex Report to PDF through Code - Could not load file
Replies: 3
Views: 2905

Ranorex Report to PDF through Code - Could not load file

Hi all, I am currently running my Ranorex tests through Jenkins and Nunit, at the end of my test my framework uses the Ranorex Automation Helper to convert the report into a PDF. The problem I am experiencing is that after running on the Jenkins Nodes instead of generating the PDF report I get the f...
by SteveBeck
Wed Sep 06, 2017 2:29 pm
Forum: Automation API
Topic: MenuItem
Replies: 2
Views: 2868

Re: MenuItem

Here is a method I wrote to do this. public static Boolean SelectElementFromComboBox(RepoItemInfo info, string Text) { try { Ranorex.Unknown Element = info.FindAdapter<Ranorex.Unknown>(); Element.Click(); RxPath path = Element.GetPath(); Ranorex.ComboBox dropdown = Host.Local.FindSingle<Ranorex.Comb...
by SteveBeck
Tue Aug 22, 2017 12:59 pm
Forum: Automation API
Topic: Set Report Directory through Code
Replies: 2
Views: 2301

Re: Set Report Directory through Code

Turns out

Code: Select all

TestReport.Setup()
Does the trick, just the doc says it takes an xml which is wrong, set your rxlog path there and it falls in to place.
by SteveBeck
Fri Aug 18, 2017 7:27 am
Forum: Automation API
Topic: Set Report Directory through Code
Replies: 2
Views: 2301

Set Report Directory through Code

Hi , As the topic suggests I want to set where Ranorex writes its reports to through code, as I am running an Nunit setup which dynamically runs scripts from Jenkins. I have written code to Create full reports, generating Suites and Modules dynamically from the data provided. but when I look at the ...
by SteveBeck
Tue Aug 15, 2017 12:06 pm
Forum: Object Identification and Technologies
Topic: Ranorex Spy - Cannot see Child Elements
Replies: 7
Views: 2369

Re: Ranorex Spy - Cannot see Child Elements

So the RawText issue is a confirmed Bug from Ranorex, that on some Systems GDI is not picking up. A Ranorex rep informed me that this is being patched in 7.1.1 . We are going to be running our tests on W10, and we just need our regression box to pick up GDI before we start our unattended runs.
by SteveBeck
Tue Aug 15, 2017 7:53 am
Forum: Automation API
Topic: Prevent Ranorex Reporting Errors
Replies: 4
Views: 2182

Re: Prevent Ranorex Reporting Errors

I wish I'd done this from the start... A couple of thousand lines to code edit Hooray!
by SteveBeck
Tue Aug 15, 2017 7:00 am
Forum: Automation API
Topic: Prevent Ranorex Reporting Errors
Replies: 4
Views: 2182

Re: Prevent Ranorex Reporting Errors

I resolved this myself, but feel its useful to leave here. if(!ApplicationUtility.setCheckboxState(repo.LogonForm.UseDomainAuthentication, true)) { error = "set domain authentication failure."; return false; } Uses an Adapter, Ranorex Assumes that the Adapter should exist at this point. For my uses ...
by SteveBeck
Tue Aug 15, 2017 6:02 am
Forum: Automation API
Topic: Prevent Ranorex Reporting Errors
Replies: 4
Views: 2182

Prevent Ranorex Reporting Errors

Hi, is there a way to prevent Ranorex from ending tests when it finds exceptions? As I would prefer to use my own system within Ranorex to report failures, the failure messages are too technical for the people who want to see the reports, and our own error messages let us know immediately on which l...
by SteveBeck
Fri Aug 11, 2017 11:00 am
Forum: Automation API
Topic: Web Driver Actions
Replies: 2
Views: 2258

Re: Web Driver Actions

try Using openqa.selenium.interactions If you cant reach interactions then no. I noticed that the Ranorex Implementation of Selenium is missing functionality. You can bring all of this back by using Nuget to implement your own Selenium Framework, but you will have to using an External Alias for thos...
by SteveBeck
Fri Aug 11, 2017 6:13 am
Forum: Object Identification and Technologies
Topic: GDI children not recognized
Replies: 2
Views: 1850

Re: GDI children not recognized

I have been having similar issues (our older W10 machines display the same symptoms, but our new ones work fine), and according to a Ranorex Rep this is now a confirmed Bug that GDI is not working correctly on some Machines. They also said this is being addressed in 7.1.1 which should be coming in t...
by SteveBeck
Thu Aug 10, 2017 5:58 am
Forum: Object Identification and Technologies
Topic: Ranorex Spy - Cannot see Child Elements
Replies: 7
Views: 2369

Re: Ranorex Spy - Cannot see Child Elements

Thanks McTurtle, I will have to wait to get hold of Inspect, but in the meantime I used UISpy, and on my W10 Machine I can indeed see the Checkbox, but on the W7 Machine I can just see Panes... I was assuming that this was not the case as the AUT was desgined on earlier versions of windows and we ju...
by SteveBeck
Tue Aug 08, 2017 2:04 pm
Forum: Object Identification and Technologies
Topic: Ranorex Spy - Cannot see Child Elements
Replies: 7
Views: 2369

Re: Ranorex Spy - Cannot see Child Elements

Thanks for the reply,

I had installed the binaries, but now have installed Studio with no change.

I have attached the snapshots below.

Thanks
by SteveBeck
Tue Aug 08, 2017 1:23 pm
Forum: Object Identification and Technologies
Topic: Ranorex Spy - Cannot see Child Elements
Replies: 7
Views: 2369

Ranorex Spy - Cannot see Child Elements

Hi, In my quest to run my scripts on multiple hosts I have run in to another issue. The machines my team have written their scripts on can see that our Elements ie Element 'LogonButton', have child elements ie Button '&Logon' . However after installing the Ranorex libs on another machine it can only...
by SteveBeck
Mon Aug 07, 2017 6:00 am
Forum: Automation API
Topic: Removing Ranorex Plugin References
Replies: 5
Views: 3105

Re: Removing Ranorex Plugin References

Thanks for the replies, I was just hoping there would be a legitimate system for including / excluding plugins. Just to clarify, my team are all well versed in Selenium itself and our way of work is such that Selenium works better for us than Ranorex's systems. I have managed to surpress Ranorex Web...