Search found 47 matches

by jackrabbit
Fri Jun 10, 2016 2:55 pm
Forum: General Questions
Topic: Compile problem with Ranorex 6.0
Replies: 1
Views: 1305

Compile problem with Ranorex 6.0

I was using version 5.3.4 and I am currently testing 6.0 to upgrade my tests solutions. My solution was compiling using 5.3.4 but no longer compiles in 6.0.0. In the project properties, in the Compiling tab, if I change the Target CPU to 32 bits, it now compiles. However I do not want a 32 bits vers...
by jackrabbit
Wed Mar 09, 2016 9:19 pm
Forum: General Questions
Topic: Test result
Replies: 1
Views: 1378

Test result

Currently, if my test runs all the way, the report shows up with a GREEN circle. In my test, my UserCode validates some values and generates Report.Warn for every fail. Unfortunatly, my test result still shows up with a GREEN circle. For my validations, if I use Report.Error, my test report shos a R...
by jackrabbit
Mon Feb 15, 2016 10:56 pm
Forum: General Questions
Topic: Errors with Ranorex 5.3.4
Replies: 1
Views: 1295

Errors with Ranorex 5.3.4

Because I had problems with Ranorex, tech support recommended I uninstall / reinstall VC++ Redistributable package. I did it but now I have more problems than before: 1) When I start Ranorex from the shortcut on the desktop, I get this error: 2016-02-15_16h56_05.png 2) When I try to compile my solut...
by jackrabbit
Thu Jan 28, 2016 8:59 pm
Forum: General Questions
Topic: Define variable for rooted folder
Replies: 1
Views: 1522

Define variable for rooted folder

In my user code, I need to access a bunch of objects from the same rooted folder. Of cours, I can type: facture.SetFactureDiverseValues ( repo.Ruban.Scroller.HistoriqueFactures.HistoriqueFacturesDiverses.TxtDateEcheance.TextValue, repo.Ruban.Scroller.HistoriqueFactures.HistoriqueFacturesDiverses.Txt...
by jackrabbit
Wed Jan 13, 2016 3:13 pm
Forum: General Questions
Topic: Project just hangs
Replies: 1
Views: 1258

Project just hangs

I have a project that randomly hangs somewhere in my UserCode. Nothing happens, no errors are reported, no report shows up, nothing. I have to click on the X of the DOS window of my test to stop it. I tried to add Report.Info statements in my code to identify where the code hangs, but as soon as I p...
by jackrabbit
Tue Dec 22, 2015 4:45 pm
Forum: General Questions
Topic: Next columns in WPF grid
Replies: 1
Views: 1378

Re: Next columns in WPF grid

Never mind, after a lot of googling, I discovered a path element called "following-sibling". After a few experimentation, I came up with a quick and simple solution to map my grid elements using the name of each row in the first column:
aaa.png
by jackrabbit
Tue Dec 22, 2015 4:01 pm
Forum: General Questions
Topic: Next columns in WPF grid
Replies: 1
Views: 1378

Next columns in WPF grid

I have a grid in a WPF application and I need to extract specific cells, right noe the only way for me to access them is using .../text[#] My problem is that all the indexes slide a few values to the left or to the right in some cases (text[11], text[12], text[13] suddently become text[14], text[15]...
by jackrabbit
Thu Nov 26, 2015 6:35 pm
Forum: General Questions
Topic: Dump all attributes of an object
Replies: 3
Views: 2679

Re: Dump all attributes of an object

I did not realsed there was another method to get the attribute value,

Thanks!
by jackrabbit
Tue Nov 24, 2015 10:52 pm
Forum: General Questions
Topic: Import settings using a command line
Replies: 7
Views: 1599

Re: Import settings using a command line

I just have one small glitch with my function to dynamically add a process to the GDI list. When I check for the REGEX in the list it always tells me it does not exists, so I could potentially add multiple instances of the same REGEX in the GDI list. Am I using the right syntax for the CONTAINS meth...
by jackrabbit
Tue Nov 24, 2015 5:48 pm
Forum: General Questions
Topic: Dump all attributes of an object
Replies: 3
Views: 2679

Dump all attributes of an object

I have a menu / sub-menu in my programs, and I need to examine all the available attributes of the sub-menu. The problem is that this sub-menu disapears as soon as I try to click on the EDIT button in the repository, making it impossible to browse its attributes. So I wrote a small function to displ...
by jackrabbit
Thu Nov 19, 2015 4:57 pm
Forum: General Questions
Topic: Match insensitive value
Replies: 3
Views: 1244

Re: Match insensitive value

Thanks, it works!
by jackrabbit
Thu Nov 19, 2015 2:24 pm
Forum: General Questions
Topic: Match insensitive value
Replies: 3
Views: 1244

Match insensitive value

In the page http://www.ranorex.com/support/user-guide-20/ranorexpath.html, I just realised that I can match a case insentive value: /form/button[?'add'] identifies button with any attribute containing the substring 'add' (case-insensitive) I need to do something similar by specifying the attribute. ...
by jackrabbit
Wed Nov 18, 2015 8:48 pm
Forum: General Questions
Topic: Import settings using a command line
Replies: 7
Views: 1599

Re: Import settings using a command line

I tried your code to dynamically add items to the GDI list: //To add the process name to the config RawTextFlavor.Instance.ProcessNames.Add(new Regex("processname pattern")); //To add the class name to the config RawTextFlavor.Instance.ClassNames.Add(new Regex("classname pattern")); It does not even...
by jackrabbit
Tue Nov 10, 2015 10:16 pm
Forum: General Questions
Topic: Unable to compile project with framework 4
Replies: 1
Views: 2863

Re: Unable to compile project with framework 4

I think I found it! Here is what I had to install before I could build a Ranorex test using the Frame work 4: • Framework 4 SDK (https://www.microsoft.com/fr-ca/download/details.aspx?id=17851) • Multi-Targeting Pack for Microsoft .NET Framework 4.0.3 (https://www.microsoft.com/en-us/download/details...
by jackrabbit
Tue Nov 10, 2015 7:45 pm
Forum: General Questions
Topic: Unable to compile project with framework 4
Replies: 1
Views: 2863

Unable to compile project with framework 4

I am using Ranorex 5.4.3, my computer has VisualStudio 2008 installed. My project compiles fine if I specify the Target Framework 3.5 When I switch to the Target Framework 4,0, I get the following error (roughly translated from french): "The assembly refenrences for framework ".NETFramework,Version=...