Debugged test running in IE not Chrome

4 posts, 0 answers
  1. Matthew
    Matthew avatar
    2 posts
    Member since:
    May 2014

    Posted 10 Feb 2015 Link to this post

    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?
  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 10 Feb 2015 Link to this post

    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
     
  3. Matthew
    Matthew avatar
    2 posts
    Member since:
    May 2014

    Posted 11 Feb 2015 in reply to Cody Link to this post

    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)
  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 13 Feb 2015 Link to this post

    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
     
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!