Sie sind auf Seite 1von 18

SCHOOL OF INFORMATION AND TECHNOLOGY ENGINEERING

FALL SEMESTER 2020-2021

Project Title: BUS AND RESIDENCY BOOKING SYSTEM

Review – 2: Testing Tool Description

Course Name : SOFTWARE TESTING


Course-Code : SWE2005
Slot : G2+TG2
Faculty Name: Dr. ARIVUSELVAN.K

Team Members:
K.SARAYU – 18MIS0069
ROHIN HODKASIA – 18MIS0126
CH.KULADEEP N V P S GUPTA - 19MIS0357

Tool: TestComplete
Testing Tool Description:
TOOL: TESTCOMPLETE

Abstract for the Tool test complete:-


TestComplete is an automated testing tool that lets you create, manage and run tests for any
Windows, Web or Rich Client software. It makes it easy for anyone to create automated tests.
And automated tests run faster, increase test coverage and lower costs. TestComplete's new
script-free keyword testing, ease of use enhancements and centralized Start Page make
learning automated testing a snap for new users. TestComplete's flexibility and extensive
feature list ensure power users always have a solution to testing challenges. TestComplete is
a must have tool for QA teams that need to do more testing, keep up with rapid development
schedules and still deliver software on time.

TestComplete Components:
• TestComplete Platform
• TestComplete Desktop Module
• TestComplete Web Module
• TestComplete Mobile Module

1. TestComplete Platform:
It powers TestComplete Desktop, Mobile automated testing tools, and Web which will
help you build solid automated tests across multiple devices, platforms, and
environment smoothly and
instantly. The TestComplete platform is a prerequisite either to use
TestComplete Desktop, Web or Mobile.

2. TestComplete Desktop Module:


It imparts support for testing a variety of desktop applications which are created by various
languages. TestComplete Desktop comes with many functional testing capabilities and
automated testing tools, and has everything you need in an automated testing tool.

3. TestComplete Web Module:


The TestComplete Web Module helps you create functional tests for websites and automated
Graphical User Interface (GUI), web apps and mobile applications. You can also create robust
web tests within a short span of time. TestComplete Web comes with diverse features that
make automating web testing effective and productive
4. TestComplete Mobile Module:
It allows you to create robust automated tests for web, native, web or hybrid mobile
Android applications. There is no need to root your devices since it provides full device
control.

Features of TestComplete:
TestComplete is an automated testing tool which is easy to create automated tests. It
provides special features for creating tests, automating test actions, running tests, etc. It
helps you improve your test coverage and assures a high- quality software.

1. Distributed testing:
TestComplete can run several automated tests across separate workstations.

2. Test of record and playback:


It records the key actions required to replay the test and rejects the unnecessary actions.

3. Test Visualizer:
TestComplete help you capture screenshots automatically during test execution and
playback. This allows you to do a quick comparison between expected and actual screens
during test.

4. Scripted testing:
TestComplete has a built-in code editor which helps testers write scripts manually. You can
write test scripts from scratch or modify the recorded ones.

5. Access to methods and properties of internal objects:


TestComplete reads the names of the many internal elements of .NET, Java, Visual
basic applications, Delphi, etc, and also other visible elements.
Merits of TestComplete:
TestComplete is benefited in many ways. It has an open flexible architecture that enables
users to automate applications across various browser and platforms. It also has built-in
test samples to help you to get started with the tool. TestComplete is the most stable tool.

1. Simple and easy to use:


With its simplistic continuous integration feature, it turns out to be easily accessible
and usable. People who don’t know any code can also use this.

2. Swift execution:
TestComplete help you to create precise and repetitive automated testing quickly on different
devices. Test Visualizer helps in saving time for developers while debugging.

3. Customization:
In TestComplete, you will have an option to write or edit script manually if you find the
editor tool insufficient.
4. Simple and easy to use:
With its simplistic continuous integration feature, it turns out to be easily accessible
and usable. People who don’t know any code can also use this.

5. Swift execution:
TestComplete help you to create precise and repetitive automated testing quickly on different
devices. Test Visualizer helps in saving time for developers while debugging.

6. Customization:
In TestComplete, you will have an option to write or edit script manually if you find the
editor tool insufficient.

7. Timely updates:
With TestComplete you can always expect immeasurable customer support, high levels
of maintenance, and regular updates.

