Step by Step N-Unit Test Project in VS Code with Selenium Web Driver and C#

Поділитися
Вставка
  • Опубліковано 16 вер 2024

КОМЕНТАРІ • 17

  • @CodeRadiance
    @CodeRadiance  4 роки тому +1

    PLEASE READ: Error message with invalid input value does not mean that test case has failed. It actually means that test case should have been passed. The code example in this video wrongly assumes the opposite.
    Ideally ExpectedResult argument should have been used. For example: TestCase(5, ExpectedResult=true).
    So please watch this video to learn how to use the technologies and please ignore the test cases ;)

  • @ChiragPatel-lk1vl
    @ChiragPatel-lk1vl 4 роки тому +4

    Nice Explanation ! Your videos are very useful.
    Could you please start series of C# automation
    Thanks

    • @CodeRadiance
      @CodeRadiance  4 роки тому +1

      Sure, I will think about it! Thanks for the feedback.

    • @alfredhegina4894
      @alfredhegina4894 4 роки тому

      same here...I would to see more videos for C# automation through vscod. Thank you in advance!

  • @urcristiano7officials
    @urcristiano7officials 4 роки тому +1

    Well Done .

  • @TarekFaham
    @TarekFaham 2 роки тому

    Finally, I resolved the errors...
    Can you make a video to test network interception for a submit post request using Selenium?

  • @peterle8476
    @peterle8476 Рік тому

    Thank you so much.

  • @rayqui7099
    @rayqui7099 4 роки тому +1

    When did you get the "bin" folder? I didn't see it at the beginning of the video.

  • @saibhargavkondeti1342
    @saibhargavkondeti1342 4 роки тому

    Nice Explanation! I am completely satisfied
    How do I change properties of a File like Copy to Output Directory to Copy Always on VS Code Editor?

  • @soumyasekhat4843
    @soumyasekhat4843 3 роки тому +1

    Am not able to run the program
    Am following all the steps
    It's showing localhost.
    Help me sir

  • @FreeToPlayStation
    @FreeToPlayStation 4 роки тому

    Hi! Thanks for sharing.
    I have an issue. I'm using VS code + .Net Test Explorer, as you. When i Run my tests with "Assert.Fail();" only for test, like you did, This Tests disappear from .Net test Explorer. I can't understand what is going on... I've already tried to configurate the "Test Project Path" like you did, but nothing changes... Thanks a lot anyway.

  • @TarekFaham
    @TarekFaham 2 роки тому

    I followed the same steps but since .NET 6 is the latest now, I used it and I found out that in need to use omnisharp also which I did. Now when I add the Selenium WebDriver, I get the error "NU1100: Unable to resolve 'Selenium.WebDriver (>= 4.1.0)' for 'net6.0'." Can you help me please? The project won't build now.

  • @zoebpatrawala3954
    @zoebpatrawala3954 4 роки тому

    Hi ,
    I am getting error "Waiting for debugger to attach" . I have installed C# for Visual Studio Code (powered by OmniSharp)

  • @TarekFaham
    @TarekFaham 2 роки тому

    After setting up the .NET Core Test Explorer, I try to run the test, I get this error "Could not find test (no symbols found)". Please help me to resolve this error.

  • @AkAk-bw8ie
    @AkAk-bw8ie 3 роки тому

    Will VSCode work with dot net framework. Is dot net core SDK 3 or 5 version mandatory. Pls let me know sir

  • @myntrauser498
    @myntrauser498 4 роки тому

    I am unable to run my tests (after successful build) with the following error. Can you please help me out?
    OneTimeSetUp: System.IO.FileNotFoundException : Could not load file or assembly 'netstandard2.0assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

    • @CodeRadiance
      @CodeRadiance  4 роки тому

      It looks like the assembly which is specified in the project is not available. Check the project file and verify the Target Framework. If you installed latest .Net Core then it should be netcoreapp3.0(or the latest version which you downloaded and installed).