Search found 17 matches

by Captain Nemo
Mon Jun 01, 2009 2:07 pm
Forum: General Questions
Topic: Ranorex and ClickOnce
Replies: 1
Views: 2502

Ranorex and ClickOnce

I am testing an application, using InvokeRemotely to transfer data out of .net controls. I'm referencing pre-compiled assemblies in order to use the controls. However, when I try and use InvokeRemotely, I get: Cannot load assemblies dynamically - application is not deployed using ClickOnce. Anyone e...
by Captain Nemo
Wed Apr 22, 2009 10:02 am
Forum: General Questions
Topic: Invoke Remotely Failure
Replies: 6
Views: 3534

You've hit that one on the head, my test suite is located in a folder on my desktop.
by Captain Nemo
Wed Apr 22, 2009 9:21 am
Forum: General Questions
Topic: Invoke Remotely Failure
Replies: 6
Views: 3534

Ranorex is installed and licensed properly on the machine, I've always had to use this approach when using InvokeRemotely.
by Captain Nemo
Tue Apr 21, 2009 1:14 pm
Forum: General Questions
Topic: Invoke Remotely Failure
Replies: 6
Views: 3534

The problem was that I was running the testing app in a different directory to the application under test. After copying my dll's to that location and running from there, no problems at all.
by Captain Nemo
Thu Apr 16, 2009 4:51 pm
Forum: General Questions
Topic: Invoke Remotely Failure
Replies: 6
Views: 3534

Invoke Remotely Failure

I have this simple code: [STAThread] public static int Main(string[] args) { PluginManager.Instance.LoadDefaultPlugins(); Ranorex.Core.Element el = "/form[@controlname='MainForm']/element[@controlname='ribbon']"; Ranorex.Control ctrl = new Control(el); ctrl.Click(); string value = (string)ctrl.Invo...
by Captain Nemo
Wed Jan 14, 2009 11:20 am
Forum: General Questions
Topic: Krypton Controls and Ranorex
Replies: 1
Views: 2647

I have now. :)

I've created wrapper classes that bring back the properties I need for a control, using both the GetProperty() for the serializable properties and the InvokeRemotely() method for the non-serializable properties.
by Captain Nemo
Mon Jan 12, 2009 11:04 am
Forum: General Questions
Topic: Ranorex 2.0 and Controls
Replies: 14
Views: 5187

Now I've hit the serialization and transferring to .Net Control issues.

The Blog makes some sense, however, the 2.0 implementation of Ranorex.Plugin.RemotelyInvokedDelegate expects a Ranorex Control rather than the Windows control in the demo code.

Any code showing how this works?
by Captain Nemo
Thu Jan 08, 2009 12:01 pm
Forum: General Questions
Topic: Ranorex 2.0 and Controls
Replies: 14
Views: 5187

Works a treat, thanks.
by Captain Nemo
Wed Jan 07, 2009 2:31 pm
Forum: General Questions
Topic: Ranorex 2.0 and Controls
Replies: 14
Views: 5187

That works as to getting the control. It even tells me what it is from the Control Type Property. But I want to be able to get hold of what it actually is. The reason I want to do this, is because the GUI I'm trying to automate gives me a whole bunch of Ranorex.Unknown entries in my repository becau...
by Captain Nemo
Tue Jan 06, 2009 12:21 pm
Forum: General Questions
Topic: Ranorex 2.0 and Controls
Replies: 14
Views: 5187

Ranorex 2.0 and Controls

Anyone know how to get the underlying Control from an Element?
by Captain Nemo
Tue Jan 06, 2009 9:41 am
Forum: General Questions
Topic: Krypton Controls and Ranorex
Replies: 1
Views: 2647

Krypton Controls and Ranorex

Anyone have any experience with automation and Krypton Controls? http://www.componentfactory.com/

I have an application that is based on these, but most of them are described by ranorex as "Unknown". They are extensible apparently, but I wouldn't know where to begin.
by Captain Nemo
Wed Dec 24, 2008 9:18 am
Forum: General Questions
Topic: Ranorex 2.0 and VSTS
Replies: 2
Views: 3044

That worked a treat. Thanks.
by Captain Nemo
Tue Dec 23, 2008 5:05 pm
Forum: General Questions
Topic: Ranorex 2.0 and VSTS
Replies: 2
Views: 3044

Ranorex 2.0 and VSTS

Anyone successfully got ranorex to work via VSTS?

I made a recording and referenced all the files, it builds, but never finds the main window of the app I'm testing.
by Captain Nemo
Tue Dec 23, 2008 12:07 pm
Forum: Automation Tools
Topic: Ranorex Spy 2.0 Preview - Adding Elements to the Repository
Replies: 1
Views: 2837

Ranorex Spy 2.0 Preview - Adding Elements to the Repository

Currently, right clicking an element and choosing "Add to repository" only adds the top level element to the repository, but not any of its children.

Will the future version allow you to do this? It sure would be handy.
by Captain Nemo
Tue Dec 02, 2008 4:08 pm
Forum: General Questions
Topic: Ranorex 2.0 and finding Windows
Replies: 6
Views: 4089

Answered my own question, D'oh!:

RxPath path = new RxPath("/form[@title='Form name Goes Here']");
if (RepositoryName.MainForm.FindSingle(path) != null)
Console.WriteLine("Found it!");