Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration...

228
User Manual 3.0 1 TestingWhiz™ User Manual 3.0

Transcript of Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration...

Page 1: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

1

TestingWhiz™ User Manual 3.0

Page 2: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

2

Contents

1. GENERAL INFORMATION .............................................................................................................................................................................9 1.1. Target Audience .............................................................................................................................................................................................................. 9 1.2. System Requirements .................................................................................................................................................................................................... 9 1.3. Platform Support ............................................................................................................................................................................................................. 9 1.4. Browser Support ............................................................................................................................................................................................................. 9

2. OVERVIEW OF TESTINGWHIZ™ .............................................................................................................................................................. 10 2.1. Introduction ................................................................................................................................................................................................................... 10 2.2. Intuitive UI ...................................................................................................................................................................................................................... 12

2.2.1. Welcome Screen............................................................................................................................................................................................................................ 12 2.2.2. Application Main Screen ............................................................................................................................................................................................................ 13

3. Process Flow ................................................................................................................................................................................................. 19

4. Ways to Create Test Case .......................................................................................................................................................................... 20 4.1. Record and Playback Testing................................................................................................................................................................................... 23 4.2. Keyword-driven/Table-driven Testing ............................................................................................................................................................... 26 4.3. Data Driven Testing..................................................................................................................................................................................................... 27

5. Test Report .................................................................................................................................................................................................... 30

6. Settings and Configurations .................................................................................................................................................................... 32 6.1. General Preference ...................................................................................................................................................................................................... 32

6.1.1. Default browser Settings ........................................................................................................................................................................................................... 33 6.1.2. Internationalization Support ................................................................................................................................................................................................... 33 6.1.3. Delay Value ..................................................................................................................................................................................................................................... 33 6.1.4. Always Capture Failure Screenshot ...................................................................................................................................................................................... 33 6.1.5. Use Custom Path ........................................................................................................................................................................................................................... 33 6.1.6. Show Welcome Screen ............................................................................................................................................................................................................... 34 6.1.7. Show Active Screen during Test Execution ....................................................................................................................................................................... 34

6.2. Integration with Bug Tracking Tool ...................................................................................................................................................................... 36 6.3. Database Preference ................................................................................................................................................................................................... 38 6.4. Mail Preference ............................................................................................................................................................................................................. 39

Page 3: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

3

6.4.1. Emailing Test Report .................................................................................................................................................................................................................. 41 6.5. Test Management Tool ............................................................................................................................................................................................... 42

7. FUNCTIONALITIES IN TESTINGWHIZ™ ................................................................................................................................................ 44 7.1. Drag and Drop Operation .......................................................................................................................................................................................... 44 7.2. Visual Presentation View/Outline view ............................................................................................................................................................... 45 7.3. Object Eye........................................................................................................................................................................................................................ 46 7.4. Object Repository ......................................................................................................................................................................................................... 46 7.5. Methods ........................................................................................................................................................................................................................... 48

7.5.1. Create a Method ............................................................................................................................................................................................................................ 49 7.5.2. Call a Method in the Test Case ................................................................................................................................................................................................ 50

7.6. Scheduling Tasks .......................................................................................................................................................................................................... 51 7.6.1. Customize Trigger Time ............................................................................................................................................................................................................ 52 7.6.2. View Job History. .......................................................................................................................................................................................................................... 53

8. OPERATIONS IN TESTINGWHIZ™ ........................................................................................................................................................... 54 8.1. Check ................................................................................................................................................................................................................................ 54

8.1.1. Checked:false ................................................................................................................................................................................................................................. 55 8.1.2. Checked:true .................................................................................................................................................................................................................................. 56 8.1.3. Cookie ................................................................................................................................................................................................................................................ 57 8.1.4. Enabled:false .................................................................................................................................................................................................................................. 58 8.1.5. Enabled:true ................................................................................................................................................................................................................................... 60 8.1.6. Exists:true........................................................................................................................................................................................................................................ 60 8.1.7. Selected:index ................................................................................................................................................................................................................................ 62 8.1.8. Selected:value ................................................................................................................................................................................................................................ 62 8.1.9. Single Occurrence ......................................................................................................................................................................................................................... 63 8.1.10. Text ................................................................................................................................................................................................................................................ 64 8.1.11. Text:value .................................................................................................................................................................................................................................... 65 8.1.12. Text Ignore Case ....................................................................................................................................................................................................................... 66 8.1.13. Title ................................................................................................................................................................................................................................................ 67 8.1.14. Visible:false................................................................................................................................................................................................................................. 69 8.1.15. Visible:true ................................................................................................................................................................................................................................. 69

8.2. Verify ................................................................................................................................................................................................................................ 70 8.3. Move .................................................................................................................................................................................................................................. 72

8.3.1. To Frame .......................................................................................................................................................................................................................................... 73 8.3.2. To Next Page ................................................................................................................................................................................................................................... 73 8.3.3. To Previous Page .......................................................................................................................................................................................................................... 74

Page 4: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

4

8.3.4. To Window ...................................................................................................................................................................................................................................... 75 8.4. Open Page ....................................................................................................................................................................................................................... 77 8.5. Wait ................................................................................................................................................................................................................................... 78

8.5.1. For Element .................................................................................................................................................................................................................................... 79 8.5.2. For Time ........................................................................................................................................................................................................................................... 79

8.6. Click and Wait ................................................................................................................................................................................................................ 81 8.7. Write Message to Report ........................................................................................................................................................................................... 82 8.8. Perform ............................................................................................................................................................................................................................ 83

8.8.1. Accept Alert .................................................................................................................................................................................................................................... 84 8.8.2. Close ................................................................................................................................................................................................................................................... 85 8.8.3. Mouse Over ..................................................................................................................................................................................................................................... 86 8.8.4. Reject Alert ...................................................................................................................................................................................................................................... 87 8.8.5. Right Click ........................................................................................................................................................................................................................................ 88 8.8.6. Scroll Down ..................................................................................................................................................................................................................................... 89 8.8.7. Scroll Up ........................................................................................................................................................................................................................................... 90 8.8.8. Select:index ..................................................................................................................................................................................................................................... 91 8.8.9. Select:value ..................................................................................................................................................................................................................................... 92 8.8.10. Set:variable ................................................................................................................................................................................................................................. 93 8.8.11. Set:variableglobal .................................................................................................................................................................................................................... 94

8.9. Click ................................................................................................................................................................................................................................... 95 8.10. Delete ............................................................................................................................................................................................................................ 96

8.10.1. Cookie ........................................................................................................................................................................................................................................... 97 8.10.2. All Cookies .................................................................................................................................................................................................................................. 98

8.11. Loop Start .................................................................................................................................................................................................................... 98 8.12. Loop Continue ......................................................................................................................................................................................................... 100 8.13. Loop Break ............................................................................................................................................................................................................... 101 8.14. Loop End .................................................................................................................................................................................................................... 102 8.15. Exit ............................................................................................................................................................................................................................... 103

8.15.1. Case ............................................................................................................................................................................................................................................. 104 8.16. Highlight .................................................................................................................................................................................................................... 105 8.17. Key press ................................................................................................................................................................................................................... 106

8.17.1. Enter ........................................................................................................................................................................................................................................... 107 8.17.2. Escape ........................................................................................................................................................................................................................................ 107 8.17.3. F1 ................................................................................................................................................................................................................................................. 108 8.17.4. F10 .............................................................................................................................................................................................................................................. 110 8.17.5. F11 .............................................................................................................................................................................................................................................. 111

Page 5: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

5

8.17.6. F12 .............................................................................................................................................................................................................................................. 112 8.17.7. F3 ................................................................................................................................................................................................................................................. 113 8.17.8. F6 ................................................................................................................................................................................................................................................. 114 8.17.9. Page Down ............................................................................................................................................................................................................................... 115 8.17.10. Page Up ...................................................................................................................................................................................................................................... 116 8.17.11. Refresh ...................................................................................................................................................................................................................................... 117 8.17.12. Tab .............................................................................................................................................................................................................................................. 118

8.18. Input ............................................................................................................................................................................................................................ 119 8.19. If .................................................................................................................................................................................................................................... 120

8.19.1. Checked:false .......................................................................................................................................................................................................................... 121 8.19.2. Checked:true ........................................................................................................................................................................................................................... 122 8.19.3. Compare .................................................................................................................................................................................................................................... 123 8.19.4. Compare Ignore case ........................................................................................................................................................................................................... 125 8.19.5. Enabled:false ........................................................................................................................................................................................................................... 127 8.19.6. Enabled:true ............................................................................................................................................................................................................................ 128 8.19.7. Exists:true ................................................................................................................................................................................................................................ 129 8.19.8. isBlankOrNull ......................................................................................................................................................................................................................... 129 8.19.9. Selected:index ........................................................................................................................................................................................................................ 131 8.19.10. Selected:value ......................................................................................................................................................................................................................... 132 8.19.11. Text ............................................................................................................................................................................................................................................. 133 8.19.12. Text:value ................................................................................................................................................................................................................................. 134 8.19.13. Title ............................................................................................................................................................................................................................................. 135 8.19.14. Visible:false.............................................................................................................................................................................................................................. 136 8.19.15. Visible:true .............................................................................................................................................................................................................................. 136

8.20. Else .............................................................................................................................................................................................................................. 138 8.21. Else if ........................................................................................................................................................................................................................... 139