Demerits of TestComplete: -
• TestComplete License cost is a bit high, but it is still cheaper than QTP
• Only supports Windows
• It doesn’t support Mac
• There is not enough support available through open communities
• It is not easy to start with official documentation

2 - TOOL: TESTINGWHIZ
Abstract for the Tool Testinwhiz:-

TestingWhiz is an Easy, Intuitive and Affordable Test Automation Solution based on a


proprietary FAST (Flexible Automation Scripting Technology)Automation Engine that uses
effortless and intelligent recording techniques like Keyword-

Driven Testing, Data Driven Testing, Excel Inputs, Object Recorder and Java Scripting to
design and execute test cases. It features detailed reports as well as out of the box integration
with most widely used defect tracking systems.

Testingwhiz Components:

1. Keyword-Driven Testing

2. Data-Driven Testing (DDT)

3. Risk-Based Testing (RBT)

4. Web Service Testing (REST & SOAP)


1. Keyword-Driven Testing:
It is a type of functional automation testing framework
which is also known as Table-Driven Testing or Action Word Based Testing.

A table format is used to define Keywords or Action words for each function that would be
executed

2. Data-Driven Testing (DDT):


It is a scripting technique that stores test input and
expected results in a table or spreadsheet so that a single control script can execute all of the
tests in the table.

It is a testing methodology where test input and output values are read from data files and are
loaded into variables in the test scripts.

It allows users to execute the same test(s) multiple times with different set of data

3. Risk-Based Testing (RBT):


Risk-Based Testing is a type of software testing in
which functions and features are tested based on priority (Critical, High, Medium, Low). It uses
risk analysis to recognize proactive chances to take out or avoid defects through non-testing
activities and to help users select which test activities to perform.

This kind of testing includes both mitigation (testing to give chances to decrease the likelihood
of faults, especially high-impact faults) and contingency (testing to know a workaround to
create the defects that get us less painful).

TestingWhiz enables a user to perform Risk-Based Testing by defining the risks at the Test
Case level. This gives a user the granular advantage to test even at the critical parts of her/his
application.

4.Web Service Testing (REST & SOAP):


A web service is a collection of open
protocols and standards used for exchanging data between applications or systems. Software
applications written in various programming languages and running on various platforms can
use web services to exchange data over computer networks like the Internet in a manner similar
to inter-process communication on a single computer.

There are 2 ways to implement Web Services

1. REST (REpresentational State Transfer architecture) Web Service

2. SOAP (Simple Object Access Protocol) Web Service


1. REST Web Service Testing:

REST means REpresentational State Transfer; it is an architecture


that generally runs over HTTP

The REST style emphasizes the interactions between clients and services, which are enhanced
by having a limited number of operations. REST is an alternative to SOAP and instead of using

XML for request REST uses simple URL in some cases. Unlike SOAP, RESTFUL applications
use HTTP build in headers to carry meta-information.
2. SOAP Web Service Testing:

SOAP is a standard protocol defined by the W3C Standard for sending and receiving web
service requests and responses.

SOAP uses the XML format to send and receive the request and hence the data is platform-
independent data. SOAP messages are exchanged between the provider applications and
receiving the application within the SOAP envelope. SOAP uses the simple HTTP protocol.
Features of Testingwhiz:

 FAST Automation Engine:

TestingWhiz, the codeless test automation tool, comes with a FAST Automation Engine to help
you create automated test cases, on a keyword and data-driven structure, object-based
architecture with Java scripting. The engine can execute files like (.exe,.bat, DOS) to impart
flexibility, speed, and ease in executing automation projects.

 Object Eye Internal Recorder:

TestingWhiz lets you record and store all web controls using the intelligent, Object Eye built-in
recorder. You can further access and edit these objects using the smart editing features to create
highly modular scenarios for complex test cases - all to playback for your regression
testing needs and optimize your test execution cycle

 Visual Recorder:

TestingWhiz also comes with a Visual Recorder to help you automate testing of desktop-based
applications, widgets as well as flash applications using inputs from onscreen actions such as
Click, Input, Scroll, Right Click, Double Click, Cancel, and more.

 Integrated Mobile Recorder:


An integrated Mobile recorder allows you to automate test recording on multiple mobile
applications/devices. You can also record and run the same test cases on multiple devices with
ease.

 SVN Integration:

