Threads on Program.cs

Ask general questions here.
rj-nora
Posts: 38
Joined: Thu Mar 11, 2010 3:56 pm

Threads on Program.cs

Post by rj-nora » Wed May 26, 2010 11:06 am

Hello ppl i need a hand to solve a problem.I need to do the code bellow to control the method Recording1.Start
but the problem is if i do that when a certain validation fails the test hangs and i need to close it. The problem is that this way my test didn't get the Ranorex default catchs bellow. How can i solve this?
Last edited by rj-nora on Tue Jun 01, 2010 3:19 pm, edited 1 time in total.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Threads on Program.cs

Post by Support Team » Thu May 27, 2010 2:47 pm

Hi,
rj-nora wrote:How can i solve this?
I think that in one thread no try-catch block is present and therefore no exceptions is thrown.

Regards,
Peter
Ranorex Support Team