Playwright Python config file
2:12
Playwright run test by Tag
1:40
3 ай бұрын
NUnit VS Code tutorial
5:20
7 ай бұрын
Selenium Python Parallel Testing
2:21
Selenium Python Html Reports
4:12
Selenium Python test fixture
2:52
Selenium Python Locators
4:18
9 ай бұрын
Selenium IDE update locators
1:30
10 ай бұрын
Selenium Pytest marker
2:40
10 ай бұрын
Пікірлер
@ericksonimanzi
@ericksonimanzi Ай бұрын
Hi Alex what do i do if my tests are not being discorvered?
@TechWithAlexDuta
@TechWithAlexDuta Ай бұрын
Hi @ericksonimanzi, there may be several reasons, you can double check the following: -Packages installation (e.g. in .csproj file): NUnit, NUnit3TestAdapter, Microsoft.NET.Test.Sdk -Each test method must have the [Test] attribute, [TestFixture] (not mandatory in NUnit 3 if the class has [Test] methods) -Check that the test method access modifier is set to public -Ensure the solution builds successfully without errors (dotnet clean, dotnet build) -Update your libraries and .NET -Run Tests Using the .NET CLI (e.g. Navigate to your project directory, run dotnet test) => If tests are discovered and executed in the CLI but not in VS Code, the issue is likely with the VS Code extension or settings
@KE_1105
@KE_1105 Ай бұрын
Nice video. Helped a lot. Thanks
@Praskand_Upadhyay
@Praskand_Upadhyay Ай бұрын
What's the practical use of Playwright that you've used and appreciated and that has helped you?
@TechWithAlexDuta
@TechWithAlexDuta Ай бұрын
@Praskand_Upadhyay I will mention few of those: robust selectors, running options(emulation, headless, command line arguments), fixtures, auto-waiting or specific to Python (Pytest integration)..
@Magdoulin
@Magdoulin 2 ай бұрын
How to export the tests to run through Jupyter Notebook?
@0x00000101
@0x00000101 2 ай бұрын
Спасибо, Александр!
@suen-tech
@suen-tech 2 ай бұрын
Its very helpfull. Thank you.
@TechWithAlexDuta
@TechWithAlexDuta 2 ай бұрын
Glad to hear that!
@myfuntimemasti
@myfuntimemasti 2 ай бұрын
Is there any chance can we run specific test through console or cmd? As we have use filter for test category ,do we have any filter for testname ="testname_here"
@menardsoliven2178
@menardsoliven2178 3 ай бұрын
Great tutorial! I almost there. I got problems in 2:58 timestamp. Can you help me? at 2:58 you have created "__init__. py" and it's fonts turned color green in your video. While I did the same thing, but the font color my "__init__. py" doesn't turn green, it's still white. What do I need to do to make it color green like in your video?
@leoromano9760
@leoromano9760 3 ай бұрын
Thanks Alex, much appreciated
@dnnnyxdxdxd4608
@dnnnyxdxdxd4608 3 ай бұрын
foarte bun Alex mai astept si alte tutoriale !!!
@heyitsme21_
@heyitsme21_ 4 ай бұрын
Why can't I find config.yaml file in the folder where I saved my .side?
@Rtexron
@Rtexron 4 ай бұрын
Hi Alex, Great video that help me to get into it! Had several problems during it, at first it was impossible to run the project because I had to change the c# executor map (scriptcs by dotnet run). Now, that everything is okai I could run the test from the command line but If I want to run the tests from the other method with .NET Core Test Explorer extension, it created tempCodeRunnerFile.cs file with a Wait string inside and the project seems to have build problems, any ideas to fix this?
@ViralPanchal97
@ViralPanchal97 5 ай бұрын
PS C:\Users\viral\selenium_python_project_22_aug> pytest -m selenium pytest : The term 'pytest' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + pytest -m selenium + ~~~~~~ + CategoryInfo : ObjectNotFound: (pytest:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@vineetTrip
@vineetTrip 4 ай бұрын
@MuhammadMaazKhan-d1h check the video again where it is mentioned to add pytest scripts path to PATH env variable, once done restart vscode to pickup new PATH variable. it should work now.
@chinmayk2657
@chinmayk2657 5 ай бұрын
How you show how 3 testcase execution and report generated in extent report-Thanks
@gangaravi7886
@gangaravi7886 5 ай бұрын
This is awesome. Really it helps me a lot.
@TechWithAlexDuta
@TechWithAlexDuta 5 ай бұрын
Glad it helped! Thanks for taking the time to mention it.
@chinmayk2657
@chinmayk2657 5 ай бұрын
multiple test case execution and reporting in single extent report - any video pls give the link
@hoang97anh
@hoang97anh 5 ай бұрын
What is your opinion comparing extent report and allure report
@carlos_gongora
@carlos_gongora 6 ай бұрын
Nice demo! Thanks a lot, very useful!!
@TechWithAlexDuta
@TechWithAlexDuta 5 ай бұрын
Glad it was helpful!
@andreandrade3353
@andreandrade3353 6 ай бұрын
Amazing approach, very concise and straightforward, thanks for that!
@TechWithAlexDuta
@TechWithAlexDuta 6 ай бұрын
Glad it was helpful!
@benchakalaka
@benchakalaka 6 ай бұрын
Life saver! Thank you
@ElmiraAlizadeh-j5o
@ElmiraAlizadeh-j5o 7 ай бұрын
I run the code without wrong but nothing run in terminal (The massage is ,No tests ran in ..)
@HarshMishra-f7n
@HarshMishra-f7n 7 ай бұрын
I am currently using selenium IDE and I was recording a test case in which I am asking for some fields, I gave all fields but one field was asking for yaml content and I gave it in correct format but when I rerun the test case, the format of the content of yaml got spoiled, so is there any solution for this?
@artokilponen6989
@artokilponen6989 7 ай бұрын
Just to help others who might run into the same problem as I did: If you get an error "import selenium could not be resolved" try View -> Command Palette... -> Python: Select Interpreter -> and select different options until you find one that works. (The one that works should be the one you get from terminal with "python --version" ) Hopefully this helps someone. Otherwise I think this video was a really good one, did what needed and didn't take an eternity with it.
@nehakumar-u2s
@nehakumar-u2s 7 ай бұрын
While running the code, getting some errors
@vipulkhandelwal3477
@vipulkhandelwal3477 8 ай бұрын
How can I use this implementation with xunit framework?
@yevhenkomar
@yevhenkomar 8 ай бұрын
Selenium is ‘yesterday’, playwright is a future)))
@ankitSharma-dd2qz
@ankitSharma-dd2qz 8 ай бұрын
Thankyou so much its a great Can you also made a video with Specflow
@77seban
@77seban 8 ай бұрын
That was great ..for me it is hard to code... this is advance like developer not like tester. All the best and thanks for tutorial. Your few first lesson was less complicated.
@aditi99chandrashekar93
@aditi99chandrashekar93 8 ай бұрын
After I clicked on view-testing I am getting an error in terminal.(error:No tests found, check the SearchPattern in the extension settings.). can you please tell me how can i resolve this issue
@77seban
@77seban 8 ай бұрын
Thanks I am learning for my work ..but I need MSTest ? Is this the same ...but different framework.
@TechWithAlexDuta
@TechWithAlexDuta 8 ай бұрын
Within this series I have been using NUnit testing framework, but after all you can use another testing framework which is more suitable for your context, there are many similar things between them.
@DamonSal-bv2rc
@DamonSal-bv2rc 8 ай бұрын
Hi Alex, can't find method "ScreenshotImageFormat.Png", is it allure method or something please help with this.
@skf-sfg-sts-23-ghfj-jfjf
@skf-sfg-sts-23-ghfj-jfjf 8 ай бұрын
Hi Alex, how to change the Timestamp on HTML reporter inside the test details when log status in ("Info", "Pass" or "Fail") , looks like yours has seconds? I have a date format like this "9:15 AM" on the Timestamp and would like to add seconds and millisecond. Thank you for your tutorials, they are very helpful.
@hareeshparuchuri6990
@hareeshparuchuri6990 9 ай бұрын
Thanks for the video
@TechWithAlexDuta
@TechWithAlexDuta 9 ай бұрын
Thank you for taking the time!
@VaibhavFarkadee
@VaibhavFarkadee 9 ай бұрын
Thank you so much for explaining, explicity weight it was difficult to find as New version has updated support😊
@TechWithAlexDuta
@TechWithAlexDuta 9 ай бұрын
Happy to help!
@vasilkarazhekov1805
@vasilkarazhekov1805 9 ай бұрын
Nice and short tutorial, but guys, please add a reference to the source project by right-clicking the Dependencies under the project explorer in order to be able to access the source project classes.
@islahG26
@islahG26 9 ай бұрын
thanks for the tutorial! very helpful mate :)
@TechWithAlexDuta
@TechWithAlexDuta 9 ай бұрын
Glad it helped!
@rogerkujur5451
@rogerkujur5451 9 ай бұрын
keep doing this learning automation from your video is easy and fast thanks sir
@rogerkujur5451
@rogerkujur5451 10 ай бұрын
thanks please provide a playlist
@TechWithAlexDuta
@TechWithAlexDuta 10 ай бұрын
You can check on my channel the "Selenium Python" playlist :)
@swaps_spkr
@swaps_spkr 10 ай бұрын
My Test methods are parameterized (getting data from api) and passing it to Test method and performing Assert on each data to check if url has proper statusCode. I have added [Parallelizable(ParallelScope.Children)] to Test method. At Class level added [TestFixture] and [Parallelizable(ParallelScope.Fixtures]. the screenshot are not getting properly capture at particular point when assert is perform . Please suggest
@swaps_spkr
@swaps_spkr 10 ай бұрын
This is really helpful. Thanks a lot.
@TechWithAlexDuta
@TechWithAlexDuta 10 ай бұрын
Glad it was helpful!
@ionion6147
@ionion6147 10 ай бұрын
Wish this would have more viewers and reach. Simple and to the point, very well done!
@TechWithAlexDuta
@TechWithAlexDuta 10 ай бұрын
Thank you :) I'll give it my all.
@GautamGoswami-r4n
@GautamGoswami-r4n 10 ай бұрын
Hi Alex, this command is not giving any reponse "dotnet sln add .\selenium_tests\" please help me"
@TechWithAlexDuta
@TechWithAlexDuta 10 ай бұрын
I would suggest to double-check the paths & .NET version(dotnet --version), ensure that you have the necessary permissions to modify the solution file and add projects to it, or maybe you can manually edit the solution file (*.sln) to include the project.
@thilakshanbalachandran5535
@thilakshanbalachandran5535 6 ай бұрын
"dotnet sln add .\selenium\" Try this it will work
@ItsRani-i1y
@ItsRani-i1y 11 ай бұрын
Thank you
@rohodev
@rohodev 11 ай бұрын
hi Alex, isn't it required also to install a ChromeDriver which version matches the installed chrome browser?
@TechWithAlexDuta
@TechWithAlexDuta 11 ай бұрын
As of Selenium 4.6.0 the manual configuration of the driver is optional, if this is not happening it will be automatically handled by Selenium Manager. You can check one of my videos here about this: kzbin.info/www/bejne/iGKXqIt4ja9lh6c
@HazraFaiyaz
@HazraFaiyaz 11 ай бұрын
Which version of VSCode are you using? Does this work with the latest version?
@TechWithAlexDuta
@TechWithAlexDuta 11 ай бұрын
It should work with the latest version of vs code (and not only). For this video I have used 1.86.2. Enjoy the journey and happy coding :)
@ivanarabome4172
@ivanarabome4172 11 ай бұрын
When a user clones the project how can they easily set it up, install the dependencies, and run it? Similar to when you clone a react project you run npm install or python that uses the requirements document to install dependencies
@TechWithAlexDuta
@TechWithAlexDuta 11 ай бұрын
After you clone the project the setup requires minimum effort. Note: just make sure you have (the latest) .NET installed (e.g. how to install it: kzbin.info/www/bejne/jqLahoB9fJalqsk). Based on your sample: -for a python project you have 'pip' as the standard package manager and dependencies are defined in requirements.txt file; -for .NET you have NuGet as the default package manager and dependencies are defined in .csproj file (newer .NET projects) and you can restore them using "dotnet restore" or "dotnet build"(implicit restore); in terminal go to current project directory;
@ivanarabome4172
@ivanarabome4172 11 ай бұрын
@@TechWithAlexDuta yesss you’re a genius this is exactly what I want
@daysigalindo3688
@daysigalindo3688 11 ай бұрын
Hi Alex, is there a way to load the results into testrail using Allure.NUnit?
@JyothiVijayakumar-x1l
@JyothiVijayakumar-x1l Жыл бұрын
This solved my problem. Thanks a lot
@triciaaanderud8864
@triciaaanderud8864 Жыл бұрын
This is good and easy to understand. The pace of your voice is easy to understand.
@TechWithAlexDuta
@TechWithAlexDuta Жыл бұрын
Thank you so much
@littlemermaid5921
@littlemermaid5921 Жыл бұрын
Thamk you so much ❤