Collaborative software development is an approach that allows multiple teammates to share


work and help people that are involved in a common task to achieve their goals. TestingWhiz
offers out-of-the-box integration with SVN as a version control system. With this connector,
everybody as a team can work freely - on any file at any time. The connector allows you to
commit changes, checkout the latest files, show history and revert local changes.

 Merge Different Test Projects:

TestingWhiz facilitates team collaboration to utilize reusable components & provides better
maintenance to your automation scripts. The Merge tool provides an opportunity to use code
that is prepared by someone from your team from your project. Merge test projects allow users
to compare different test project files, view, move or copy test cases from one project file to
another.

 Mobile Testing Support:

TestingWhiz helps you perform mobile web and mobile native app testing on Android real
devices as well as simulators via Appium support. It provides dedicated test commands for
mobile to help you execute and analyze your tests with ease.

 Risk-Based Testing:

TestingWhiz enables you to perform Risk-Based Testing by defining the risks at the Test Case
level to test functions and features based on priority. It uses risk analysis to recognize and avoid
defects through non-testing activities and helps you select which test activities to perform. This
gives you the granular advantage to test the critical & minute parts of your application.

Merits of Testingwhiz:

Code-Less Test Editor (Keyword Driven) - TestingWhiz features 90+ test commands
to create powerful test automation scripts along with an intuitive UI and drag and drop controls
that help you record and modify test scripts easily.

FAST Object Recorder – The Object-Eye tool of the TestingWhiz speeds up test creation
process by identifying Class, Xpath, Form Controls and Values of web-objects and stores them
in the object repository for easy regression.
Inbuilt Test Data Tables (Data Driven) – Stores up to 500+ data table that help you
use them across multiple test projects.

Cross Browser Testing – TestingWhiz lets you run your test cases across multiple
browsers like Firefox, Chrome and Internet Explorer.

Formidable Test Scripting Features - Facilitates using operations like conditional


loops (If, Else-if, If Else and If Not) to ease complex scripts. It even allows testers to group
frequently used test cases and re-use them across multiple test projects.

Integrations for the Enterprise – TestingWhiz provides efficient results due to its
integration with Defect Tracking Tools like Mantis, Fogcreek Fogbugz and Atlassian JIRA and
Test Management Tools like HP Quality Center.

WhizGrid – Distributed Test Execution - Allows testers to execute test cases on


multiple nodes from a single centralized server.

Internationalization – TestingWhiz allows you to customize the UI, scripts and reports
into a language of your choice among English, Spanish, French, German, Italiano and Dutch.

Database Testing – Facilitates testing the complete application with connectors like
Oracle, MSSQL, My SQL, etc. along with an ability to fetch database to placeholder and export
the same to Excel or CSV.

Shorter Learning Curve - TestingWhiz offers enough goodies for the junior tester to get
started and also packs in enough punch for the seasoned automation engineer which
significantly cut down the learning curve.

Demerits of Testingwhiz: -

 Test data is hard-coded into the testing scripts.

 Test scripts cannot be reused.

 Synchronization problems may occur in web UI testing because of which a test script


may not re-turn.

 Manageability is difficult as the test area/scope widens.

3 - TOOL: RANOREX
Abstract for the Ranorex

An automated test consists of two parts: the procedure,


which is a set of steps to perform; and the data to use in the test. For example, a test for
a login dialog would include steps to open the application, enter the username, enter the
password, click the Submit button, and check that the application responded correctly.
The data for this test would include a username, password, and the expected results of
the test, such as a successful login or an appropriate error message. Typically, a login
test would be repeated for multiple combinations of valid and invalid username and
passwords. In data-driven testing, the test data is stored in a table separate from the test
procedure. During a test run, the test procedure is performed once for each row in the
data table. Thus, the data in the table can be said to “drive” the execution of the test.

Ranorex Components:

 Automated Testing Software


 Ranorex Recorder
 Ranorex Spy
 Ranorex Repository

 Automated Testing Software:

Ranorex studio provides the Recorder, Repository and Spy, all under the completely
integrated test environment.

 Ranorex Recorder:

With this tool, one can record the test cases by recording and playing back a user’s actions
while navigating through the application during the testing process. In the recording mode,

while the user browses the application, the recorder records the user actions in the action table,
which can be modified manually later on. The recorded user actions and the associated UI
elements are saved as individual items and therefore can be easily accessed and edited.

 Ranorex Spy:

