0% found this document useful (0 votes)
35 views

Sample Link Selenium Using C#

The document discusses Selenium and how it can be used with different testing approaches like TDD and BDD. TDD involves writing test cases before code, while BDD adds a layer on top allowing non-technical users to participate through writing feature files. Selenium used with Cucumber is an example of combining it with BDD.

Uploaded by

subashreenata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Sample Link Selenium Using C#

The document discusses Selenium and how it can be used with different testing approaches like TDD and BDD. TDD involves writing test cases before code, while BDD adds a layer on top allowing non-technical users to participate through writing feature files. Selenium used with Cucumber is an example of combining it with BDD.

Uploaded by

subashreenata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

https://www.guru99.com/selenium-csharp-tutorial.

html
https://www.guru99.com/jmeter-interview-questions.html
https://www.simplilearn.com/postman-interview-questions-answers-article
https://www.lambdatest.com/blog/specflow-tutorial-for-automation-testing/

Selenium is the tool and TDD and BDD are the approaches.
TDD (Test-Driven Development) and BDD (Behavior-Driven Development) are two
different approaches used in conjunction with Selenium for software testing.

TDD is the test driven approach in which the test cases are written before the code
is written

BDD is the Behaviour driven approach which has one more layer over the code that
allows us to write the feature files so that non technical staff can also
participate in the automation.Like we use selenium with Cucumber

TDD: TDD is a software development technique that involves writing automated test
cases prior to writing functional pieces of the code. This is popular in agile
methodologies as it drives delivering a shippable product at the end of a sprint.

BDD: BDD explains the behavior of an application for the end user.It focuses on the
customer and pushes developers and testers to walk in the customer’s shoes.

I may summarise that selenium is a testing tool which uses TDD to achieve BDD.

TDD (Test-Driven Development) and BDD (Behavior-Driven Development) are two


different approaches used in conjunction with Selenium for software testing.

TDD is a development practice where test cases are written before writing the
actual code. It helps ensure code quality and functionality alignment with test
cases.

BDD, on the other hand, goes beyond TDD by allowing collaboration between technical
and non-technical stakeholders. It involves writing test cases in a natural
language format (feature files) that can be understood by all team members,
fostering better communication.

Using Selenium with Cucumber is a popular example of combining Selenium with BDD
principles to create feature files that enable non-technical staff to participate
in test automation discussions.

=====================================
In short, Selenium is independent of testing approaches or Framework by default.

It’s up to us how we want to use it.

For example use Selenium with- TestNG it will be best fit for TDD testing.

whereas using Selenium with Cucumber/SpecFLow will be BDD based testing.

You might also like