locked
How can i use vstest.console to run coded ui tests from command line RRS feed

  • Question

  • User1253338400 posted

    Hi ,

    I have tests in my VS project and I want to run the test from command line.

    I am using the vtest.console.exe  as described in MSDN , but out of the the 30 or so test only 3 or 4 run.

    Do i need to specify a .netframework version ?

    My test solution is written in VS 2017 .net4.7.2

    Thanks

    Thursday, July 4, 2019 2:04 AM

Answers

  • User1253338400 posted

    Hi all sorted, the tests were run in different categories.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 9, 2019 11:28 PM

All replies

  • User303363814 posted

    What is the difference between the 3 or 4 and the others?

    Thursday, July 4, 2019 10:21 PM
  • User1253338400 posted

    No difference , at times all 30 run and at times 3 run . it is intermittent.

    Is IE the preferred browser for coded ui test written in VS ?

    Thursday, July 4, 2019 10:28 PM
  • User283571144 posted

    Hi robby32,

     

    Is IE the preferred browser for coded ui test written in VS ?

    According to your description, I couldn't directly find out why your test is just fired 3 or 4.

    Could you please post more details information about the command you have used?

    Best Regards,

    Brando

    Friday, July 5, 2019 5:39 AM
  • User1253338400 posted

    Hi all sorted, the tests were run in different categories.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 9, 2019 11:28 PM