8.21.1. Checked:false .......................................................................................................................................................................................................................... 140 8.21.2. Checked:true ........................................................................................................................................................................................................................... 141 8.21.3. Compare Ignore Case .......................................................................................................................................................................................................... 141 8.21.4. Enabled:false ........................................................................................................................................................................................................................... 143 8.21.5. Enabled:true ............................................................................................................................................................................................................................ 144 8.21.6. Exists:true ................................................................................................................................................................................................................................ 145 8.21.7. isBlankOrNull ......................................................................................................................................................................................................................... 146 8.21.8. Selected:index ........................................................................................................................................................................................................................ 147 8.21.9. Selected:value ......................................................................................................................................................................................................................... 148 8.21.10. Text ............................................................................................................................................................................................................................................. 149

Page 6: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

6

8.21.11. Text:value ................................................................................................................................................................................................................................. 150 8.21.12. Title ............................................................................................................................................................................................................................................. 151 8.21.13. Visible:false.............................................................................................................................................................................................................................. 152 8.21.14. Visible:true .............................................................................................................................................................................................................................. 153

8.22. Else-if-Not .................................................................................................................................................................................................................. 154 8.22.1. Checked:false .......................................................................................................................................................................................................................... 155 8.22.2. Checked:true ........................................................................................................................................................................................................................... 156 8.22.3. Compare .................................................................................................................................................................................................................................... 157 8.22.4. Compare Ignore Case .......................................................................................................................................................................................................... 158 8.22.5. Enabled:false ........................................................................................................................................................................................................................... 159 8.22.6. Enabled:true ............................................................................................................................................................................................................................ 160 8.22.7. Exists:true ................................................................................................................................................................................................................................ 160 8.22.8. isBlankOrNull ......................................................................................................................................................................................................................... 162 8.22.9. Selected:index ........................................................................................................................................................................................................................ 163 8.22.10. Selected:value ......................................................................................................................................................................................................................... 164 8.22.11. Text ............................................................................................................................................................................................................................................. 165 8.22.12. Text:value ................................................................................................................................................................................................................................. 166 8.22.13. Title ............................................................................................................................................................................................................................................. 167 8.22.14. Visible:false.............................................................................................................................................................................................................................. 168 8.22.15. Visible:true .............................................................................................................................................................................................................................. 169

8.23. End If ........................................................................................................................................................................................................................... 169 8.24. If-Not ........................................................................................................................................................................................................................... 171

8.24.1. Checked:false .......................................................................................................................................................................................................................... 172 8.24.2. Checked:true ........................................................................................................................................................................................................................... 173 8.24.3. Compare .................................................................................................................................................................................................................................... 174 8.24.4. Compare Ignore Case .......................................................................................................................................................................................................... 175 8.24.5. Enabled:false ........................................................................................................................................................................................................................... 176 8.24.6. Enabled:true ............................................................................................................................................................................................................................ 176 8.24.7. Exists:true ................................................................................................................................................................................................................................ 177 8.24.8. isBlankOrNull ......................................................................................................................................................................................................................... 178 8.24.9. Selected:index ........................................................................................................................................................................................................................ 180 8.24.10. Selected:value ......................................................................................................................................................................................................................... 181 8.24.11. Text ............................................................................................................................................................................................................................................. 182 8.24.12. Text:value ................................................................................................................................................................................................................................. 183 8.24.13. Title ............................................................................................................................................................................................................................................. 184 8.24.14. Visible:false.............................................................................................................................................................................................................................. 185

Page 7: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

7

8.24.15. Visible:true .............................................................................................................................................................................................................................. 186 8.25. Compare Operation ............................................................................................................................................................................................... 186

8.25.1. Compare < (less than) ......................................................................................................................................................................................................... 187 8.25.2. Compare <= (less than equal to) ..................................................................................................................................................................................... 187 8.25.3. Compare > (greater than) .................................................................................................................................................................................................. 187 8.25.4. Compare >= (greater than equal to) ............................................................................................................................................................................. 188 8.25.5. Compare = (equal to) ........................................................................................................................................................................................................... 188 8.25.6. Compare != (not equal to) ................................................................................................................................................................................................ 189

8.26. Get ................................................................................................................................................................................................................................ 189 8.26.1. Attribute ................................................................................................................................................................................................................................... 191 8.26.2. Table Cell Data ....................................................................................................................................................................................................................... 192 8.26.3. Table Column Count ............................................................................................................................................................................................................ 193 8.26.4. Table Row Count ................................................................................................................................................................................................................... 194 8.26.5. Text ............................................................................................................................................................................................................................................. 195 8.26.6. Title ............................................................................................................................................................................................................................................. 196 8.26.7. Current Page url .................................................................................................................................................................................................................... 196

8.27. Enter Authentication ............................................................................................................................................................................................ 197 8.28. Execute JavaScript.................................................................................................................................................................................................. 199 8.29. String .......................................................................................................................................................................................................................... 201

8.29.1. Compare .................................................................................................................................................................................................................................... 202 8.29.2. Compare Ignore Case .......................................................................................................................................................................................................... 204 8.29.3. Concat ........................................................................................................................................................................................................................................ 205 8.29.4. isBlankOrNull ......................................................................................................................................................................................................................... 206 8.29.5. Length ........................................................................................................................................................................................................................................ 207 8.29.6. SubStr ......................................................................................................................................................................................................................................... 208 8.29.7. toNumber ................................................................................................................................................................................................................................. 210 8.29.8. To Lower ................................................................................................................................................................................................................................... 211 8.29.9. To Upper ................................................................................................................................................................................................................................... 211 8.29.10. Trim ............................................................................................................................................................................................................................................ 213

8.30. Run Command ......................................................................................................................................................................................................... 214 8.31. Export To ................................................................................................................................................................................................................... 215

8.31.1. XML ............................................................................................................................................................................................................................................. 216 8.31.2. CSV .............................................................................................................................................................................................................................................. 218

8.32. Call Method ............................................................................................................................................................................................................... 219 8.33. Database .................................................................................................................................................................................................................... 220

8.33.1. Fetch ........................................................................................................................................................................................................................................... 221

Page 8: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

8

8.33.2. Query .......................................................................................................................................................................................................................................... 223 8.34. Math Operations ..................................................................................................................................................................................................... 224

8.34.1. Abs Operation ......................................................................................................................................................................................................................... 224 8.34.2. INT Operation ......................................................................................................................................................................................................................... 225 8.34.3. Floor Operation ..................................................................................................................................................................................................................... 226 8.34.4. Ceiling Operation .................................................................................................................................................................................................................. 227

Page 9: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

9

1. GENERAL INFORMATION

1.1. Target Audience

This manual is intended to help QA engineers and software testers automate the testing of web-based applications using TestingWhiz™. It

can also be used by Business Analysts, Project Managers, Test Leads and stakeholders who are involved in testing activities for analysis and

estimation purposes.

1.2. System Requirements

Operating System: Windows XP/Vista/7/8

RAM: 512 MB RAM

Note: Recommended 1 GB+ RAM for optimum performance

1.3. Platform Support

TestingWhiz™ can be used to create Automation Test Scripts only on Windows. However, the test scripts created using TestingWhiz™ can be

executed on different operating systems like Microsoft, Mac and Linux.

1.4. Browser Support

TestingWhiz™ supports

Internet Explorer 7 , 8, 9 & 10

Mozilla Firefox 3.6 to 18

Google Chrome 19 to 26

You can use any of these browsers as your default browser to execute the Automation Test Scripts created using TestingWhiz™.

Refer section Configuration Settings to know how you can set the default browser.

Page 10: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

10

2. OVERVIEW OF TESTINGWHIZ™

2.1. Introduction

Testing is not a single step, but a progressive process that helps reduce the risks, defects and pitfalls that are commonly associated with

software applications. Automation testing is one method to accelerate time-to-market and save significant money and effort during testing.

TestingWhiz™ is an easy, intuitive and affordable solution meeting tomorrow’s automation testing needs.

Key Benefits:

Saves Time and Cost. A normal testing scenario for a typical web application involves testing over multiple environments like development,

QA, stage, production and over multiple browsers. Performing testing activities over such varied combinations can be taxing. TestingWhiz™

lets you play the same test case(s) multiple times thus saving your valuable time and effort. It helps significantly reduce the number of

resources needed for regression testing.

Increase Test Coverage. Using TestingWhiz™, you can test how an application reacts under repeated execution of same operations.

Regression suites can cover every feature in your application that may be difficult to accomplish in manual testing.

Highly Reliable. TestingWhiz™ provides you with reliable results. It reduces possibility of human error and makes testing less dependent on

individual tester’s capabilities.

Reusability. You can reuse the same automation code with minor modifications to test different versions of an application.

Easily Programmable. TestingWhiz™ lets you write sophisticated test scripts using conditions and loops to validate even the most

complicated feature in the application.

Page 11: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

11

You can Record and

Playback Testing

Create your own Test Steps

by picking Operations and

Actions

You can perform Data

Driven Testing

Operations

Operations and Methods are there to make

your task quick and Easy. Main reason that

lets you do code-less scripting

Methods

You can also re-use your Test Script at

multiple places by defining it as Method.

Objects

All the objects with which you interact or

perform certain action are stored in the

Object Repository.

Placeholder

It holds the data that you want to test

against.

An Intro…

Grid Computing

Supports running multiple tests at the same time against

different terminals running different browsers and

operating system

Scheduling Tasks

Schedule a task at a specific time and run a test

case as per your convenience. This is particularly

useful while running performance tests.

Integration with Bug tracking tools

Integration with the bug tracking tools (JIRA,

Mantis, Fogbugz) lets you post bugs directly

