Why I am getting this warning - code module, 3.2 - 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.
ok, if i commented out this code then no warning -
/*****Check for any popup, click OK and terminate the test*********/ // Thread dialogWatchers = new Thread(rmaxValidation.WindowsPopUp); // dialogWatchers.IsBackground = true; // dialogWatchers.Start();