This tool lets the user to put the UI elements of an application through the scanner. It is a
query language that allows the tester to validate the application in order to identify and filter
out various UI elements easily. This tool provides the mapping information of these GUI
elements to change the Xpath.

 Ranorex Repository:

UI elements of the application that are being analyzed can be found under the Ranorex
Repository. It is a part of Ranorex Studio, the test development environment and is also
integrated with Ranorex Spy and Ranorex Recorder. This repository can be used to create
logical mapping of these UI elements which will ultimately help in managing test sequence
actions and element identifications.
For each test project, a repository (.rxrep) file is created. Different repositories can be created
for different test cases. Repository elements are mapped to the ‘Repository Element’ column
in the Action table.

Features of Ranorex:
1. The powerful feature of Ranorex is Cross platform testing. Once the test cases are written,
they can be executed on different mobile devices like Android and iPhone.

2. It offers user interface object recognition model that is reliable and is totally dependent on
Ranorex XPath technology.

3. It provides a toolset that allows the user to automate the UI testing by recording the UI
actions without writing any code.

4. It offers a spy engine which tracks the details of each and every user interface element
present on the application’s screen. Its object recognition feature helps the user to identify the
UI elements of the application.

5. It directly records the test cases from the real mobile devices. While editing the recorded
steps, there is no need to write a single line of code.

6. It supports text validation of any textview present on the screen. For this validation, a
variable is specified and attached to the test case.

7. It allows the Ranorex script to be executed from anywhere in between the commands of a
particular test case.

8. It supports image-based validation i.e. the images in the application can be compared with
an expected image as whole or subset of an image. The image under test can be the screenshot
of the application or it can be directly uploaded in the software.

Merits of Ranorex:

 Multiplatform Application

With Ranorex you can run automated tests for web and desktop applications as well as mobile
apps, while competing products such as Selenium and Katalon Studio don’t support desktop
testing, and Watir aims at web testing only.

 Codeless test creation

Ranorex Recorder with its drag-and-drop interface allows for conducting script-free tests
applying keyword-driven testing.  Once keywords are set by technically experienced team
members, no programming background is needed to create and maintain automated tests with
these keywords. Consequently, tests are easy to read and fast to design, since keywords can be
reused throughout test cases.

 Smooth learning curve

Given its user-friendly UI on top of the code layer, Ranorex is considered one of the most
approachable test automation tools on the market. In addition, Ranorex Help Center offers a
variety of resources to ease the first steps of working with the framework

 Built-in image comparison


Automated software testing mostly relies on UI-elements recognition. Although many UI-
elements may be identified by text, oftentimes there are cases where image-based automation is
the way to go. For example, when a tested item changes its screen position within the GUI,
text-based automation may still be tracking its original position, which will lead to incorrect
results at the end. Image-based automation gets around such problems.

 High-quality customer support

According to user reviews, Ranorex customer service is professional, helpful, and quick to
reply.  The reviews show that 10 out of 48 users mention the timely support and comprehensive
response provided by personnel through the Ranorex forum.However, some users claim that
the support provides only standard answers and the only way to resolve complex issues is to
allow the Ranorex support team to connect directly to the user’s machine. This may be
forbidden by corporate data protection policies.

 Effective in-team collaboration

In many ways, automated test development needs to be treated as software development;


therefore, the collaboration between team members should be coordinated accordingly. While
most competitors rely on source control tools, Ranorex offers its own solutions for cross-
functional teams.

Demerits of Ranorex: -

 Paid license

Ranorex is a licensed tool, which can be a considerable drawback taking into account many
open-source competitive alternatives such as Selenium, Katalon Studio, and Watir. Ranorex is
expensive, but it can be cost-effective in the long run given the number of features it supports
out of the box.

 Only a few supported languages

While Ranorex provides flexibility in terms of platforms and browsers, it supports only two
scripting languages: C# and VB.NET, unlike Selenium that allows for coding with ten popular
programming languages.

 No macOS support

Although Ranorex now supports web testing of Mac apps integrating with Selenium
WebDriver, the framework still can’t be launched on macOS. Ranorex is built on .NET, which
doesn’t run on macOS unless using the cross-platform Mono project. However, Mono isn’t
supported by Ranorex. In addition, Ranorex needs access to certain parts of the OS that Mac
does not allow. Locking down their systems, macOS hinders many Ranorex features that work
on Windows systems.

 Small community

