Debug doesn't work on Visual Studio 2012

Class library usage, coding and language questions.
gridle
Posts: 19
Joined: Mon Mar 10, 2014 5:13 pm

Debug doesn't work on Visual Studio 2012

Post by gridle » Mon Mar 10, 2014 5:29 pm

Hi
I've just started to use trial of Ranorex on VS 2012.
Wrote some code which opens browser and fill some form.
public void Start()
        {
            var url = "someurl";

            Host.Local.OpenBrowser(url, "IE");
}
When I click right mouse button on test in test explorer (in vs) and select Run selected test, then pop up "Welcome to Ranorex Evaluation" with propose to Install license appears. I press Continue Evaluation button and test starts execution.
But when I select Debug selected tests, pop up "Welcome to Ranorex Evaluation" doesn't appear. And test execution hangs on this line:
Host.Local.OpenBrowser(url, "IE");
Could you help me with it?
Thanks!

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

Re: Debug doesn't work on Visual Studio 2012

Post by Support Team » Fri Mar 14, 2014 4:24 pm

Hello Gridle,

If you are using the debug-function in Visual Studio 2012 together with MSTest, not the same process is started as if you would have clicked the “Run selected Test”-button with MSTest. This is a known issue and we are currently working on it.

We will send a trial key to your private email address so you can use Ranorex without the "Welcome to Ranorex Evaluation" dialog.

Kind regards,
Markus (S)

gridle
Posts: 19
Joined: Mon Mar 10, 2014 5:13 pm

Re: Debug doesn't work on Visual Studio 2012

Post by gridle » Thu Mar 20, 2014 11:10 am

Support Team wrote:Hello Gridle,

If you are using the debug-function in Visual Studio 2012 together with MSTest, not the same process is started as if you would have clicked the “Run selected Test”-button with MSTest. This is a known issue and we are currently working on it.

We will send a trial key to your private email address so you can use Ranorex without the "Welcome to Ranorex Evaluation" dialog.

Kind regards,
Markus (S)
Thanks a lot!

Vijay
Certified Professional
Certified Professional
Posts: 7
Joined: Wed Apr 08, 2015 12:04 am

Re: Debug doesn't work on Visual Studio 2012

Post by Vijay » Mon May 18, 2015 1:15 am

Hi Support,

Is this issue resolved? If not, can you send me a trial key in which VS Debug is enabled without evaluation dialog?

Regards,
Vijay

LyHo
Posts: 1
Joined: Thu May 21, 2015 2:43 am

Re: Debug doesn't work on Visual Studio 2012

Post by LyHo » Thu May 21, 2015 2:46 am

Hi,

Has this issue been resolved?

Starlord
Posts: 10
Joined: Thu May 14, 2015 4:51 pm

Re: Debug doesn't work on Visual Studio 2012

Post by Starlord » Thu May 21, 2015 9:23 pm

Hi Guys,

I had the same issue using a trial key and it seems that this bug is related to the coded UI test debugger.
Please find more information on the following link MSDN Forum

I can also confirm that this problem only occurs when using a trial key. Everything seems works as expected with a normal license.
Hope this helps
Cheers