from this tool.

Test Script – Export/Import Excel

Test cases once prepared can be

exported to excel sheet so that it can be

re-used as and when required

Supporting Features How easy it is to design and execute test cases

Page 12: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

12

2.2. Intuitive UI

TestingWhiz™ has an easy-to-use user interface for quick, effective and trouble-free testing.

2.2.1. Welcome Screen

As soon as you open the Testing Whiz tool, you are presented with the Welcome screen similar to the one shown below. It highlights four activities

on the screen with a brief explanation stating purpose of the activity. You can simply click on the activity Name (Record, Preference, Import

from Excel, or Help) to perform it.

Record: To record a test case execution steps.

Preference: To set Configuration Preferences.

Import from Excel: To import the test script from an excel file.

Help: To provide help in using Testing Whiz

You can modify the settings using the Configuration section if you wish to skip the Welcome screen.

Page 13: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

13

2.2.2. Application Main Screen

Page 14: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

14

A) Menu bar buttons

2.2.2.1. Create New Project

You can create a new test Project in Testing Whiz using this option.

2.2.2.2. Open existing Project

You can open an existing project in Testing Whiz using this option.

2.2.2.3. Import from Excel

If you have created scripts in Excel, then you can import the scripts from the excel file to Testing Whiz using this option.

2.2.2.4. Export to Excel

This will allow you to export your test script into Excel

2.2.2.5. Recording a Test Case

Clicking on button will start the recording and its color will change to red button indicating that the recording is in-progress

done. You can anytime click on to turn off the recording.

Page 15: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

15

2.2.2.6. Test execution Buttons

Execute Button: Once your Testing is opened, you can select any of the Test Case, or the whole Test Case folder and click on to

execute the Test case(s). If there is no Test Case present in the Test Project tab, then this button will be disabled.

Next Step Button: You can go to next step while executing a test case

Pause Button: You can anytime pause the Test execution by clicking on the

Stop Button: You can stop the test execution by clicking on the button

2.2.2.7. Log a Defect

If you come across an issue related to Application during the Test execution, you can directly log your issue in the bug tracking tool by

using this option button. You will be prompted to choose the tracking tool.

This feature will function only if you have set your tracking tool credentials under the Configuration section. Refer section- Bug

Tacking Tools for more details.

2.2.2.8. Email Report

Using this option you can share the Test Report to your colleagues via email. On clicking the button , you will be prompted to enter

the email address(s), Subject and the message content.

Page 16: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

16

This feature will function only if you have set email preference under the Configuration section. Refer section - Mail Configuration

Settings for more details.

2.2.2.9. Testing Management Tool

Using this option you can integrate your test projects, defects, etc. with the Test Management Tool – HP Quality Centre. On clicking the

button , you will be prompted to enter the email address(s), Subject and the message content.

This feature will function only if you have set email preference under the Configuration section Refer section- Test Management

Tool Configuration Settings for more details.

B) Menu tabs:

Test Project Editor helps you to create a Test Project, Test Suite and Test Case in the same order.

Placeholder/ Editor help you to store data while testing. For more details refer to section 3.2.

Object Editor helps you to view and edit objects used in testing. For more details refer to section 3.1.

Reports – Test Project displays the test report. For more details refer to section 3.4.

C) Test Project Section

This section will display the Test Suites and the Test Cases present

in it.

One can create multiple Test Suites under a project and multiple

test cases under a test suite, but we cannot create multiple

projects.

Buttons given above will help you to manage Test Project

contents, like add Test Suite/ Test Case, Delete Test Suite/ Test

Case, Move a Test Case order and Highlight the test case step

Page 17: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

17

being executed.

D) Operations and Method tabs

Display the list of Operations and Methods defined in the system.

For more details you can refer to section 8.4 for Methods and 9 for

Operations.

E) Test Case Editor

When you record a Test Steps, you can view the Test Step script automatically displayed in the Test Case Editor,

You can also manually create or modify the Test Steps of the Test Case using the Test Case Editor.

Refer section – 4. Ways to Create Test Case for more details on how to create a Test Case

Tips:

Click the icon at the bottom left corner of the application for Shortcut to below options

Page 18: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

18

Following options are displayed on clicking over the icon

Page 19: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

19

Clicking on Other option in the above menu displays the below screen.

3. PROCESS FLOW

Record/Create/Import Automation Test Scripts

Define/Import Test Data

Run Automation Test Script

Observe Automation Test Script Execution

Analyze Test Project Report

Page 20: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

20

4. WAYS TO CREATE TEST CASE TestingWhiz™ works on the principle of codeless testing. It allows you to build test scripts without the knowledge of programming. The

naming conventions of operations and actions are provided in a pure functional language to help you create and understand Automation

Test Scripts without possessing strong programming or technical knowledge.

Tool also provides you with some sample test cases.

You can also view sample test cases created in the tool

Click on the Open Sample, in File menu and select the test case you want to view.

In Testing Whiz, you can either:

Record and Playback Testing

Record your actions on the screen as the Test Case and Playback it later anytime to test. This method generates test script automatically.

Create your own Test Steps manually

We can call this method as Keyword-driven/Table-driven Testing, as it involves writing test cases based on a set of keywords into a table.

Page 21: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

21

Perform Data Driven Testing

In this method, you can create your data set and use it in the Test Case to perform your testing against a given set of values.

Whichever method you choose to create your Test Case, you will be required to create a Test File first. Test File can be created in below way:

Steps to Create a New Test Case File

1. Create new Project: - Either click on the button in the button bar OR go to File Menu and select New. This will enable you to

create a Test Project.

2. You will be presented with the Product Information to enter details about your Test Project.

Page 22: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

22

3. In order to create Test Suite within the Project, Click on button to add a test suite in the project.

Page 23: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

23

4. And then to create a Test Case in the Test Suite, Again click on the button to add a test case in the Test Suite.

5. Click on button from the Test Editor Section to add Test Steps in the test case.

4.1. Record and Playback Testing

TestingWhiz™ supports record and playback feature that allows you to record the actions performed in a test case. It then generates the test

script automatically so you can run the test case as and when required.

Page 24: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

24

STEPS:

1. Click on button to start recording the test steps.

2. On the Page that appears, enter the browser control

for your test case.

3. Begin testing as per the steps outlined in the test case.

4. Once all the steps of your recording are over, click on

button to stop recording the test steps.

5. The tool will record the steps that you followed during

the recording.

6. The test cases will be generated accordingly within a

suite.

7. After recording the test steps, you can have a preview

of the recorded test steps by clicking on button

NOTE: Once you have finished the recording, you will be presented with the Test editor populated with Test script generated automatically

by the script.

Page 25: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

25

Page 26: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

26

4.2. Keyword-driven/Table-driven Testing

Using Keyword-driven testing approach,

TestingWhiz™ separates much of the programming

work of Test Automation from the actual Test

Design. Testers or Test designers can write test

cases based on a set of keywords into a table. The

test is executed using a driver that reads the

keywords and executes the corresponding code.

You can choose the type of Operation to perform

from the Operation tab on the left bottom side, or

you can choose from the dropdown for the

Operation column.

FOR EXAMPLE:

To open a page /browser as a test case step

STEPS:

1. Go to Operation.

2. Pick the option "Open Page" from the

dropdown.

3. Put the required URL in “Value” column.

Page 27: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

27

4.3. Data Driven Testing

Testing a particular module for various valid/invalid combinations of data set is a vital requirement before QA can provide sign off for a

particular test suite. Testing a module with positive, negative and random data set consumes time and effort. TestingWhiz™ lets you test an

application with different set of input values to be sure that the application works as expected. This is particularly useful while running quick

regression cycles.

Page 28: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

28

EXAMPLE:

a) Test a form/page with different input values

for the fields.

STEPS:

1. Select Placeholder from the Tabs panel.

2. Add a new placeholder.

3. Specify the name of the placeholder <login>.

4. Add the fields and the default input values to

perform the test.

5. You can also import data from an excel file

using the import button

6. Once the fields and the default input values are

defined, you can add more values in the

placeholder or paste data from already existing

excel file in the placeholder grid.

EXAMPLE:

b) Comparing data using placeholder.

STEPS:

1. Create a new Placeholder; specify its

name.

2. Create three columns with unique names to

store data.

3. Enter the values to be compared in the 2

columns of the placeholder.

Page 29: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

29

To test using the different values of the placeholder:

1. Place the test steps in loop.

2. Select Input (String) operation.

3. Provide the placeholder column name in the

objects to obtain comparison results in the

Object column.

4. Use this syntax ${Placeholdername.Fieldname}

5. Choose the Strings to be compared in the

Values Column.

Note:

In case of nested loops different placeholders should be used.

Copy-paste feature is possible in placeholders (after creation of

placeholder).

Page 30: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

30

5. TEST REPORT At the end of the testing cycle, a report will be created which will contain the test results along with the execution log. Report describes the

action performed and the Result of the action.

A Graphical Test report is generated at the end of the Test Case execution. You can change your browser preference for running Test

Case, by using the dropdown icon given next to the .

The test reports get stored on the default path - “C:\Users\<username>\.whiz\reports” on users machine.

Note: If you select the browser that doesn’t exist in you system, TestingWhiz will select system default browser to execute the Test Script.

Test Result details are displayed on the right hand side of the Page. To view any status detail reports, click on that Status.

Page 31: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

31

Complete details of the test project along with the time taken to complete every step and their status i.e., pass/ fail/ skip/ not run are

displayed.

The result of the test is obtained on the basis of criteria set for successful completion of any Operation.

