Search found 4 matches

by ssp
Fri Dec 21, 2007 4:04 pm
Forum: Automation API
Topic: Application.ShowForm =>System.InvalidOperationException
Replies: 22
Views: 11500

Hi Alex,

thanks, now I can start the form and automate it.

I have still some problems stopping the form thread, but this has to wait after the holidays.

Happy holidays!

Stefan
by ssp
Fri Dec 21, 2007 9:10 am
Forum: Automation API
Topic: Application.ShowForm =>System.InvalidOperationException
Replies: 22
Views: 11500

OK, please consider that the classes in the Ranorex namespace are not inherited from the classes in System.Windows.Forms. So you cannot cast a System.Windows.Forms Form to Ranorex.Form. I am aware of that. And I am not casting a Windows.Forms.Form to a Ranorex.Form (at least I can't see that). The ...
by ssp
Thu Dec 20, 2007 5:30 pm
Forum: Automation API
Topic: Application.ShowForm =>System.InvalidOperationException
Replies: 22
Views: 11500

Background information: I want to automate an .net Control embedded in an html-page in internet explorer (like a java applet). To gain more control over the test runs I am trying to integrate the web browser control in my test project. So instead of calling Application.Start("C:\\Program Files\\Inte...
by ssp
Thu Dec 20, 2007 3:07 pm
Forum: Automation API
Topic: Application.ShowForm =>System.InvalidOperationException
Replies: 22
Views: 11500

Application.ShowForm =>System.InvalidOperationException

Hello, I try to automate a Winforms form using the Application.ShowForm method. But this results in a System.InvalidOperationException: Additional information: Ungültiger threadübergreifender Vorgang: Der Zugriff auf das Steuerelement BrowserForm erfolgte von einem anderen Thread als dem Thread, für...