TestingWhiz


Get Community


  • Solutions
    • Web Test Automation
    • Mobile Testing
    • Cross-Browser Test Automation
    • Regression Test Automation
    • Web Services Testing
    • Data-Driven Testing
    • Database Testing
    • Big Data Testing
  • Features
  • Integrations
  • Pricing
  • Resources
    • Webinars
    • White Papers
    • Infographics
    • Case Studies
    • User Manual
    • Release Notes
    • Download Center
    • User Forum
    • FAQs
  • Blog
  • Company
    • About
    • News & Events
    • Whiz Consulting
    • Partners
    • Contact Us
User Manual
  • General Information
    • About TestingWhiz
    • TestingWhiz Architecture
    • System Requirements
    • Browser and Device Support
  • Understanding TestingWhiz Tool
    • Menu Bar
    • Tool Configuration Settings
    • Third Party Integrations
    • Menu Tab
    • Test Editor Tab
    • Test Commands, Methods and Variables
  • Create and Manage Test Projects
    • Create, Record and Import Test Scripts
    • Create Test Suites
    • Create Test Cases
    • Execute Test Scripts
  • Test Reports
  • Methods Accessing Data Table Values Without Loop
  • Generating Test Data Table
  • Importing Data from Other Test Projects
  • Types of Testing Supported by TestingWhiz
  • Mobile Test Execution
  • Desktop Test Automation
  • Image Comparison
  • Forking & Data Validation
  • Test Execution via CI Plugin
  • Integration with Test Management Tools
  • Integration with Version Control
  • Test Commands & Corresponding Actions
  • Test Commands Reference
    • Web App Commands
    • Mobile App Commands
    • Desktop App Commands
    • Conditional Commands
    • Database Commands
    • Web Service Commands
    • File Operation Commands
    • Script Optimization Commands
    • Desktop Commands

Create, Record and Import Test Scripts

The user can generate Test Scripts in 6 ways.

1. Create Test Automation Scripts Manually

Refer Section - Create & Manage Test Projects to create Test Script manually.

2. Record Test Automation Scripts Using Internal Recorder

TestingWhiz lets a user record and stores all web controls using an Object Eye Inbuilt Recorder.

Steps & Configurations

1. Either click on the Tool Bar to switch on Recording on the browser of preference or click Recording function shown on the Welcome screen

When a user clicks on the Record button, it will turn immediately to Red.
Recording Section

Recorder Start in Internal Browser

2. Enter the URL of the website in Browser Control area (E.g. www.google.com)

3. Either click on Go or hit Enter from the keyboard

Enter URL

4. Execution process has started and Google homepage will be displayed

Google Homepage

To add validation in the Script such as check, verify while recording to make sure your testcases are producing the expected results and behavior during Testing


5. Perform the function like Search, Sign-in to Gmail etc. (E.g. Mauritius Packages SOTC)

6. Test Scripts will start generating simultaneously in the bottom left section as per user performs a function

7. Perform the necessary process further to complete the recording process

Search Result

8. While recording the test steps, a user can anytime click back or forward buttons to add previous and next steps in the test script respectively

9. Click on to reload the page

10. Click on for help

Record Help

11. Click on button to stop the recording once a user reaches the desired step(s)

12. The tool will automatically generate the script based on the steps followed during the recording process

Recorded Test Steps

Object Eye

1. It allows a user to view the properties of an object during test recording process

2. The user can see properties like ID, Name, XPath, and Tag of the object that are displayed based on the selection of an object at the time of recording the test steps

Object Eye

Refer YouTube Link - Recording Using Internal Browser

3. Record Test Automation Scripts Using External Browser

To avoid creating Test Scripts manually, the user can record it using External Browser.

Steps & Configurations

1. Click and select a browser (E.g. Google Chrome) from the drop-down to switch on Recording.

When a user clicks on the Record button, it will turn immediately to Red.

2. Google Chrome window will be opened and it is being controlled by Automated Test Software i.e. TestingWhiz.

Recording Using External Browser

3. Enter the URL of the website in Start: box (E.g. www.google.com)

4. Either click on Go or hit Enter from the keyboard

Enter URL