Click on the Execution Log option to view the Log details.

Page 32: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

32

6. SETTINGS AND CONFIGURATIONS

In order to manage the application settings and preference, click on the “Configuration” link given under the Settings Tab.

6.1. General Preference

Some of the general Configuration settings that can manage as per your preference are:

Page 33: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

33

6.1.1. Default browser Settings

You can choose among Internet Explorer, Mozilla Firefox and

Google Chrome.

6.1.2. Internationalization Support

TestingWhiz™ supports several languages including English,

French, Spanish, German, Italian and Dutch to write the test

cases. Even when a test project is written in English and sent to a

native French TestingWhiz™ user, the language preference can

be changed to see the test script steps in French.

The tool is capable of generating reports in English, French,

Spanish, German, Italian and Dutch irrespective of the script

language. This comes in handy when the client you are working

with is German, you code in English and you need reports

generated from the tool in German.

Please Note: Language change will be effective on restarting the

Tool.

6.1.3. Delay Value

This enables you to set the Speed when you are playing back

your Test Steps,

6.1.4. Always Capture Failure Screenshot

Check this option if you want to capture screenshots of failed test cases.

6.1.5. Use Custom Path

By default, Report will be stored at C:\Users\[username]\.whiz\reports. Using this option, you can provide your own custom path.

Note: Offline reports cannot be viewed in Google Chrome Browser.

Page 34: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

34

6.1.6. Show Welcome Screen

When this option is checked, you will always be presented with the Welcome Screen as soon as you open the Testing Whiz Tool

6.1.7. Show Active Screen during Test Execution

TestingWhiz™ provides the feature of screening of the current execution of the test cases in the “Active screen” and the “Console” screen.

Active screen displays the screens based on the current step of execution.

Information about each step executed is displayed in the “Console” panel in the right.

Page 35: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

35

Along with this enabling Active Screen, you can also specify

Page 36: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

36

6.2. Integration with Bug Tracking Tool

Finding a defect must be inadvertently followed by reporting it. How tedious would it be if you had to open another window to report the

defect you have just found out?

So, to make things easy and effective for the testers, TestingWhiz™ provides integration with the bug tracking tools to let you post bugs

directly from this tool.

Page 37: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

37

Below is the list of testing tools that TestingWhiz™ supports:

Jira

Mantis

Fogbugz

For successful integration with the Bug Tracking Tool, you will

need to provide credentials of the tool and Test the

connection.

a) Click on button to add the credentials of the

tool you want to configure the Bug Tracking with.

You will be prompted to enter the Alias, URL of the Bug

Tracking Tool, User Name and the Password.

b) After submitting the details of Bug Tracking tool, click on

button to establish a connection.

c) After the Bug tool connection is established, you can post a

bug by clicking on button provided on menu bar.

d) Click on the Submit button to submit the details and generate

a ticket number.

In case of test case failure, the details get auto populated in

the Bug description. You have to choose the Project name and

enter the Summary of bug.

Page 38: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

38

6.3. Database Preference

You can create your own data sets using the Data Driven approach to perform your Testing. But in case you want to use the data set which is

already available in your project database, then you can directly connect with your database to access the data from it. Once connected, you

will be able to fire the query within the TestingWhiz.

STEPS:

1. Select Database option from the

Preference type in Configuration

window.

2. Click on button and enter

the credentials to add a database

connection.

3. Then click on

button to establish the Connection.

Tooltip:

& Connection

If the db-1 connection is successful, then you can the connection and share it with your colleagues so that they don’t have to repeat

the connection setting procedure again.

Similarly, you can also the connection for quick database integration process.

Page 39: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

39

6.4. Mail Preference

You can configure mail account with testing whiz to receive test reports through mail.

STEPS

1. Enter Mail configuration details to configure mail account with Testing Whiz tool.

2. You will be asked to enter below details:

Field Description

SMTP Server SMTP server on which the E-mail is to be sent.

SMTP Port Port number on which the E-mail is to be sent.

User Name Your username in order to configure the SMTP details.

Password Your password in order to configure the SMTP details.

To E-mail address at which the email needs to be sent.

Subject Subject of the E-mail.

Page 40: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

40

3. To confirm the mail account configuration, you can send a to your account.

4. Click on to save and apply the chosen settings.

Page 41: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

41

6.4.1. Emailing Test Report

1. You can send test report on your preferred address by clicking on button provided in the menu bar. After the Mail server

connection is established.

2. You will be presented with below window to enter the email address, Subject and message content. Click on the button to send

the email.

Page 42: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

42

6.5. Test Management Tool

You can configure your Test Management Tool with testing whiz to manage test details.

STEPS

1. Enter Test Management Tool details to configure it with the Testing Whiz tool.

2. You will be asked to enter below details:

Field Description

Alias Enter the Alias name

Bumblebee URL URL of the third party connector

Quality Centre URL URL of the quality Centre machine

Domain Name of the Domain

Project Name of the Test Project

Testplan Directory Test Cases are stored in this location

Testlab Directory Executed Test Cases are stored in this location

Test Set Set of data that will execute in QC

User Your username of QC

Password Your password of QC

Page 43: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

43

Page 44: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

44

7. FUNCTIONALITIES IN TESTINGWHIZ™

7.1. Drag and Drop Operation

Testing Whiz provides two ways of choosing an operation namely:

a) Drag and Drop the operation from the Operations tab to the Operations column.

b) Or Select from the drop down list in the Operations column.

a) b)

Page 45: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

45

7.2. Visual Presentation View/Outline view

Testing Whiz provides a unique representation of test steps, which encapsulates the complexity of the test case from the user.

All the steps of a test case are represented through a flow chart.

On clicking over any step, its sub steps and their respective flow can be viewed,

Page 46: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

46

7.3. Object Eye

TestingWhiz™ features Object Eye to allow testers to view an object’s properties at the time of recording the test steps.

Details like the ID, Name, Xpath and Tag of the object are displayed based on the selection at the time of recording the test steps.

For more information on these properties, please refer Object Repository.

7.4. Object Repository

Object Repository will track and store the objects and their properties that have been captured at the time of recording test steps.

Page 47: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

47

It keeps track of the object as per the modules followed by the user at the time of recording the test steps. The objects are displayed URL

wise.

Please Note*: The system displays only those objects that have been used by the user.

Page 48: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

48

Following are the attributes of an object:

Sr No. Field Description

1.

Alias By default, it displays the object Id of the selected object, but you can change the Alias value.

This information is utilized in the test step grid. It is advisable to provide user-friendly names

to test scripts for easy maintenance.

2. Id Displays the Id of the selected object.

3. Name Displays the name of the selected object.

4. Class Name Displays name of the class of the selected object.

5. Tag Type Displays the name of the control that has been selected during the test case execution.

6. Inner HTML Displays the innerhtml of the page.

7. Value Displays the text inserted in the selected object.

8. xPath Displays the location of the object through HTML structure.

7.5. Methods

TestingWhiz™ provides the feature of calling a function so you can use/execute a pre-defined method in your test case/script multiple times.

Hence it reduces the code size, saves time and increases maintainability of Automation Test Script. However, a method is specific to its

related test suite and cannot be used in other test suites.

FOR EXAMPLE:

You need Login process for any application to get logged into the system. In this case, you can combine all the test steps for login process

into one method.

Page 49: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

49

7.5.1. Create a Method

Follow below steps to create a method.

STEPS:

1. Select Method from the tabs panel on

the left side bottom.

2. Click on to add a new method

and name it.

3. Write the test steps for the method.

Page 50: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

50

7.5.2. Call a Method in the Test Case

You can call the method in the Test Case by using the “Call Method” Operation. When you select the Call Method Operation, you will be

presented with the list of method names created so far in the Value column. Specify the name of the method which you wish to call.

Page 51: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

51

7.6. Scheduling Tasks

TestingWhiz™ provides a feature to schedule a task at a specific time and run a test case as per your convenience. This is particularly useful

while running performance tests.

STEPS:

1. Select Scheduler from the Menu bar.

2. Click on “Add” button, you will be asked to provide the details regarding the Scheduled Job.

3. Specify the details and Trigger time for Job and click on OK button to save them.

Page 52: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

52

Following are the attributes of the job:

Field Description

Job Name Specify the name of the job that is to be scheduled.

Input File path Select the path of the test script to be scheduled.

Trigger/Cron

Expression

You can select a time trigger for your job schedule.

The Cron expression specifies the time at which you want to run the test. The cron expression used in tool

is Quartz cron format.

For example: 0 0 12 * *? Expression indicates that the job should be fired at 12:00 PM (noon) every day.

Browser Select the browser in which you want to run the test case.

Send report to Enter the email address; you want your report to be sent on.

4. Click on “Save” button to save scheduled Job details.

Please Note: The TestingWhiz™ tool should be running in order to execute a scheduled job.

7.6.1. Customize Trigger Time

Page 53: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

53

You can customize your trigger time by selecting “Custom” in Trigger drop down.

7.6.2. View Job History.

You can view all Jobs created in the system by clicking on Scheduler and then selecting Job History from the options.

On selecting Job history following window opens

Page 54: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

54

You can choose Job History View period from the options given in the drop down list.

Similarly you can also delete Job history for any particular period by selecting

8. OPERATIONS IN TESTINGWHIZ™

TestingWhiz™ supports more than 90 operations including conditional and looping operations. These operations help you build effective

and reliable Automation Test Scripts with least effort.

8.1. Check

Check operation allows you to check a set of actions performed by the user. It will stop the execution from the point where it fails. This is

