Hello at this moment i'm using threads at Program.cs when i run the test The report shows a warning message :
The apartment state of the current thread is not set to STA. Please make sure that all threads accessing Ranorex methods have their apartment state set to STA.
What is that? How can i solve?
Thanks
Warning using Threads
-
- Posts: 49
- Joined: Thu Aug 20, 2009 11:28 am
Re: Warning using Threads
Hi,
If you do a search on the forums for STA you will find a few postings with the solutions you need...
If you are using Visual Studio you can set the project to use the STA apartment state.
Chris
If you do a search on the forums for STA you will find a few postings with the solutions you need...

If you are using Visual Studio you can set the project to use the STA apartment state.
Chris
Chris George
Test Engineer
Red Gate Software Ltd
Cambridge
Test Engineer
Red Gate Software Ltd
Cambridge