This repository contains SpecFlow's BDD with Selenium with the aim to test the search feature in Google and Youtube platforms.
Create and go to the directory where you want to place the repository
cd my-directoryClone the project
git clone https://github.com/pncsoares/specflow-selenium-search.gitGo to the project directory
cd specflow-selenium-searchClick in the Build button
Open terminal and execute the following commands:
# run in SpecFlowCalculator directory
dotnet buildClick in Run all tests button
Open terminal and execute the following commands:
# run in SpecflowSelenium directory
dotnet testYou need to have livingdoc installed in your computer
Open terminal and execute the following commands:
# run in SpecflowSelenium directory
livingdoc test-assembly SpecflowSelenium/bin/Debug/net6.0/SpecflowSelenium.dll -t SpecflowSelenium/bin/debug/net6.0/TestExecution.jsonOpen the LivingDoc.html that livingdoc created in the root of SpecflowSelenium directory.
MIT