applicable to all the actions that are performed using Check operation.

STEPS

1. Go to Operation column.

2. Select Check option.

3.

You can perform following actions using this operation:

Checked:false

Page 55: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

55

Checked:true

Cookie

Enabled:false

Enabled:true

Exists:true

Selected:index

Selected:value

Single Occurrence

Text

Text Ignore Case

Text:value

Title

Visible:false

Visible:true

8.1.1. Checked:false

This action allows you to check whether the checkbox is unchecked or de-selected.

STEPS:

1. Go to Operation column.

2. Select Check option.

3. Go to the Action column.

4. Select Checked:false option.

5. Go to the Object column and specify the id/name/xpath or any other attribute of the object (checkbox) on which

you want to perform the action.

Page 56: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

56

8.1.2. Checked:true

This action allows you to check whether the checkbox is checked or selected.

STEPS:

1. Go to Operation column.

2. Select Check option.

3. Go to the Action column.

4. Select Checked:true option.

5. Go to the Object column and specify the id/name/xpath or any other attribute of the object (checkbox) on which

you want to perform the action.

Page 57: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

57

8.1.3. Cookie

This action allows you to check whether the page contains the specified cookie or not. The result of the cookie’s

presence or absence will be reflected in the log that is generated for the report of the test case.

STEPS:

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Cookie option.

4. Go to the Value menu and specify the value of the cookie, which you want to check.

Page 58: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

58

8.1.4. Enabled:false

This action allows you to check whether the object (links, buttons etc.) is disabled on the page. Check operation will

stop the execution from the point where it fails.

STEPS:

1. Select Check option from the Operation column

2. Go to the Action column.

3. Select Enabled:false option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object that you want to

check.

Page 59: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

59

Page 60: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

60

8.1.5. Enabled:true

This action allows you to check whether the object (links, buttons etc.) is enabled on the page. Check operation will

stop the execution from the point where it fails.

STEPS:

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Enabled:true option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object which you want

to check.

8.1.6. Exists:true

Page 61: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

61

This action allows you to check whether the object exists on the page or not. Check operation will stop the execution

from the point where it fails.

STEPS:

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Exists:true option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object which you want

to check.

Page 62: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

62

8.1.7. Selected:index

This action allows you to check whether the option of the specified index is selected in the dropdown list.

STEPS:

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Selected:index option.

4. Go to the Object column and specify the id/name/xpath or any other attribute of the object (dropdown) on which

the action has to occur.

5. Go to the Value column and specify the index of the option that is to be checked in the dropdown list.

8.1.8. Selected:value

This action allows you to check whether the option of the specified value is selected in the dropdown list.

STEPS:

Page 63: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

63

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Selected:value option.

4. Go to the Object column and specify the id/name/xpath or any other attribute of the object (dropdown) on which

the action has to occur.

5. Go to the Value column and specify the value of the option that is to be checked in the dropdown list.

8.1.9. Single Occurrence

This action allows you to check whether the value occurs only one time on the page or not. The Single Occurrence

action will occur on only on page contents. It will not include page title, header etc. Check operation will stop the

execution from the point where it fails.

STEPS:

Page 64: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

64

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Single Occurrence option.

4. Go to the Value column and specify the text value for which you want to check the single occurrence.

8.1.10. Text

This action allows you to check whether the specified text is present on a page or not. The action will be performed for

all the text on the page. The check will be performed by matching the case of the text value specified. Text with special

symbols will not be considered. For example: "hello" will be considered different from HELLO. Check operation will

stop the execution from the point where it fails.

STEPS:

1. Select Check option from the Operation column.

2. Go to the Action column.

Page 65: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

65

3. Select Text option.

4. Go the Value column and specify the text whose existence is to be checked.

Please Note: This action also allows you to check whether the object has the specified Text or not

8.1.11. Text:value

This action allows you to check whether an object has the specified value or not. This operation can also be utilized

by taking value from text box. For e.g. You are testing an edit feature where values in text boxes are automatically

populated from database and you want to check against textbox value, you can make use of Text:value using an id

of the textbox.

STEPS:

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Text:value option.

4. Go to the Object column and specify the id of the object whose value is to be checked.

5. Go to the Value column and specify the value of the object on which you want to perform the action.

Page 66: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

66

8.1.12. Text Ignore Case

This action allows you to check whether the text is present on the page irrespective of the case of the text. The check

will be performed by ignoring the case of the text value specified. Text with special symbols will not be ignored. For

example: "hello" will be considered same as HellO. The check will be performed on all the contents that are present in

form of the text like labels, links etc. Check operation will stop the execution from the point where it fails.

STEPS:

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Text Ignore Case option.

4. Go to the Value column and specify the text that you want to check on the page irrespective of the case of

the text.

Page 67: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

67

8.1.13. Title

This action allows you to check whether the title of the page has the specified value or not. Check operation will stop

the execution from the point where it fails.

STEPS:

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Title option.

4. Go the Value column and specify the value that is to be checked.

Page 68: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

68

Page 69: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

69

8.1.14. Visible:false

This action allows you to check whether a specific object is invisible/hidden on the page or not. Check operation will

stop the execution from the point where it fails.

STEPS:

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Visible:false option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object whose

visibility is to be checked.

8.1.15. Visible:true

Page 70: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

70

This action allows you to check whether a specific object is visible on the page or not. Check operation will stop the

execution from the point where it fails.

STEPS:

1. Select Check option from the Operation column.

2. Go to the Action column.

3. Select Visible:true option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object whose visibility

is to be checked.

8.2. Verify

Verify operation allows you to verify any action. Verify operation will work same as Check operation. The only

difference is that Verify operation will not stop the execution from the point where it fails.

STEPS:

Page 71: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

71

1. Go to Operation column.

2. Select Verify option.

You can perform following actions using this operation:

Checked:false

Checked:true

Enabled:false

Enabled:true

Exists:true

Selected:index

Selected:value

Text

Text:value

Title

Visible:false

Visible:true

Please refer Check operation to know more about the actions.

Page 72: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

72

8.3. Move

Move operation allows you to move to a specific page/frame/window.

STEPS:

1. Go to Operation column.

2. Select Move option.

You can perform following actions using this operation:

To Frame

To Next Page

To Previous Page

To Window

Page 73: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

73

8.3.1. To Frame

This action allows you to move to different frames of the framework-design based web page.

STEPS:

1. Select Move option from the Operation column.

2. Go to the Action column.

3. Select To Frame option.

4. Go to the Object column and specify the id/name/xpath of the frame where you want to move.

8.3.2. To Next

Page

This action allows you to

move to the next page after

the current page.

STEPS:

1. Go to the Operation

column.

2. Select Move option.

3. Go to the Action column.

Page 74: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

74

4. Select To Next Page option.

8.3.3. To Previous Page

This action allows you to move to the previous page.

STEPS:

1. Select Move option from the Operation column.

2. Go to the Action column.

3. Select To Previous Page option.

Please Note: It will move to the immediate previous page.

Page 75: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

75

8.3.4. To Window

This action allows you to move the focus to any open window of a web page.

STEPS:

1. Select Move option from the Operation column.

2. Go to the Action column.

3. Select Windows option.

4. Go to the Value column and specify the window title on which you want to move.

Page 76: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

76

Page 77: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

77

8.4. Open Page

Open Page operation allows you to open a particular web page in the browser.

STEPS:

1. Select Open Page option from the Operation column.

2. Go to the Value column and insert the URL of the page which you want to open (B).

Please Note: The application will accept the form of URLs as shown in the examples below:

www.google.com

http://google.com

google.com

Page 78: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

78

8.5. Wait

Wait operation allows an element/object to wait till it is rendered on page or for a specific time before the execution

of the next action.

STEPS:

1. Go to Operation column.

2. Select Wait option.

You can perform following actions, which are helpful while testing AJAX Websites, using this operation:

For Element

For Time

Page 79: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

79

8.5.1. For Element

This action allows an object/element to wait for a specific time before the next action occurs.

STEPS:

1. Select Wait option from the Operation column.

2. Go to the Action column.

3. Select For Element option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object on which the

action has to occur.

5. Go to the Value column and specify the value (time) for which you want to perform the wait operation.

Please note: The

customized period will

be in terms of

milliseconds (ms).

8.5.2. For

Time

This action allows you to wait for a specific time before the next action occurs.

Page 80: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

80

STEPS:

1. Select Wait option from the Operation column.

2. Go to the Action column.

3. Select For Time option.

4. Go to the Value column and specify the value (time) for which you want to perform the wait operation.

Page 81: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

81

8.6. Click and Wait

This action allows you to perform an action on an object and wait for particular time before performing the next

action.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Click and Wait option.

4. Go to the Object column and specify the id/name/xpath or any other attribute of the object on which the action

has to occur.

5. Go to the Value column and specify the value (time) for which you want to perform the wait operation.

Please Note: The customized period will be in terms of milliseconds (ms). Value field here is optional and takes

3000ms by default.

Page 82: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

82

8.7. Write Message to Report

Write Message to Report operation allows you to write a particular message on the console and report window.

STEPS:

1. Select Write Message to Report option from the Operation column.

2. Go to the Value column and insert the message that you want to display on console and report window. You can

also display the value of a variable with the below mentioned syntax.

Syntax to display the Variable’s Value: ${Variable Name}

Page 83: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

83

8.8. Perform

Perform operation allows you to perform any action.

STEPS:

1. Go to Operation column.

2. Select Perform option.

You can perform following actions using this operation:

