fit nesse testing vs selenium testing

Post on 18-Nov-2014

117 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

Both Selenium and FitNesse are the testing tools/frameworks allow us to validate the software which has been developed by automating the tests which need to be executed on the application. The difference lies as to "how these test cases are represented" and "who is going to exercise these tests on the application".

TRANSCRIPT

Your Software Testing PartnerWe help you build better software

Slide 2

Both Selenium and FitNesse are the testing tools/frameworks allow us to validate the software which has been developed by automating the tests which need to be executed on the application.

The difference lies as to "how these test cases are represented" and "who is going to exercise these tests on the application".

Here's is a brief comparison between FitNesse and Selenium.

FitNesse:

•FitNesse is an acceptance testing framework.

•FitNesse is used to document acceptance test cases in form of testable code, not only document but to run and get results also.

Slide 3

•FitNesse is capable of comparing customers' expectations from a software to how the software actually works.

•It can be easily used by non-technical professionals.

Selenium:

•Selenium is a web automation framework.•Selenium is used to drive a web browser using a script code.•Selenium can record and play actions performed on a web browser.•Selenium is widely used by technical professionals to test web based applications by automating them.

Both FitNesse and selenium can work with multiple scripting languages like java, .NET, Python, Ruby, etc.

Slide 4

Use of Selenium for automating the testing process is recommended when:

1) The customers are yet not involved in testing the application developed or in other words.2) The tests need to be directly coded which would be understood only by the developer writing/coding the test cases.

Use of FitNesse for automating the testing process is recommended when:

1) End users or less technical user are involved for testing the application using the automation.2) We need to focus on creating well defined and understandable test cases; in short : "creating executable specifications".3) There is a need to specify or design the test cases in a user friendly manner such as in a tabular form.4) We are looking for direct and immediate end user feedback.

Slide 5

Example:-

Entering an email address during login in a web application

In Selenium: An API which could be used:

findElement(By.id("emailId")).sendKeys("abc_1234@gmail.com");

In FitNesse: We could design and specify it as follows:

FIELD: emailIdInput value: abc_1234@gmail.comMessage displayed for invalid input: Invalid login name

So, on a final note: Selenium is used to directly automate the web user interface and Fitness tool allows us to focus on defining business logic tests in a table so that customers can understand them.

Slide 6

For more information, please:

•Contact us at info@qainfotech.com

•Visit us at www.qainfotech.com

•Read our LinkedIn at www.linkedin.com/company/qa-infotech

•Follow us on Twitter at www.twitter.com/qainfotech

USA Office

Farmington Hills Michigan, U.S.A. Phone: +1-248-719-3409

International Headquarters

NoidaUttar Pradesh, India Phone: +91-120-4294329 (Three additional testing facilities in India)

Slide 7

top related