Search found 17 matches

by Munro89
Fri Mar 25, 2011 3:22 pm
Forum: Automation API
Topic: Drag Adapter Problem
Replies: 3
Views: 2278

Re: Drag Adapter Problem

I had the same problem here. I noticed that doing a Mouse.Click before calling the Mouse.ButtonDown makes it work, but sometime it was too fast for our application. Adding a delay (even 10ms) between the Click and ButtonDown made it fail everytime, just as if we used MoveTo and ButtonDown. I solved ...
by Munro89
Mon Mar 07, 2011 4:01 pm
Forum: Automation API
Topic: Optimizing xpath expressions to find items faster
Replies: 3
Views: 3525

Re: Optimizing xpath expressions to find items faster

Hi,

The speed is about the same from one computer to another.

I uploaded a snapshot of our application here :
http://www.mediafire.com/file/iv7xlop21 ... shot.rxsnp

Computer specs running the test :
Core 2 Duo (2ghz)
4gb ram
Windows 7 64bit

Thanks
by Munro89
Fri Mar 04, 2011 2:39 pm
Forum: Automation API
Topic: Optimizing xpath expressions to find items faster
Replies: 3
Views: 3525

Optimizing xpath expressions to find items faster

We have an application where finding an item takes between 3 and 5 seconds. We have a form in particular where we want to validate quite a few text items, and we need to navigate between a tabs. We have considered using a CacheSessionContext for each tab, but it still takes 3 to 5 seconds per tab fo...
by Munro89
Fri Sep 17, 2010 8:30 pm
Forum: Automation API
Topic: Problem with InvokeRemotely
Replies: 1
Views: 1947

Problem with InvokeRemotely

I have a few Janus Controls in my application that are not correctly recognized by Ranorex. The ribbon menu is one of them. I have implemented a solution for both UiComboBox and UiTab controls from the Janus suite. Both worked fine using a custom AccessibleObject implementation. However, I have trou...
by Munro89
Thu Sep 02, 2010 4:34 pm
Forum: General Questions
Topic: Using dll/project from the AUT in the Automation solution
Replies: 1
Views: 1924

Using dll/project from the AUT in the Automation solution

Recently, I have added references to DLL's from my AUT to the automation solution to test webservice's functionality. Basically, we have an application that talk's with another to retrieve info. We implemented a fake webservice since we don't want to test the other application (Great Plains from Mic...
by Munro89
Wed Sep 01, 2010 4:44 pm
Forum: Automation API
Topic: Automating 3rd party ComboBox
Replies: 7
Views: 2984

Re: Automating 3rd party ComboBox

Everything seems to work using InvokeRemotely. It even works with delegates in my code, so I won't have to change the code for our product, which is a plus. I had to do a custom implementation of the control to be able to cast it as a Ranorex.Control (from Ranorex.ComboBox). For those who might need...
by Munro89
Wed Sep 01, 2010 3:02 pm
Forum: Automation API
Topic: Automating 3rd party ComboBox
Replies: 7
Views: 2984

Re: Automating 3rd party ComboBox

I will try the InvokeRemotely method. As I said, the methods of the Janus control will not return what I need. I'll need to create a few methods for what I want. Can I create the custom implementation of the control in my automation solution and use InvokeRemotely with this custom implementation? Th...
by Munro89
Wed Sep 01, 2010 1:21 pm
Forum: Automation API
Topic: Automating 3rd party ComboBox
Replies: 7
Views: 2984

Re: Automating 3rd party ComboBox

What I would like to do is use the ComboBox as if it was a standard Win32 combobox. The Janus combobox currently doesn't have methods I can invoke remotely to select items, get list of items, etc. They're all properties. What I could probably do is creating a new control that is deriving from the Ja...
by Munro89
Tue Aug 31, 2010 9:47 pm
Forum: Automation API
Topic: Automating 3rd party ComboBox
Replies: 7
Views: 2984

Automating 3rd party ComboBox

Hello We use in our application the Janus UI Controls suite. I can interact with most controls just fine. However, there are a few issues with the Combobox control. I can't see the number of items it has, neither the selected value. I have found a workaround for the selected value using the Window t...
by Munro89
Wed Jun 16, 2010 9:19 pm
Forum: General Questions
Topic: Changing Ranorex runtime license from a computer to another
Replies: 1
Views: 1885

Changing Ranorex runtime license from a computer to another

We have installed our Ranorex runtime license on our build server. However, now that I think about it, we ultimately want to be running automated tests 24/7. When we commit something to the build server and a new build start, unit tests resets our DB. If the automated tests are running at the same t...
by Munro89
Mon Apr 26, 2010 8:12 pm
Forum: General Questions
Topic: Reports folder always created back
Replies: 13
Views: 2239

Re: Reports folder always created back

As it is now, I will have to manully delete it after every time I compile?

I understand having to delete it once, but now it's creating back every time I compile again.
by Munro89
Mon Apr 26, 2010 3:21 pm
Forum: General Questions
Topic: Reports folder always created back
Replies: 13
Views: 2239

Reports folder always created back

I have a few projects in my solution that are not running any tests. They are mainly used for test logic and tools.

However, every time I rebuild those projects, the Reports folder is always created, even if I delete it. How can I get rid of this?

Thanks !
by Munro89
Wed Apr 14, 2010 3:44 pm
Forum: General Questions
Topic: Can't find an item using Ranorex runtime license
Replies: 2
Views: 2066

Re: Can't find an item using Ranorex runtime license

After further investigation, I found this while searching the forums : Ranorex.Core.ElementSnapshot snap = Ranorex.Core.ElementSnapshot.Capture(element, true); System.IO.File.WriteAllText("fileName.rxsnp", snap.SerializeXml()); With this, I noticed the repo structure was the same than what I saw wit...
by Munro89
Wed Apr 14, 2010 2:45 pm
Forum: General Questions
Topic: Can't find an item using Ranorex runtime license
Replies: 2
Views: 2066

Can't find an item using Ranorex runtime license

We've bought 2 licenses about a month ago, a developper premium license and a runtime license. We have a server to build our project, and we'd like to run the automated tests every day on this server, thus the runtime license. I setup everything on the build server yesterday and noticed my test can'...
by Munro89
Wed Mar 10, 2010 3:41 pm
Forum: General Questions
Topic: Running tests in silent mode
Replies: 1
Views: 2146

Running tests in silent mode

I would like to know if there is a way to run tests in silent mode within Ranorex. By default, with a recording, the mouse and keyboard is used until the test is completed. Many testing tools offer a way to send an event to the control you want to test (such as an event click). This way, running tes...