TestComplete+JavaScript bespoke ( testjavabespoke | 21 hours )

Course Outline:

DAY 1

TestComplete: Getting Started

• What is TestComplete?

• Downloading and installing TestComplete

• Creating a project suite and project in different ways

 • Using sample projects in TestComplete

TestComplete : Overview of Testing

• Keyword tests and scripts

• Running a test in TestComplete using KeywordTest + Log

• Recording a test, replaying tests and Test Visualizer

• Bookmarks, Search and Todo

• Object browser and object spy

Name Mapping in TestComplete

• What is Name Mapping?

• Using name mapping with desktop application/ website

• Extended find

• Usage Statistics

 KeywordTest in Depth

• Local and Global variables in KeywordTest

• Parameters in KeywordTest

• Conditional Statements

• Loops

CheckPoints

• Region checkpoints

• File checkpoints

• Object property checkpoints

• Database checkpoints

DAY 2

JavaScript : Overview

• What is JavaScript?

• Installing the IDE

• Working with JavaScript in browsers

• Separation of Concerns

JavaScript : Variables, Objects, Constants & Operators

• Declaring variables

• Primitive types

• Declaring constants

• Operators : Arithmetic, Assignment, Comparison, Equality, Ternary & Logical

Objects

• Creating objects

• Factory functions vs Constructor functions

• Constructor functions

• Value vs reference properties

 Control Flow

• If Else

• For

• While

Arrays

• Understanding arrays

• Adding, finding and removing elements

• Spread operators

• Iterating an array

• Sorting arrays

Functions

• What is a function?

• Declarations vs expressions

• Arguments

• Rest operator

DAY 3

Data Driven Testing in TestComplete

• Understanding Data Driven testing

• Data driven testing with CSV files

• Data driven testing with Excel files- keyword testing

• DDT with SQL databases

Using JavaScript with TestComplete

• Name mapping with scripting

• Using JavaScript for Checkpoints

• Conditionals and loops in TestComplete using JavaScript

• DDT with JavaScript

• Intercepting events in TestComplete

Web Testing in TestComplete

• How to use Web Comparison checkpoints

• Web Accessibility Checkpoint

• Web Test Recorder

• Building a Web Test Recorder

• Web Test Framework

• Web order testing

• Using Tabs in Chrome by Script

TestComplete: Reporting, CheckIn

• Reporting in TestComplete

• Checking in code to GitHub