5. Perform the function like Search, Sign-in to Gmail etc. (E.g. Mauritius Package SOTC)

Search on Google

Search History

6. Test Scripts will start generating simultaneously in the Text Editor Area as per user performs a function

7. Perform the necessary process further to complete the recording process

8. Click on button to stop the recording

9. The tool will automatically generate the script based on the steps followed during the recording process

Recorded Test Steps

4. Record Test Automation Scripts Using Visual Recorder

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

Steps & Configurations

1. Click to switch on the recording

When a user clicks on the Visual Recorder button, it will turn immediately to Red .

2. By clicking on Visual Recorder, a dialog box will open

3. Click on START RECORDING button.

Recording Using Visual Recorder

4. Select an area of the calculator to record

5. List of options for choosing appropriate action will be displayed

6. To click on number 4, select Click action

List of Actions

7. Enter an Object Name and click OK

Object Name for Action

8. After clicking on OK, test Step will be played automatically and value in the calculator will be changed from 0 to 4

Calculator Result

9. Generated Test Step(s) will be displayed in Test Editor area

Recorded Test Step

10. Perform the necessary process further to complete the recording process

11. Click on button to stop the recording

12. The tool will automatically generate the steps as shown on above screen

5. Import Test Automation Scripts from Computer

The user can import script file in Excel or .twiz format.

Steps & Configurations

1. Open File → Import Test Project

File → Import Test Project

Selection of a File

2. Click on button to browse the file

3. Select a Test Project to Import

Browse a File

4. Click to view the Data Project

Test Project

5. Click to view the Data Table

Data Table

6. Click to view the Methods

Methods

7. Click on Finish button

8. Test Project will be successfully Imported

6. Import Test Automation Scripts from Excel Sheet

Steps & Configurations

1. Either click from the Tool Bar to import Test Script saved as .xls or Open File → Import From Excel or Press Ctrl + I

File → Import from Excel

Press Ctrl + I

7. Object Spy

1.For capturing Web elements, we have two browsers (i.e., Google Chrome and Mozilla Firefox.)

2.Once Object Spy is turned on, following window will pop up which will show all the web elements captured in hierarchy.

fig:Object Spy pop-up

3.On the selected browser, this tab will be opened automatically.

fig: Object Spy in action

4.User will have to enter the URL from which he/she wants to capture the web elements as shown below:

fig: hover on element to capture

5.When user presses Go button after entering the URL, user can hover the on the web element he/she wants to capture and right click on the same and then on TestingWhiz and then Capture Object.

fig: Right click>Testingwhiz>Capture Object

6.Once user captures the object, object hierarchy will be shown in the TestingWhiz object spy window.

fig: Object details

7.If user wants to verify or highlight the web element captured, then by selecting that particular web element and pressing “Highlight” button, a new browser instance( of the same browser selected to turn Object Spy on) will be opened and will be redirected to the URL of that web element and if that web element is found, it will highlight the same for some small duration of time.

8.User will be able to save that particular web element or that particular URL by selecting the same and pressing “Save to Object Repository” button.

9.If User have captured objects from more than one URL then by pressing “Save All” button, whole hierarchy will be saved to Object Repository and it will save the effort of saving individually.

In This Section
  • Create Manually
  • Record Using Internal Recorder
  • Record Using External Browser
  • Record Using Visual Recorder
  • Import From Computer
  • Record Using Excel Sheet
PREVIOUS
NEXT
cygnetinfotech

About

TestingWhiz is committed to provide an innovative and automated software testing solution to the global enterprises and software companies for their web, mobile and cloud applications.

location

Cygnet Infotech LLC,
125 Village Boulevard,
Suite 315, Princeton,
NJ 08540, USA

PHONE | EMAIL

1-855-699-6600
info@testing-whiz.com

Get Started

Download Trial
Demo
Pricing
Contact Us
  • Privacy Policy
  • Terms of Use
 
TestingWhiz Capterra Ratings

Copyright© 2021, TestingWhiz. All Rights Reserved.

This website uses Cookies to improve site’s functionality & provide you with better browsing experience. Detailed information on the use of cookies on this website, and how you can decline them, is provided in our Cookie Policy. If you don't agree, kindly disable cookies from browser settings.