Search found 22 matches

by daa
Tue Jun 28, 2011 10:49 am
Forum: Automation Tools
Topic: Old/new Delphi paths: can you mix them?
Replies: 1
Views: 2198

Old/new Delphi paths: can you mix them?

OK, I've finally managed to get some time to look at the Ranorex 3 upgrade, and I'm looking at the changed Delphi support, in particular the changed RxPath for Delphi applications. We have a large collection of tests for our Delphi application, which may all need changing :-( Anyway, one set of thes...
by daa
Tue Feb 01, 2011 4:20 pm
Forum: Object Identification and Technologies
Topic: Using "Select" method in a text box
Replies: 14
Views: 6130

Re: Using "Select" method in a text box

OK, right... I've programmed round this in a different way now, but it seems odd that Spy reports the capability as being present when it isn't.

Anyway, one to remember for the future.
by daa
Tue Feb 01, 2011 1:24 pm
Forum: Object Identification and Technologies
Topic: Using "Select" method in a text box
Replies: 14
Views: 6130

Using "Select" method in a text box

We have a Delphi application with what appear to be standard text boxes. Using Spy identifies them as Ranorex.Text (i.e. RxPath ends in "/text"), and a rummage about in the "Capabilities/Actions" part of Spy shows support for the "Select" action. However, when I call the Select(int1, int2) method of...
by daa
Fri Jan 07, 2011 5:51 pm
Forum: Automation Discussions
Topic: Running Ranorex Tests as part of build process?
Replies: 4
Views: 4787

Re: Running Ranorex Tests as part of build process?

We're doing this using BuildBot and SVN. BuildBot has a master machine controlling several build slaves, at least one of which has a Ranorex runtime on it. The build scripts controlling the overnight build have a "run Ranorex tests" step in them, which catches the output and merges it into the gener...
by daa
Tue Nov 30, 2010 12:00 pm
Forum: Object Identification and Technologies
Topic: Any plans for Delphi support?
Replies: 13
Views: 5034

Re: Any plans for Delphi support?

All the old parts of our application are in Delphi, so I've had similar problems, especially with grids. I now have a usable solution, but it required the programmers here to put some extra low-level support in the Delphi code. This may not apply to you, but if you're on good terms with the third-pa...
by daa
Fri Jun 11, 2010 2:34 pm
Forum: Automation API
Topic: EnsureVisible() method doesn't ensure whole object visible
Replies: 1
Views: 3530

EnsureVisible() method doesn't ensure whole object visible

Version: Ranorex 2.3.0.8345 I'm automating web application testing, and I have a generic "click on some tag by RxPath" method, that looks like this: public static void ClickTag(string aRxPath) { Ranorex.WebElement lTag = aRxPath; lTag.EnsureVisible(); Mouse.Click(lTag); } The problem is that whateve...
by daa
Wed Feb 17, 2010 12:04 pm
Forum: General Questions
Topic: What license do you provide and are all bug fixes free?
Replies: 4
Views: 2055

Re: What license do you provide and are all bug fixes free?

I'd also add that Ranorex are very good about allowing you to move a licence from one machine to another without hassle. We've done it a couple of times, and had pretty-much same-day response. That said, we're probably about to spend a few months moving licences about all the time, so floating licen...
by daa
Tue Feb 09, 2010 12:33 pm
Forum: Automation API
Topic: Can't find window scrollbars -- any ideas?
Replies: 1
Views: 2944

Can't find window scrollbars -- any ideas?

I can't find the window scrollbars on a browser for some reason. For instance, if I open FireFox and go to the main Ranorex page, reduce the browser window size until I get a scrollbar at the left, start Ranorex Spy, start tracking, and hover over the scrollbar, all I get is /dom[@caption='Ranorex -...
by daa
Thu Dec 17, 2009 11:06 am
Forum: General Questions
Topic: Changing namespace in a project
Replies: 11
Views: 3530

Re: Changing namespace in a project

Just to say that this problem has gone away after following your advice, and also upgrading Ranorex. Sorry for the long delay in replying -- had a manic November.
by daa
Thu Oct 22, 2009 11:25 am
Forum: General Questions
Topic: Changing namespace in a project
Replies: 11
Views: 3530

Re: Changing namespace in a project

OK, I'm back from the training course now... That still doesn't work. In fact, I can take a project that is mainly hand-written code with just the recording and repository that you get as standard and still get the odd behaviour, even after deleting files as above. Deleting the secondary recording f...
by daa
Fri Oct 16, 2009 11:33 am
Forum: General Questions
Topic: Changing namespace in a project
Replies: 11
Views: 3530

Re: Changing namespace in a project

Ok, we make sure that Ranorex Studio opens the project with no files visible, and shut it down. Then we have the following: Remove all generated .cs files, start up Studio. All OK. Open a non-recording .cs file in Studio, still OK. Open a recording (.rxrec) in Studio, get error dialogue "Can't load ...
by daa
Fri Oct 16, 2009 9:37 am
Forum: General Questions
Topic: Changing namespace in a project
Replies: 11
Views: 3530

Re: Changing namespace in a project

OK, here's the smallest one I have that shows the behaviour, as a zip. Note that this has a reference to some toolset code that I haven't included, but if you just cut Main.cs down to a stub, the whole thing should compile, and it's the behaviour of the recordings we're interested in anyway.
by daa
Thu Oct 15, 2009 2:03 pm
Forum: General Questions
Topic: Changing namespace in a project
Replies: 11
Views: 3530

Re: Changing namespace in a project

OK, I'll give it a shot... Take working project, with a standard namespace throughout of (say) "Foobar" -- this is the namespace given to it by just saying "Yes" and "Accept default" when using Studio to create a new project. Have some of your own code and some recordings in it. Close down Ranorex t...
by daa
Thu Oct 15, 2009 10:25 am
Forum: General Questions
Topic: Changing namespace in a project
Replies: 11
Views: 3530

Changing namespace in a project

Ranorex 2.1.4, Windows Vista. Background first, problem second... We've had Ranorex for a while, and have a fair bit of useful test stuff, but it's all over the place at the moment. I've now got the job of tidying up and getting everything into a state where we can move on. The first thing I've got ...
by daa
Thu Oct 08, 2009 4:52 pm
Forum: General Questions
Topic: how to validate a non-exist of one object
Replies: 4
Views: 5619

Re: how to validate a non-exist of one object

I've used one of the Find() methods to do this: /// <summary> /// The function returns the (first) Element found as an Object, or NULL. /// </summary> public static Object GetObject(RxPath aRxPath, Ranorex.Duration aTimeout) { System.Collections.Generic.IList<Element> lList = Host.Local.Find(aRxPath...