Boost PC performance: How more available memory can improve productivity
Dhct config report
1.
2. Software Automation & Testing | DHCT Config
Contents
1. Types Of Testing .............................................................................................. 2
2. About Parasoft SOAtest 9.1 ............................................................................. 3
3. Pre-Requisites .................................................................................................. 4
4. Setting up Parasoft SOAtest 9.1 ....................................................................... 6
5. Features Used in Parasoft ................................................................................ 7
5.1. Data Source ............................................................................................... 8
5.2. Data Bank .................................................................................................. 8
5.3. Database Tool (DB Tool) ............................................................................ 9
5.4. Extension Tool ......................................................................................... 10
5.5. Test Flow Logic ........................................................................................ 11
5.6. Assert Alert/Assert Confirmation ............................................................. 11
5.7. Validation Tools ....................................................................................... 12
5.8. Quality Tasks ........................................................................................... 13
5.9. Generating Report ................................................................................... 14
CISCO Page 1
3. Software Automation & Testing | DHCT Config
1. Types Of Testing
» Regression Testing
Regression testing is a type of software testing that intends to ensure that
changes (enhancements or defect fixes) to the software have not adversely
affected it.
» Sanity Testing
A sanity testing is a narrow regression testing that focuses on one or a few
areas of functionality. Sanity testing is usually narrow and deep.
» Smoke Testing
Smoke Testing is performed after software build to ascertain that the
critical functionalities of the program is working fine. It is
executed "before" any detailed functional or regression tests are executed
on the software build.
CISCO Page 2
4. Software Automation & Testing | DHCT Config
2. About Parasoft SOAtest 9.1
» Parasoft SOAtest automates web application testing, message/protocol
testing, cloud testing and security testing.
» Parasoft SOAtest is an integrated solution for:
o End-to-end testing: To continuously validate all critical aspects of
complex transactions, which may extend beyond the message layer
through a web interface, ESBs, databases, and everything in
between.
o Environment management: To reduce the complexity of testing in
today's heterogeneous environments–with limited visibility/control
of distributed components or vendor-specific technologies.
o Quality governance: To continuously measure how each service
conforms to the often dynamic expectations defined by both your
own organization and your partners.
CISCO Page 3
7. Software Automation & Testing | DHCT Config
4. Setting up Parasoft SOAtest 9.1
» Install Parasoft SOAtest 9.1 Standalone Version
Leave the default option while installation.
Goto Window -> Preferences - > License
Enter the Host Name of your license
Edition: Custom Edition
Press "Choose" button and select all the option
» Install JDBC Drivers
Extract the JDBC.3.70.JC1DE.zip file install jdk and then the JDBC setup.jar
» Setup JDBC in Parasoft
Goto Window -> Preferences -> Parasoft -> JDBC Drivers
Click on New
A window will open, goto Program Files -> IBM -> Informix_JDBC_Driver ->
lib
Select ‘ifxjdbc.jar’ and click Ok.
Save the settings
CISCO Page 6
8. Software Automation & Testing | DHCT Config
5. Features Used in Parasoft
» Data Source
» Data Bank
» DB Tool
» Extension Tool
» Test Flow Logic
» Assert Alert/Confirmation
» Validation Tool
» Debugging The Failures – Quality Tasks
» Report Generation
CISCO Page 7
9. Software Automation & Testing | DHCT Config
5.1. Data Source
» Global Data Source
o It is used to Parameterize the hard coded values at the Global level.
o It is available to be used at the Test Suite level of each test case.
» Local Data Source
o It is used to Parameterize the hard coded values at the test case
level.
o It is available to be used at different Scenario levels of particular test
case.
5.2. Data Bank
» The Browser Data Bank can be chained to a Browser Testing tool to extract
values from a browser page into a data source. The extracted value can be
wherever parameterized values are allowed, such as the value to type used
into an input in a subsequent test.
CISCO Page 8
10. Software Automation & Testing | DHCT Config
5.3. Database Tool (DB Tool)
» This tool sends an inquiry to the database you specify, and the results from
the query will be returned. SOAtest formats the results into XML; this
allows XML based tools (XML Data Bank, XSLT Tool, etc.) to be chained to
the output.
» A Traffic Viewer is automatically attached to each DB tool. It lets you see
the end result of the SQL query that was sent to the server.
CISCO Page 9
11. Software Automation & Testing | DHCT Config
5.4. Extension Tool
» The Extension tool allows you to implement a Jython, Java, or JavaScript
method independently or in conjunction with your existing test suite. This
additional functionality gives you the ability to customize SOAtest to your
specific needs and is limited only by the capabilities of the scripting
language that you are working with.
CISCO Page 10
12. Software Automation & Testing | DHCT Config
5.5. Test Flow Logic
» SOAtest allows you to create tests that are dependent on the success or
failure of previous tests, set-up tests, or tear-down tests. This helps you
create an efficient workflow within the test suite. In addition, you can also
influence test suite logic by creating while loops and if/else statements that
depend on the value of a variable.
5.6. Assert Alert/Assert Confirmation
» Assert Alert
o It is an alert message which comes when any test has an expectation
of getting an alert.
CISCO Page 11
13. Software Automation & Testing | DHCT Config
» Asset Confirmation
o It is a confirmation message having two options of ‘OK’ and ‘Cancel’
to confirm whether you want to proceed further or not.
5.7. Validation Tools
» Diff Tool
o With support for Binary, Text, XML, and JSON, the Diff tool is the
current backbone of a best-practices regression testing solution. The
Diff tool compares the data in its editor against the data that it
receives from another tool's output or from another input that you
specify and reports a failure when it finds a difference
CISCO Page 12
14. Software Automation & Testing | DHCT Config
» XML Assertor
o The XML Assertor is used to enforce the correctness of data in an
XML message.The XML Assertor provides support for complex
message validation needs without the need for scripting, and allows
you to easily create and maintain validation assertions on your XML
messages.
5.8. Quality Tasks
» By default, the Quality Tasks view shows cumulative results for all tested
resources. Quality Task view reports the test for Errors and Warnings that
comes during run time. Thus, it helps in finding Bugs and help the test or to
correct them accordingly.
CISCO Page 13
15. Software Automation & Testing | DHCT Config
5.9. Generating Report
» Reports of HTML, PDF or XSL format can be generated using Parasoft.
CISCO Page 14