Accept Alert

Close

Mouse Over

Reject Alert

Right Click

Scroll Down

Scroll Up

Select:index

Select:value

Set:variable

Set:variableglobal

Page 84: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

84

8.8.1. Accept Alert

This action allows you to accept the alerts/messages of the alert boxes.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Accept Alert option.

Page 85: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

85

8.8.2. Close

This action allows you to close a particular page.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Close option.

Please Note:

The parent window cannot be closed by Close action.

Only pop-up windows can be closed by this action.

Page 86: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

86

8.8.3. Mouse Over

This action allows you to perform mouseover on a particular object.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Mouse Over option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object on which you

want the action to occur.

Please Note: Mouse Over action will be performed on the objects of the recently opened page.

Page 87: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

87

8.8.4. Reject Alert

This action allows you to reject the alerts/messages of the alert boxes.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Reject Alert option.

Page 88: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

88

8.8.5. Right Click

This action allows you to perform right click on an object.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Right Click option.

4. Go to the Object column Specify the id/name/xpath/link or any other attribute of the object on which the right

click has to occur.

Page 89: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

89

8.8.6. Scroll Down

This action allows you to perform scrolling down on a particular page.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Scroll Down option.

Please Note: Value is an optional parameter and unless specified will reach to bottom of page. You can specify

amount to scroll down by specifying full number in value column.

Page 90: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

90

8.8.7. Scroll Up

This action allows you to perform scrolling up on a particular page.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Scroll Up option.

Please Note: Value is an optional parameter and unless specified will reach to bottom of page. You can specify

amount to scroll down by specifying full number in value column.

Page 91: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

91

8.8.8. Select:index

This action allows you to select an option from the dropdown list by referring to the index of the option.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Select:index option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object (dropdown) on

which the action has to occur.

5. Go to the Value column and specify the index of the option that is to be selected from the dropdown list.

Page 92: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

92

8.8.9. Select:value

This action allows you to select an option from the dropdown list by referring to the value of the option.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Select:value option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object (dropdown) on

which the action has to occur.

5. Go to the Value column and specify the value of the option which is to be selected from the dropdown list.

Page 93: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

93

8.8.10. Set:variable

This action allows you to set a temporary variable to an object.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Set:variable option.

4. Go to the Object column and specify the name of the object on which the action has to occur.

5. Go to the Value column and specify the value that is to be temporarily referred to an object.

Please Note: When you refer variable temporary to the object, you have to specify the object in ${}. This variable is

used only on case level.

Page 94: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

94

8.8.11. Set:variableglobal

This action allows you to set a permanent variable to an object. It is recommended to have separate test case for

defining all the global variables.

STEPS:

1. Select Perform option from the Operation column.

2. Go to the Action column.

3. Select Set:variableglobal option.

4. Go to the Object column and specify the name of the object on which the action has to occur.

5. Go to the Value column and specify the value that is to be permanently referred to an object.

Page 95: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

95

8.9. Click

Click operation allows you to perform click on a particular object.

STEPS:

1. Select Click option from the Operation column.

2. Go to the Object column.

3. Specify the id/name/xpath/link or any other attribute of the object on which you want the action to occur.

Please Note: You can enter the id/name/xpath/link or any other attributes of all the objects that are clickable. For

Example: Objects like Link, Button etc.

Page 96: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

96

8.10. Delete

Delete operation allows you to delete a cookie of a web page.

STEPS:

1. Go to Operation column.

2. Select Delete option.

You can perform following actions using this operation:

Cookie

All Cookies

Page 97: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

97

8.10.1. Cookie

This action allows you to delete the cookie of a web page.

STEPS:

1. Select Delete option from the Operation column.

2. Go to the Action column.

3. Select Cookie option.

4. Go to the Value menu and specify the value of the cookie which you want to delete.

Please Note: You need to check whether a cookie is present on the web page before deleting it.

Page 98: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

98

8.10.2. All Cookies

This action allows you to delete all the cookies of all the web pages used.

STEPS:

1. Select Delete option from the Operation column.

2. Go to the Action column.

3. Select All Cookies option.

8.11. Loop Start

Loop Start operation allows you to start a defined loop of test steps. To execute a loop, you need to configure it

using Placeholder. Please refer Data Driven to know more.

Page 99: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

99

STEPS:

1. Go to Operation column.

2. Select Loop Start option.

Page 100: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

100

8.12. Loop Continue

Loop Continue operation allows you to continue a loop of test steps in a defined condition. To execute a loop, you

need to configure it using Placeholder. Please refer Data Driven to know more.

STEPS:

1. Go to Operation column.

2. Select Loop Continue option.

Please Note: Write up this operation where you want to continue a defined loop of test steps.

Page 101: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

101

8.13. Loop Break

Loop Break operation allows you to break/ move out from a loop of test steps. To execute a loop, you need to

configure it using Placeholder. Please refer Data Driven to know more.

STEPS:

1. Go to Operation column.

2. Select Loop Break option.

Please Note: Write up this operation where you want to break the loop of test steps.

Page 102: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

102

8.14. Loop End

Loop End operation allows you to end a defined loop of test steps. To execute a loop, you need to configure it using

Placeholder. Please refer Data Driven to know more.

STEPS:

1. Go to Operation column.

2. Select Loop End option.

Please Note: Write up this operation where you want to end the loop of test steps.

Page 103: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

103

8.15. Exit

Exit operation allows you to exit from a test case/current Suite/test Project.

STEPS:

1. Go to Operation column.

2. Select Exit option.

You can perform following actions using this operation:

Case

Suite

Project

Page 104: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

104

8.15.1. Case

This action allows you to exit from a test case and switch to the next consecutive test case.

STEPS:

1. Select Exit option from the Operation column.

2. Go to the Action column.

3. Select Case option.

Please Note: It will switch to the next Unskipped test case.

Similarly, you can select Suite/Project option from the Action column to exit from the current test suite/project

respectively.

Page 105: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

105

8.16. Highlight

Highlight operation allows you to highlight a particular object in a page.

STEPS:

1. Select Highlight option from the Operation column.

2. Go to the Object column and specify the id/name/xpath/link or any attribute of the object which you want to

highlight.

Page 106: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

106

8.17. Key press

Key press operation allows you to perform functionalities of various function keys on a web page.

STEPS:

1. Go to Operation column.

2. Select Key press option.

You can perform following actions using this operation:

Enter

Escape

F1

F10

F11

F12

F3

F6

Page Down

Page Up

Refresh

Tab

Page 107: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

107

8.17.1. Enter

This action allows you to perform the functionality of an Enter key on an object.

STEPS:

1. Select Keypress option from the Operation column.

2. Go to the Action column.

3. Select Enter option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object on which you

want to occur this action.

8.17.2. Escape

Page 108: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

108

This action allows you to perform the functionality of an Escape key on an object. You can use this object when you

want to escape an alert/message box or any frame/window.

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select Escape option.

4. Go to the Object column and specify the id/name/xpath or any other attribute of the object on which you want to

occur this action.

8.17.3. F1

This action allows you to view the help contents of an application.

Page 109: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

109

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select F1 option.

Page 110: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

110

8.17.4. F10

This action allows you to move the cursor to the first Menu in the Menu Bar of the web page.

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select F10 option.

Page 111: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

111

8.17.5. F11

This action allows you to view the full screen of a web page. It will hide the URL bar, menu bar, tabs of the web page.

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select F11 option.

Page 112: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

112

8.17.6. F12

This action allows you to view all the elements/objects used in the web page along with their attributes/classes.

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select F12 option.

Page 113: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

113

8.17.7. F3

This action allows you to access the search box on the web page.

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select F3 option.

Page 114: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

114

8.17.8. F6

This action allows you to move the cursor to the URL bar of the web page.

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select F6 option.

Page 115: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

115

8.17.9. Page Down

This action allows you to use the functionality of Page Down key. It scrolls the page down in the same proportion as

the Page Down key functions.

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select Page Down option.

Page 116: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

116

8.17.10. Page Up

This action allows you to use the functionality of Page Up key. It scrolls the page up in the same proportion as the

Page Up key functions.

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select Page Up option.

Page 117: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

117

8.17.11. Refresh

This action allows you to refresh and re-load the contents of the web page.

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select Refresh option.

Page 118: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

118

8.17.12. Tab

This action allows you to use the functionality of Tab key. It will move to the object whose id is defined in the Object

column.

STEPS:

1. Select Key press option from the Operation column.

2. Go to the Action column.

3. Select Tab option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object.

Page 119: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

119

8.18. Input

Input operation allows you to set a particular value in a textbox.

STEPS:

1. Select Input option from the Operation column.

2. Go to the Object column and specify the id/name/xpath or any other attribute of the textbox in which you want to

insert the value.

3. Go to the Value column and specify the value that you want to insert in the textbox.

Page 120: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

120

8.19. If

If operation allows you to check for specific conditions before executing a test step.

STEPS:

1. Go to Operation column.

2. Select If option.

You can perform following actions using this operation.

Checked:false

Checked:true

Compare

Compare Ignore Case

Enabled:false

Enabled:true

Exists:true

isBlankOrNull

Selected:index

Selected:value

Text

Text:value

Title

Visible:false

Visible:true

Please refer Check operation to know more about the functioning of the actions and the use of Actions, Objects and

Value columns in the respective methods.

Page 121: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

121

8.19.1. Checked:false

Page 122: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

122

8.19.2. Checked:true

Page 123: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

123

8.19.3. Compare

The Compare action allows you to treat the Comparison between two strings as criteria to execute a set of statements.

