Search found 23 matches

by orbistest
Wed Jan 18, 2017 10:05 am
Forum: Bug Reports
Topic: Feature request: Executable tests without Ranorex
Replies: 15
Views: 10257

Re: Feature request: Executable tests without Ranorex

Hi - I am trying to follow through on a number of threads so that I can do the following - Develope tests on one machine move the tests to our developer build machine so that the exe can run during the build process as part of the regression checks. I am going to 1. copy all Ranorex DLL's from the "...
by orbistest
Wed Dec 24, 2014 12:49 pm
Forum: General Questions
Topic: "The module ... could not be found" when run outside Ranorex
Replies: 10
Views: 3890

Re: "The module ... could not be found" when run outside Ranorex

Have you found an answer to this problem? I am suffering something similar. I have created a module group in one project and wish to use it in another project. My colleague has no trouble doing this. Whenever i try I get the same sort of "Module ... with id ... is not found" message. Any help apprec...
by orbistest
Thu Oct 24, 2013 9:26 am
Forum: Object Identification and Technologies
Topic: Rx Path has changed to everything being an element
Replies: 7
Views: 2342

Re: Rx Path has changed to everything being an element

Well this time I had to uninstall and then re-install to make it work. Repair didn't make any difference and in the past even the uninstall didn't make my script work.

This is not a good feature, :shock: but at least I have a fix. :)

Thanks for the reply.
by orbistest
Tue Oct 22, 2013 3:46 pm
Forum: Object Identification and Technologies
Topic: Rx Path has changed to everything being an element
Replies: 7
Views: 2342

Re: Rx Path has changed to everything being an element

Hello - sorry this took some time to respond. I have been experimenting when I can spare the time. I have found that I get this problem after installation of .NET4. My platform is Windows 2008 R2 64 bit. When I run Ranorex 3.3.3 on a platform with .NET 3.5 my objects are correctly identified and the...
by orbistest
Tue Sep 24, 2013 3:05 pm
Forum: Object Identification and Technologies
Topic: Rx Path has changed to everything being an element
Replies: 7
Views: 2342

Re: Rx Path has changed to everything being an element

Ah but sadly this did not work in all cases. I found other scripts where this uninstall and re-install did not make any difference. Has anyone got an idea why or whether installing these three service packs will break ranorex script object recognition?
by orbistest
Tue Sep 24, 2013 12:14 pm
Forum: Object Identification and Technologies
Topic: Rx Path has changed to everything being an element
Replies: 7
Views: 2342

Re: Rx Path has changed to everything being an element

Just to let you know. I found that after upgrading our product under test the scripts broke. As a last resort after trying many other things such as installing windows updates etc. I tried uninstalling and re-installing Ranorex. Hey presto it works again! I suspect Ranorex does not like one of the r...
by orbistest
Mon Sep 23, 2013 4:04 pm
Forum: Object Identification and Technologies
Topic: Rx Path has changed to everything being an element
Replies: 7
Views: 2342

Rx Path has changed to everything being an element

I am using Ranorex 3.3.3 and have been for some time. I recorded some scripts a few months ago on this version of Ranorex and have run them several times without problems. Recently I went back to the machine and attempted to run the same scripts with the same version of Ranorex but the scripts fail....
by orbistest
Wed Jul 17, 2013 10:52 am
Forum: Automation API
Topic: Get Ranorex to output a text file with pass/fail
Replies: 4
Views: 3686

Re: Get Ranorex to output a text file with pass/fail

I came across some code in another thread which may help you - I have to admit I have not had much time to think this over but here it is. ITestCase iCase = TestSuite.Current.GetTestCase("TestCase1"); // The name of your Test Case if(iCase.Status == Ranorex.Core.Reporting.ActivityStatus.Failed){ Rep...
by orbistest
Fri Apr 19, 2013 4:59 pm
Forum: Automation API
Topic: Can I change the code template for usercode module
Replies: 12
Views: 4023

Re: Can I change the code template for usercode module

Please excuse me if I am missing something obvious but I am not a .net programmer. I have written several re-useable functions (subs) and it seems that putting these into a DLL is s great idea. I know what a DLL is and I can see how to reference it from a project BUT I can't see how to take a .vb an...
by orbistest
Fri Mar 22, 2013 9:54 am
Forum: Automation API
Topic: Can I change the code template for usercode module
Replies: 12
Views: 4023

Can I change the code template for usercode module

I have built a usercode library and I inherit the module class so that users can add a usercode line to the recordings and select the function they want from the drop-down. e.g. the Generic code library is declared Public Class GenericUserCode #Region "Global Functions" Public Sub CreateEntry( Entry...
by orbistest
Mon Dec 17, 2012 10:25 am
Forum: Automation API
Topic: Newbie request - Including Repository in Code library
Replies: 1
Views: 1886

Newbie request - Including Repository in Code library

Hi everyone, I am developing a code library. I have used Findsingle to find GUI items using the RanorexPath for an item with no problem - anObject = Host.Local.FindSingle(Of Ranorex.ListItem)(RanorexPath) anObject.EnsureVisible() anObject.Click() However I now want to do a lot more with the reposito...
by orbistest
Fri Dec 07, 2012 10:35 am
Forum: Automation API
Topic: How to handle unexpected sign-in dialogs?
Replies: 10
Views: 3886

Re: How to handle unexpected sign-in dialogs?

Just a further question. I now want to write a user code library function which will check if ANY TYPE of object exists with a particular Ranorex Path and stop the playback if it does. The closest I got is Public Sub Verify_Not_Exists(RepositoryObject As String) Dim bExists As Boolean bExists = true...
by orbistest
Thu Dec 06, 2012 10:59 am
Forum: General Questions
Topic: Usercode from library
Replies: 6
Views: 3443

Re: Usercode from library

HElP - I am going mad ...??? :? This is what I have done. VB.NET not C# . I made a new solution and then added a project (RT-click/add new project/advanced/Ranorex Class Library) called MyLibrary. Then in the MyNewClass.vb I added a public sub within the class - Public Class MyNewClass Public Sub My...
by orbistest
Thu Sep 20, 2012 3:22 pm
Forum: Automation API
Topic: Possible to Call ModuleGroups within Code?
Replies: 10
Views: 6443

Re: Possible to Call ModuleGroups within Code?

Thanks for the helpful code. I have now set up a piece of user code (called from a single line recording) which checks for existence of a particular dialog box using a repository object (the titlebar). If the object exists it calls a recording to fill in the dialog and if not - simply carries on. Pr...
by orbistest
Thu Sep 20, 2012 3:14 pm
Forum: Automation API
Topic: Report.log not working in some circustances
Replies: 3
Views: 2164

Re: Report.log not working in some circustances

Interestingly, I had to do two things which I think have fixed the problem. Firstly I discovered that the report path was blank. I filled this in as I wanted all my reports in a particular folder. Then changed the report level on the recording (rt-click, report level) to something different - my mes...