Search found 50 matches

by Andymann
Wed Feb 06, 2019 1:38 pm
Forum: Automation Tools
Topic: Report doesn't contain Data when running Testsuite.exe
Replies: 7
Views: 1280

Re: Report doesn't contain Data when running Testsuite.exe

yepp ... that's it.

Thanks a lot, Odklizec!

In hindsight this is something I could (should!) have found out myself but ... well ... sometimes you just need someone else to help you. :D
by Andymann
Wed Feb 06, 2019 12:22 pm
Forum: Automation Tools
Topic: Report doesn't contain Data when running Testsuite.exe
Replies: 7
Views: 1280

Re: Report doesn't contain Data when running Testsuite.exe

It seems to be related to the computer itself. The binaries from the Windows 2016 Machine run flawlessy on the win7-box.

It's the same Ranorex installationi and the same dotnet-installation.
I didn't mess with the settings or anything.
by Andymann
Wed Feb 06, 2019 11:26 am
Forum: Automation Tools
Topic: Report doesn't contain Data when running Testsuite.exe
Replies: 7
Views: 1280

Report doesn't contain Data when running Testsuite.exe

Hi everybody, I did a quick testcase (starting calc.exe, screenshot, log some info, close calc.exe) and in runs flawlessly within Ranorex Studio. Next step is that I select 'copy runtime to output' and run the newly built *.exe from the command line. Everything works fine (calc is executed and termi...
by Andymann
Tue Jan 29, 2019 11:36 am
Forum: Automation Tools
Topic: Overwrite ObjectNotFoundException
Replies: 4
Views: 1239

Re: Overwrite ObjectNotFoundException

Hi Robin,

thanks a lot for the quick response.
Can you give me aother quick hint where I can find 'TestContainerActivity' (using directive)?
[Update]got it: Ranorex.Core.Reporting.TestContainerActivity [/Update]


And: how on earth does someone know about those deeply burried internals?
by Andymann
Fri Jan 25, 2019 3:32 pm
Forum: Automation Tools
Topic: Validation of the mouse
Replies: 4
Views: 1624

Re: Validation of the mouse

I did that once and my code (which works surprisingly well) looks like this (pSeconds is the amount of seconds that I am willing to wait.): string currentState = Mouse.Cursor.ToString(); System.Diagnostics.Stopwatch newWatch = System.Diagnostics.Stopwatch.StartNew(); while (currentState.ToLower().Co...
by Andymann
Fri Jan 25, 2019 12:27 pm
Forum: Automation Tools
Topic: Overwrite ObjectNotFoundException
Replies: 4
Views: 1239

Overwrite ObjectNotFoundException

Hi Everybody, I'd like to know if there is a chance to overwrite (override?) Ranorex's ObjectNotFoundException to always be a general RanorexException. Background: We are using Ranorex together with Aqua (Testmanagement Tool) and Aqua only reacts to a "RanorexException"; it keeps on processing the t...
by Andymann
Mon Dec 17, 2018 11:32 am
Forum: Automation Tools
Topic: How do I use multiple variables in recording action
Replies: 1
Views: 1411

How do I use multiple variables in recording action

Hi evrybody,

I'd like to use multiple variables within a recording action. For example: Logging: Instead of coding another custom module i'd like to add a recording action "Report |Log | $varAnything $varAnythingelse SomeText | Info |" .... any chance on that?

Best regards,
Andy
by Andymann
Wed Nov 21, 2018 1:19 pm
Forum: How To …
Topic: Possible to create classic C# Code?
Replies: 3
Views: 1687

Re: Possible to create classic C# Code?

I already did my fair share of messing around (removing headers etc.) but wasn't successful. Sharpdevelop looks ... sharp ( I know, I know..) but my main problem is that I'm working with a very limited account (no downloads, no installations) and have to get around with what I have. however, I just ...
by Andymann
Wed Nov 21, 2018 12:17 pm
Forum: How To …
Topic: Possible to create classic C# Code?
Replies: 3
Views: 1687

Possible to create classic C# Code?

Hi everybody, I just came across the need to build myself a little tool. This merely consists of a Winform with a textfield. I already built it within a Ranorex CodeModule. Thing is: I'd like to run it independently from Ranorex - just a simple *.exe. Any chance of of using the Ranorex IDE (which, i...
by Andymann
Fri Oct 26, 2018 12:57 pm
Forum: Automation Tools
Topic: Ranorex Repository
Replies: 5
Views: 1440

Re: Ranorex Repository

You could, however, dynamically create instances of RxPath in UserCode and use those: Ranorex.Unknown thing = null; String sTmp += "//a[@" + pAttribute + "='" + sVal + "']"; //----Your code here Host.Local.TryFindSingle<Ranorex.Unknown>(new RxPath(sTmp), 12500, out thing); But there are probably two...
by Andymann
Fri Oct 12, 2018 6:59 am
Forum: How To …
Topic: Need Code for when my test fails
Replies: 1
Views: 1393

Re: Need Code for when my test fails

It looks like your Repo itm which is identifying your browser window isn't the best one.If it's IE you might go with this rxpath: /form[@windowtext<' - Internet Explorer'] if it's firefox then /form[@processname='firefox'] or - if all fails you might use this bit of usercode which kills every proces...
by Andymann
Fri Sep 28, 2018 7:34 am
Forum: Automation Tools
Topic: RXRep-file and RXimg-file messed up
Replies: 12
Views: 2050

Re: RXRep-file and RXimg-file messed up

Hi Jon, txh for the quick response. I just uploaded the video. Here's some explanation to it; First half shows the Setup of a new Project. At 0:23 I change the default module's repo to 'embedded'. I then add a new Repo from c:\temp and copy it into the solution. At 0:56 I Highlight the *.rximg file ...
by Andymann
Thu Sep 27, 2018 8:31 am
Forum: Automation Tools
Topic: RXRep-file and RXimg-file messed up
Replies: 12
Views: 2050

Re: RXRep-file and RXimg-file messed up

Hi Jon,

I was able to reproduce the issue with a fresh install of Ranorex 8.2.1 on a new machine as well
I have a rather detailed video that shows how to reproduce the issue - just in case. (it's a 7mb zip...can't attach it here)


Best regards,
Andy
by Andymann
Wed Sep 26, 2018 2:30 pm
Forum: Automation Tools
Topic: RXRep-file and RXimg-file messed up
Replies: 12
Views: 2050

Re: RXRep-file and RXimg-file messed up

After some messing around I found that the problem is Ranorex-only: Steps to reproducing the issue: Create a new solution, open the auto-created modue, change the repo to 'embedded', save the module. add an external repo from disk to the solution, select 'copy'. change the module's repo to the newly...
by Andymann
Mon Sep 24, 2018 3:42 pm
Forum: Automation Tools
Topic: How to reuse user code
Replies: 2
Views: 1532

Re: How to reuse user code

did you add "[UserCodeMethod]" (yeah ... without the quotation marks) to every method? Like this: /// <summary> /// /// <para/>Beendet alle Prozesse, die mit 'pProcessName' beginnen /// <para/> /// <para/>03.08.2018 A.Fischer /// </summary> /// /// <param name="processname">Name of the process to ki...