If the result of the comparison is True then only the set of statements in the IF block will be executed and if the result

is False then the set of statements in the IF block will be skipped away.

STEPS:

1. Select IF option from the Operation column.

2. Go to the Action column.

3. Select Compare option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result of

the comparison between the strings. Go to the Value column, where you would be able to see icon. On

clicking this icon, an editor would get opened asking you the values for the Strings as shown below:

Page 124: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

124

Page 125: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

125

8.19.4. Compare Ignore case

The Compare Ignore Case action works in similar manner to Compare action but with little add-on in the functionality.

This action ignores the Alphabetical Case of the Strings at the time of comparison.

STEPS:

1. Select IF option from the Operation column.

2. Go to the Action column.

3. Select Compare Ignore Case option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result of

the comparison between the strings. Go to the Value column, where you would be able to see icon. On

clicking this icon, an editor would get opened asking you the values for the Strings as shown below:

Page 126: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

126

Page 127: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

127

8.19.5. Enabled:false

Page 128: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

128

8.19.6. Enabled:true

Page 129: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

129

8.19.7. Exists:true

8.19.8. isBlankOrNull

The isBlankOrNull Operation enables you to verify whether the value of the Variable is Null and not.

Page 130: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

130

STEPS:

1. Select IF option from the Operation column.

2. Go to the Action column.

3. Select isBlankOrNull option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result of

the comparison between the strings. Go to the Value column and specify the value of the variable/Placeholder

column or keep it blank.

Page 131: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

131

8.19.9. Selected:index

Page 132: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

132

8.19.10. Selected:value

Page 133: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

133

8.19.11. Text

Page 134: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

134

8.19.12. Text:value

Page 135: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

135

8.19.13. Title

Page 136: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

136

8.19.14. Visible:false

8.19.15. Visible:true

Page 137: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

137

Page 138: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

138

8.20. Else

Else operation allows you to execute a step for an otherwise condition.

STEPS:

1. Select Else option from the Operation column.

2. Write up the step that you want to execute.

Page 139: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

139

8.21. Else if

Else if operation allows you to execute another condition to be tested when all other conditions of the loop above it

are not satisfied.

STEPS:

1. Go to Operation column.

2. Select Else if option.

You can perform following actions using this operation:

Checked:false

Checked:true

Compare

Compare Ignore Case

Enabled:false

Enabled:true

Exists:true

isBlankOrNull

Selected:index

Selected:value

Text

Text:value

Title

Visible:false

Visible:true

Please refer Check and If operation to know more about the functioning of the actions and the use of Actions, Objects

and Value columns in the respective methods.

Page 140: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

140

8.21.1. Checked:false

Page 141: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

141

8.21.2. Checked:true

8.21.3. Compare Ignore Case

Page 142: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

142

Page 143: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

143

8.21.4. Enabled:false

Page 144: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

144

8.21.5. Enabled:true

Page 145: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

145

8.21.6. Exists:true

Page 146: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

146

8.21.7. isBlankOrNull

Page 147: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

147

8.21.8. Selected:index

Page 148: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

148

8.21.9. Selected:value

Page 149: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

149

8.21.10. Text

Page 150: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

150

8.21.11. Text:value

Page 151: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

151

8.21.12. Title

Page 152: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

152

8.21.13. Visible:false

Page 153: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

153

8.21.14. Visible:true

Page 154: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

154

8.22. Else-if-Not

Else-if-Not operation allows you to execute a condition if the action mentioned is not satisfied.

STEPS:

1. Go to Operation column.

2. Select Else-if-Not option.

You can perform following actions using this operation:

Checked:false

Checked:true

Compare

Compare Ignore Case

Enabled:false

Enabled:true

Exists:true

isBlankOrNull

Selected:index

Selected:value

Text

Text:value

Title

Visible:false

Visible:true

Please refer Check and If operation to know more about the functioning of the actions and the use of Actions,

Objects and Value columns in the respective methods.

Page 155: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

155

8.22.1. Checked:false

Page 156: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

156

8.22.2. Checked:true

Page 157: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

157

8.22.3. Compare

Page 158: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

158

8.22.4. Compare Ignore Case

Page 159: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

159

8.22.5. Enabled:false

Page 160: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

160

8.22.6. Enabled:true

8.22.7. Exists:true

Page 161: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

161

Page 162: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

162

8.22.8. isBlankOrNull

Page 163: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

163

8.22.9. Selected:index

Page 164: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

164

8.22.10. Selected:value

Page 165: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

165

8.22.11. Text

Page 166: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

166

8.22.12. Text:value

Page 167: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

167

8.22.13. Title

Page 168: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

168

8.22.14. Visible:false

Page 169: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

169

8.22.15. Visible:true

8.23. End If

End-if operation allows you to end the loop of if condition. You can use this operation where you want to end if loop.

Page 170: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

170

STEPS:

1. Go to Operation column.

2. Select End-if option.

Please refer Check and If operation to know more about the functioning of the actions and the use of Actions, Objects

and Value columns in the respective methods.

Page 171: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

171

8.24. If-Not

If-Not operation allows you to check for conditions before executing a test step.

STEPS:

1. Go to Operation column.

2. Select If-Not option.

You can perform following actions using this operation.

Checked:false

Checked:true

Compare

Compare Ignore Case

Enabled:false

Enabled:true

Exists:true

isBlankOrNull

Selected:index

Selected:value

Text

Text:value

Title

Visible:false

Visible:true

Please refer Check and If operation to know more about the functioning of the actions and the use of Actions, Objects

and Value columns in the respective methods.

Page 172: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

172

8.24.1. Checked:false

Page 173: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

173

8.24.2. Checked:true

Page 174: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

174

8.24.3. Compare

Page 175: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

175

8.24.4. Compare Ignore Case

Page 176: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

176

8.24.5. Enabled:false

8.24.6. Enabled:true

Page 177: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

177

8.24.7. Exists:true

Page 178: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

178

8.24.8. isBlankOrNull

Page 179: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

179

Page 180: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

180

8.24.9. Selected:index

Page 181: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

181

8.24.10. Selected:value

Page 182: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

182

8.24.11. Text

Page 183: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

183

8.24.12. Text:value

Page 184: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

184

8.24.13. Title

Page 185: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

185

8.24.14. Visible:false

Page 186: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

186

8.24.15. Visible:true

8.25. Compare Operation

Compare operation allows you to compare numerical values and give a Boolean result.

Page 187: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

187

8.25.1. Compare < (less than)

8.25.2. Compare <= (less than equal to)

8.25.3. Compare > (greater than)

Page 188: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

188

8.25.4. Compare >= (greater than equal to)

8.25.5. Compare = (equal to)

Page 189: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

189

8.25.6. Compare != (not equal to)

8.26. Get

Get operation allows you to fetch the attribute of an object, table row count, table column count, table cell data

Please Note: You have to use a variable to store the fetched value and display it on the report.

STEPS:

Page 190: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

190

1. Go to Operation column.

2. Select Get option.

You can perform following actions using this operation.

Attribute

Table Cell Data

Table Column Count

Table Row Count

Text

Title

Current Page URL

Page 191: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

191

8.26.1. Attribute

This action allows you to get any attribute of an object.

STEPS:

1. Select Get option from the Operation column.

2. Go to the Action column.

3. Select Attribute option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the object on which you

want to perform the action.

5. Go the Value column and specify the attribute name of the object which you want to fetch.

Page 192: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

192

8.26.2. Table Cell Data

This action allows you to get data of a table cell.

STEPS:

1. Select Get option from the Operation column.

2. Go to the Action column.

3. Select Table Cell Data option.

4. Go to the Object column and specify the xpath or of the table cell from where you want to fetch the data.

5. Go the Value column and specify the variable name which will store the fetched data.

Page 193: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

193

8.26.3. Table Column Count

This action allows you to get the total column count of a particular table.

STEPS:

1. Select Get option from the Operation column.

2. Go to the Action column.

3. Select Table Column Count option.

4. Go to the Object column and specify the xpath or of the table whose column count is to be fetched.

5. Go the Value column and specify the variable name which will store the fetched data.

Page 194: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

194

8.26.4. Table Row Count

This action allows you to get the total row count of a particular table.

STEPS:

1. Select Get option from the Operation column.

2. Go to the Action column.

3. Select Table Row Count option.

4. Go to the Object column and specify the xpath or of the table whose row count is to be fetched.

5. Go the Value column and specify the variable name which will store the fetched data.

Page 195: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

195

8.26.5. Text

Text action allows you to get the text of a textbox.

STEPS:

1. Select Get option from the Operation column.

2. Go to the Action column.

3. Select Text option.

4. Go to the Object column and specify the id/name/xpath/link or any other attribute of the textbox.

5. Go the Value column and specify the variable name which will store the fetched data.

Page 196: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

196

8.26.6. Title

Title action allows you to get the Title of a website or url.

STEPS:

1. Select Get option from the Operation column.

2. Go to the Action column.

3. Select Title option.

4. Go to the Value column and specify the variable name which will store the fetched title.

8.26.7. Current Page url

Current Page url action allows you to get the url of the current website.

STEPS:

1. Select Get option from the Operation column.

2. Go to the Action column.

3. Select Current Page url option.

4. Go to the Value column and specify the variable name which will store the fetched Current page url.

Page 197: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

197

8.27. Enter Authentication

Enter Authentication operation allows you to provide authentication to your application. This can prevent

unauthorized access to your application.

STEPS:

1. Select Enter Authentication option from the Operation column.

