Тёмный

Playwright C# - Using RunSettings 

CommitQuality
Подписаться 4,7 тыс.
Просмотров 4,5 тыс.
50% 1

Discover how to leverage Run Settings to customize your Playwright C# test runs and achieve more efficient and effective automation. We'll guide you through the process of configuring various settings, including browsers, timeouts, and parallel execution, enabling you to tailor your test environment to meet your specific requirements.
With our step-by-step instructions and real-world examples, you'll learn how to set up different browsers, such as Chrome, Firefox, and WebKit, and leverage their unique capabilities to enhance your testing process. We'll also show you how to fine-tune timeout settings to ensure smooth test execution, and how to take advantage of parallel execution to speed up your test suite.
Join us as we demonstrate the power of Playwright C# and Run Settings, and unlock the full potential of your automated testing workflow. Subscribe to our channel for more insightful tutorials and stay up to date with the latest advancements in Playwright C# automation. Don't miss out on improving your testing skills and optimizing your development process. Hit the play button now and let's get started!
Practice Test Automation: commitquality.com
Twitter: / commitquality

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@SirPuFFaRiN
@SirPuFFaRiN Год назад
Useful tips, thanks and keep up!
@boomertester
@boomertester 6 месяцев назад
Thank you for this!
@CommitQuality
@CommitQuality 6 месяцев назад
Most welcome :)
@cristinamoga6142
@cristinamoga6142 10 месяцев назад
Hello, I really appreciate your videos and I have one question about the app. I`m trying to add a product and when I try to select the data picker for my tests I just can`t. I activated the "show shadow dom", I can see the locator, div#picker, but can`t use it. You can`t even inspect the calendar. Can you give us some details about this thing please?
@konstantinoskinnas789
@konstantinoskinnas789 5 месяцев назад
Thank you very much for this! It seems that Microsoft does not know how to run documentation since adding an image with add custom run settings from visual studio and a paragraph should have been 5 minutes for them, but yeah their documentation was always very bad.
@raviteja-qk3br
@raviteja-qk3br 8 месяцев назад
Thank you
@CommitQuality
@CommitQuality 8 месяцев назад
You're welcome:)
@Zuber77705
@Zuber77705 Месяц назад
Hi, i created an Nunit Playwright project. but unable to run tests in UI mode using the run settings file. i have done all the steps as mentioned in the video. but still it doesn't work. using community visual studio.. 2019 latest nunit and playwright. note : able to run tests in ui mode via CLI Please help me. thank you
@cutmerock
@cutmerock 11 месяцев назад
How do you get runsettings to not run from incognito? Every time I use the settings from here, it runs in incognito and I can't get my extension to load =x
@squiblermagic
@squiblermagic 9 месяцев назад
I had trouble setting the .runsettings file to be recognised in VS. I resolved this with a Directory.Build.props file in Dependencies. Add a new file called “Directory.Build.props” to the project, add the text: $(MSBuildProjectDirectory)\Example.runsettings Then the example at about 8:30 will work, regardless of how you start the test or debug.
@tomtaniya
@tomtaniya Год назад
how do we use this runsettings file from Azure yaml pipeline? I have a runsettings file names "QA.Firefox.runsettings". I tried to specify it like : task: DotNetCoreCLI@2 displayName: Run tests in Firefox inputs: command: test --settings:QA.Firefox.runsettings projects: "**/*.csproj" publishTestResults: true arguments: --no-restore --configuration $(buildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect:"XPlat Code Coverage" --filter TestCategory=Firefox But I get the error "##[error]The command test --settings:QA.Firefox.runsettings was not recognized." when running the pipeline. How do we run the test using specific runsettings file via yaml pipeline ? Any help is much appreciated. Thank you.
@CommitQuality
@CommitQuality Год назад
This is a great question. I will get a video created for this.
Далее
Playwright C# Assertions
10:25
Просмотров 1,6 тыс.
How to Run C# in Visual Studio Code on Windows 10 2022
10:12
Elegant Acceptance Testing in .NET with SpecFlow
18:36
Brutally honest advice for new .NET Web Developers
7:19
Write and execute your first scenario
13:01
Просмотров 13 тыс.