While free tools such as Selenium and Watir are backed by a massive community, the Ranorex
user base is much smaller. iDataLabs research shows that Selenium and Watir are used
by 24,725 and 1,376 companies respectively, while only 954 companies are applying Ranorex.
As a result, it might be difficult to find solutions to your problems and pieces of advice you’re
seeking on the web. Users believe that the Ranorex team should work on organizing the
community to share more plugins, problem-solving, etc.

 Unstable releases

While being one of the most popular test automation providers, Ranorex frequently releases
new versions. This, in turn, takes up time for updating the existing suites of automated tests.
While new releases isn’t something to complain about,  oftentimes it turns out that the new
features are still unstable and contain bugs. That’s why it might be necessary to wait for the
second update of a new version before making the change.

Installation process of Testcomplete Tool;

Before installing TestComplete:


1. Read the license agreement. By installing TestComplete, you confirm that you agree to
the terms and conditions of the license.
2. Review the Installation Considerations section and make sure your computer meets the
hardware and software requirements.
To install TestComplete:
1. If you have TestComplete installed and running, close it.
2. Close all the applications that may use the same files that TestComplete uses, for
example, web browsers, your tested application, Microsoft Visual Studio, and so on.
3. Double-click the TestComplete installation package in Windows Explorer. The
installation wizard will start.
4. To enable the Intelligent Quality add-on, on the next page, click the link to read a third-
party license agreement. If you agree to the license terms, leave the Intelligent Quality
Add-on check-box enabled and click Next:
 The Intelligent Quality Add-on requires an active license. If you already have a license for
the add-on, you will be able to activate it after the installation is complete. If you do not have a
license for the add-on, you will have to purchase and activate it. Please, contact our Sales Team
for this purpose.

If you do not agree to the third-party license terms, or if you are not planning to use the add-on,
clear the Intelligent Quality Add-on check box and click Next.

Note: If you do not install the Intelligent Quality add-on when installing TestComplete, you
can install it later via the File > Install Extensions dialog.

 On the next page, select the folder to install TestComplete to:


5. Note: To test Windows Store applications and web pages in Microsoft Edge, you must
install TestComplete to a subfolder of the Program Files folder (or Program Files (x86)
on 64-bit Windows versions). The wizard will warn you when you try to install
TestComplete to a different folder.
6. Click Install to start the installation. Copying the files and configuring the environment
typically does not take much time.

Note: If the specified installation folder contains files, the wizard will overwrite them.
It will display a message to warn you about this and to ask for your confirmation to
continue.

After the installation:

Activate your TestComplete license:

 If you installed TestComplete using the trial package downloaded from our website,
TestComplete displays the Welcome dialog asking you to activate your license. Click
Start a 30-Day Trial in the dialog and wait until TestComplete activates your trial
license. After the activation is over, you will see the TestComplete window.

If the computer, on which you start the trial, has no Internet connection or cannot
connect to the SmartBear licensing websites (https://ls1.smartbear.com or
https://ls2.smartbear.com, port 443), TestComplete will not activate the trial license
automatically. You will have to activate it manually.

 If you downloaded the installation package from the My SmartBear portal


(https://my.smartbear.com), TestComplete searches for an active license for the run. If
TestComplete finds a Node-Locked license for a previous version on your computer,

it will connect to the SmartBear website to get and activate the new license key
automatically, (this is possible, for example, if you have an active maintenance
subscription).
If TestComplete fails to find an activated license on your computer, it will display a dialog
asking you to activate your license. To resolve the most common issues with license activation,
see Unable to Activate Your License.

For detailed information on the activation steps, see Activating Licenses.

Black Box Testing:

Finite state Machine:

One benefit of State Transition Diagrams is that they describe the behavior of the system in a
complete, yet easy-to-read and compact, way. Imagine describing this functionality in sentence format;
it would take pages of text to describe it fully. STDs are much simpler to read and understand. For this
reason, they can show paths that were missed by PM or Developer, or paths the Tester forgot to test.

STDs show the state a system will move to, based on its current state and other inputs.

STEP 1: Draw state transition table

STEP 2: Create state transition table


STEP 3: Create Testcase Table
Decision Table Based Testing:

Das könnte Ihnen auch gefallen