This is a migrated thread and some comments may be shown as answers.

Debugged test running in IE not Chrome

3 Answers 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthew
Top achievements
Rank 1
Matthew asked on 10 Feb 2015, 11:30 AM
I'm trying to debug a test's coded step. Problem is my app must run in Chrome, but the debugged test always opens IE. Manually running the test opens Chrome, and my project settings are set to run in Chrome.

What am I doing wrong?

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 10 Feb 2015, 11:12 PM
Hello Matthew,

When you use source code debugging in Visual Studio, you are actually using MSTest. MSTest always uses the active Visual Studio /testsettings file. You must create one and set the browser to run the test list in that file as described starting with step 11 of the MSTest documentation page I previously linked to.


Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Matthew
Top achievements
Rank 1
answered on 11 Feb 2015, 05:26 PM
Thanks for the reply Cody, that looks like its supposed to work. However, it still tries to open IE. Right now it fails to run the test, claims it can't find a file I can plainly see, but that's another question all together.

Follow up but related question. Tests seam to show up in "Test Explorer" almost at will. Sometimes they are there, sometimes they are not. I have rebuilt the Telerik project, and my solution, didn't help.

VS Pro 2013 (12.0.31101.00 Update 4)
Telerik Test Studio (2014.4.1211.0)
0
Cody
Telerik team
answered on 13 Feb 2015, 03:58 PM
Hi Matthew,

You will get that behavior if you forgot to make your .testsettings file active. Here's a video demonstration{
http://screencast.com/t/YN99G885T0

Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Matthew
Top achievements
Rank 1
Answers by
Cody
Telerik team
Matthew
Top achievements
Rank 1
Share this question
or