Demonstration On Regression Testing

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Experiment 7

Demonstration on Regression testing


a. Study of any web-testing tool (eg. Selenium).

Selenium is a portable software-testing framework for web


applications. Selenium provides a playback (formerly also recording) tool
for authoring tests without the need to learn a test scripting language
(Selenium IDE). It also provides a test domain-specific language
(Selenese) to write tests in a number of popular programming languages,
including C#, Groovy, Java, Perl, PHP, Python, Ruby and Scala. The
tests can then run against most modern web browsers. Selenium deploys
on Windows, Linux, and macOS platforms. It is open-source software,
released under the Apache 2.0 license: web developers can download and
use it without charg

Components
Selenium is composed of several components with each taking on a specific role in aiding the
development of web application test automation.

Selenium IDE

Selenium IDE is a complete integrated development environment (IDE) for Selenium tests. It
is implemented as a Firefox Add-On, and allows recording, editing, and debugging tests. It
was previously known as Selenium Recorder. Selenium-IDE was originally created by
Shinya Kasatani and donated to the Selenium project in 2006. It is little-maintained and is
compatible with Selenium RC, which was deprecated.[3]

Scripts may be automatically recorded and edited manually providing auto completion
support and the ability to move commands around quickly. Scripts are recorded in Selenese, a
special test scripting language for Selenium. Selenese provides commands for performing
actions in a browser (click a link, select an option), and for retrieving data from the resulting
pages.

The Selenium IDE for Firefox stopped working[4] after the Firefox 55 upgrade and will be no
longer maintained.

Selenium client API

As an alternative to writing tests in Selenese, tests can also be written in various


programming languages. These tests then communicate with Selenium by calling methods in
the Selenium Client API. Selenium currently provides client APIs for Java, C#, Ruby,
JavaScript and Python.

With Selenium 2, a new Client API was introduced (with WebDriver as its central
component). However, the old API (using class Selenium) is still supported

b. Study of any bug-tracking tool (eg. Bugzilla, bug bit).

Bugzilla is a web-based general-purpose bugtracker and testing tool


originally developed and used by the Mozilla project, and licensed under
the Mozilla Public License.

Released as open-source software by Netscape Communications in 1998,


it has been adopted by a variety of organizations for use as a bug tracking
system for both free and open-source software and proprietary projects
and products. Bugzilla is used, among others, by the Mozilla Foundation,
WebKit, Linux kernel, FreeBSD,[4] GNOME, KDE, Apache, Red Hat,
Eclipse and LibreOffice. It is also self-hosting.

Requirements
Bugzilla's system requirements include:

 A compatible database management system


 A suitable release of Perl 5
 An assortment of Perl modules
 A compatible web server
 A suitable mail transfer agent, or any SMTP server

Currently supported database systems are MySQL, PostgreSQL, Oracle, and SQLite.
Bugzilla is usually installed on Linux using the Apache HTTP Server, but any web server that
supports CGI such as Lighttpd, Hiawatha, Cherokee can be used. Bugzilla's installation
process is command line driven and runs through a series of stages where system
requirements and software capabilities are checked.

c. Study of any test management tool (eg. Test Director)

TestDirector
It is a Global Test Management tool, the industry’s first global test management solution. It
helps organizations deploy high-quality applications more quickly and effectively. It has four
modules:
- Requirements
- Test Plan
- Test Lab
- Defects

Features & Benefits Supports the entire testing process. TestDirector incorporates all the
following aspects of the testing process into a single browser-based application:

- Requirements management
- Planning
- Scheduling
- Running tests
- Issue management
- Project status analysis

Leverages innovative Web technology Testers, developers and business analysts can
participate in and contribute to the testing process by working seamlessly across geographic
and organizational boundaries.

Uses industry-standard repositories: TestDirector integrates easily with industry-standard


databases such as SQL, Oracle, Access and Sybase.

Links test plans to requirements: TestDirector connects requirements directly to test cases,
ensuring that functional requirements have been covered by the test plan.

Integrates with Microsoft Office: TestDirector can import requirements and test plans from
Microsoft Office, preserving your investment and accelerating your testing process.

Manages manual and automated tests: TestDirector stores and runs both manual and
automated tests, and can help jumpstart a user’s automation project by converting manual
tests to automated test scripts.

Accelerates testing cycles: TestDirector's TestLab manager accelerates the test execution
cycles by scheduling and running tests automatically—unattended, even overnight. The
results are reported into TestDirector’s central repository, creating an accurate audit trail for
analysis.

Supports test runs across boundaries: TestDirector allows testers to run tests on their local
machines and then report the results to the repository that resides on a remote server.

Integrates with internal and third-party tools: Documented COM API allows TestDirector to
be integrated both with internal tools (e.g., WinRunner and LoadRunner) and external third-
party lifecycle applications.

d. Compare different testing tools.

Comparison of Tools
The table below provides a comparison of the tools based on the key features of software
automation:

Features Katalon Studio Selenium UFT (QTP) TestComplete

Test Cross-platform Cross-platform Windows Windows


development
platform
Application Web and mobile apps Web apps Windows desktop, Windows desktop,
under test web, mobile apps web, mobile apps
Scripting Java/Groovy Java, C#, Perl, VBScript JavaScript, Python,
languages Python, VBScript, JScript,
JavaScript, Ruby, Delphi, C++, and C#
PHP
Programming Not required. Advanced skills Not required. Not required.
skills Recommended for needed to Recommended for Recommended for
advanced test scripts integrate various advanced test scripts advanced test scripts
tools
Learning curves Medium High Medium Medium
Ease of Easy to set up and Require installing Easy to setup and run Easy to setup and run
installation and run and integrating
use various tools
Script creation Quick Slow Quick Quick
time
Object storage Built-in object XPath, UI Maps Built-in object Built-in object
and repository, XPath, repository, smart repository, detecting
maintenance object re- object detection and common objects
identification correction
Image-based Built-in support Require installing Built-in support, Built-in support
testing additional image-based object
libraries recognition
Continuous Popular CI tools (e.g. Various CI tools Various CI tools (e.g. Various CI tools (e.g.
integrations Jenkins, Teamcity) (e.g. Jenkins, Jenkins, HP Quality Jenkins, HP Quality
Cruise Control) Center) Center)
Product support Ticketing support, Open source Dedicated staff, Dedicated staff,
community community community community
License type Freeware Open source Proprietary Proprietary
(Apache 2.0)
Cost Free Free License and License and
maintenance fees maintenance fees

You might also like