2. Go to the Object column and specify the url of the application whose authentication is to be done.

3. Go the Value column and specify the wait time, username & password for authenticating the application.

Wait time: This time specifies the time to wait as the application opens before authentication pop up loads.

Username: To specify the username used to authenticate.

Password: To specify the password to authenticate.

Syntax: <<wait_time>>::<<username>>::<password>

Page 198: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

198

Page 199: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

199

8.28. Execute JavaScript

Execute JavaScript allows you to execute a test step in just a single line.

STEPS:

1. Select Execute option from the Operation column.

2. Go to the Action column and select JavaScript Option.

3. Go to the Value column, where you would be able to see icon. On clicking this icon, an editor would get

opened asking you the values for the Strings as shown below:

Page 200: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

200

Page 201: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

201

8.29. String

The String Operation allows you to perform various manipulations like Comparison, finding the Length, etc. while

working with the Strings.

STEPS:

1. Go to Operation column.

2. Select String option.

You can perform following actions using this operation:

Compare

Compare Ignore Case

Concat

isBlankOrNull

Length

SubStr

toNumber

To Lower

To Upper

Trim

Page 202: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

202

8.29.1. Compare

The Compare action allows you to perform the Comparison between two stings i.e. verify whether the two strings are

equal or not. The Compare action will take the Case Sensitivity of the Strings into consideration.

STEPS:

1. Select String option from the Operation column.

2. Go to the Action column.

3. Select Compare option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result

of the comparison between the strings.

5. Go to the Value column, where you would be able to see icon. On clicking this icon, an editor would get

opened asking you the values for the Strings as shown below:

Note: You would be able to see icon in the Value column of all the action where you are required to work with 2

strings. Such actions are: Compare Ignore Case and Concat. Hence the Steps for all these actions would remain the

same as Compare action.

Page 203: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

203

Page 204: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

204

8.29.2. Compare Ignore Case

The Compare Ignore Case action will work in the similar manner as Compare action but with little enhancement. This

action would ignore the Case Sensitivity of the Strings at the time of comparison.

Page 205: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

205

8.29.3. Concat

The Concat action will merge 2 Strings that is it would append String2 at the end of String1.

Page 206: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

206

8.29.4. isBlankOrNull

The isBlankOrNull Operation enables you to verify whether the value of the Variable is Null and not.

STEPS:

1. Select String option from the Operation column.

2. Go to the Action column.

3. Select isBlankOrNull option.

4. Go to the Object menu and specify the name of the variable/Placeholder column for which you want to verify the

existence of value.

5. Go to the Value column and specify the value of the variable/Placeholder column or keep it blank.

Page 207: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

207

8.29.5. Length

The Length action allows you to determine the length of the String.

STEPS:

1. Select String option from the Operation column.

2. Go to the Action column.

3. Select Length option.

4. Go to the Object column and specify the name of the variable/Placeholder column, which would store the result

of the length of the string.

5. Go to the Value column and specify the name of the variable/Placeholder column from where the String is to be

extracted to find the length.

Page 208: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

208

8.29.6. SubStr

The SubStr action allows you extract a range of characters as a Sub String from the given String. The extraction of

substring would depend on the Begin and End Indexes specified by you. If you do not mention the End Index, then the

length of the Sting would be considered as End Index.

STEPS:

1. Select String option from the Operation column.

2. Go to the Action column.

3. Select SubStr option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result of

extraction from the string.

5. Go to the Value column, where you would be able to see icon. On clicking this icon, an editor would get

opened asking you the String and the Indexes to be taken into consideration as shown below:

Page 209: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

209

Page 210: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

210

8.29.7. toNumber

The toNumber action will convert the numeric Characters into the numbers with relevant data type.

STEPS:

1. Select String option from the Operation column.

2. Go to the Action column.

3. Select toNumber option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result of

string after conversion.

5. Go to the Value column and specify the name of the variable/Placeholder column from where the data can be

extracted.

Page 211: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

211

8.29.8. To Lower

The To Lower action will convert the Uppercase letter to the corresponding Lowercase Letter.

STEPS:

1. Select String option from the Operation column.

2. Go to the Action column.

3. Select To Lower option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result

of string after conversion to Lowercase.

5. Go to the Value column and specify the name of the variable/Placeholder column from where the data can be

extracted.

8.29.9. To Upper

Page 212: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

212

The To Upper action will convert the Lowercase letter to the corresponding Uppercase Letter.

STEPS:

1. Select String option from the Operation column.

2. Go to the Action column.

3. Select To Upper option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result of

string after conversion to Uppercase.

5. Go to the Value column and specify the name of the variable/Placeholder column from where the data can be

extracted.

Page 213: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

213

8.29.10. Trim

The Trim action allows you to remove the leading and trailing blanks in the String.

STEPS:

1. Select String option from the Operation column.

2. Go to the Action column.

3. Select Trim option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result

of string after the removal of leading and trailing blanks.

5. Go to the Value column and specify the name of the variable/Placeholder column from where the data can be

extracted.

Page 214: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

214

8.30. Run Command

The Run Command allows you to execute the MS – DOS Commands.

STEPS:

1. Select Run Command option from the Operation column.

2. Go to the Value column and specify the MS-DOS Command that you want to execute.

Page 215: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

215

8.31. Export To

The Export To operation enables you to export the data stored in Placeholders to .XML and .CSV file.

STEPS:

1. Go to Operation column.

2. Select Export To option.

You can export data to the above mentioned formats by performing following actions using this operation:

XML

CSV

Page 216: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

216

8.31.1. XML

The XML action enables you to export the data into the .XML file format.

STEPS:

1. Select Export To option from the Operation column.

2. Go to the Action column.

3. Select XML option.

4. Go to the Value column, where you would be able to see icon. On clicking this icon, an editor would get

opened, similar to the one shown below, asking you the path of the Target File, where the data will be stored and the

Source Placeholder, from where the data will be extracted. In the Target File, you need to specify the folder as well as

the Name of the file with the .XML extension, by which you would prefer to store the data. This would create the XML

file in the targeted folder.

Page 217: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

217

Page 218: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

218

8.31.2. CSV

The CSV action works in the similar manner as XML action with a little difference that this action would enable you to

export the data into the .CSV file format.

Page 219: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

219

8.32. Call Method

The Call Method Operation enables you to call a user defined method. This operation work in the similar manner as

the method calling concept would work in other Programming Language.

STEPS:

1. Go to Operation column.

2. Select Call Method option.

3. Go to the Value column and select the name of the method which you would prefer to call at the time of

execution of the test case.

Page 220: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

220

8.33. Database

The Database operation allows you to perform the database related operations like Select, Insert, Update and Delete.

Before moving ahead with this operation you need to specify the preferences required for the database by going

through the steps of Database Preference in the Configuration Sub-Menu in the Settings Menu.

STEPS:

1. Go to Operation column.

2. Select Database option.

You can perform following actions using this operation:

Fetch

Query

Page 221: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

221

8.33.1. Fetch

The Fetch action allows you to extract the data from database by performing the Select Query. The result of the Select

Query will be stored in the targeted placeholder.

STEPS:

1. Select Database option from the Operation column.

2. Go to the Action column.

3. Select Fetch option.

4. Go to the Value column, where you would be able to see icon. On clicking this icon, an editor would get

opened asking you the below mentioned 3 things:

DB Alias: The Alias of the database.

Select Query: The Select Query

which needs to be executed in order

to fetch data.

Target Placeholder: The name of

the Placeholder which would store

the output generated from the

Select Query.

Page 222: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual 3.0

222

Page 223: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual

223

8.33.2. Query

The Query action allows you to manipulate the data stored in the database with the help of Insert, Update and

Delete Queries.

STEPS:

1. Select Database option from the Operation column.

2. Go to the Action column.

3. Select Query option.

4. Go to the Value column, where you would be able to see icon. On clicking this icon, an editor would get

opened, as shown below, asking you about the DB Alias Name and the Query that is required to be executed

on the database.

Page 224: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual

224

8.34. Math Operations

The Math Operations allow you to perform calculation on numeric data by formatting it in desired format.

8.34.1. Abs Operation

Page 225: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual

225

STEPS:

1. Select Math option from the Operation column.

2. Go to the Action column.

3. Select abs option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result

of math operation performed.

5. Go to the Value column, and specify the location (column name) of the data in the placeholder on which the

math operation is being performed.

8.34.2. INT Operation

STEPS:

1. Select Math option from the Operation column.

2. Go to the Action column.

3. Select int option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result

of math operation performed.

Page 226: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual

226

5. Go to the Value column, and specify the location (column name) of the data in the placeholder on which the

math operation is being performed.

8.34.3. Floor Operation

STEPS:

1. Select Math option from the Operation column.

2. Go to the Action column.

3. Select floor option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result

of math operation performed.

5. Go to the Value column, and specify the location (column name) of the data in the placeholder on which the

math operation is being performed.

Page 227: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual

227

8.34.4. Ceiling Operation

STEPS:

1. Select Math option from the Operation column.

2. Go to the Action column.

3. Select ceiling option.

4. Go to the Object column and specify the name of the variable/Placeholder column which would store the result

of math operation performed.

5. Go to the Value column, and specify the location (column name) of the data in the placeholder on which the

math operation is being performed.

Page 228: Automation Testing Tool for Web & Mobile Apps - TestingWhiz™ … · 2013-09-13 · Integration with Bug tracking tools Integration with the bug tracking tools (JIRA, Mantis, Fogbugz)

User Manual

228