Framework Basics

Utility Classes

Use this slide if there is no Heading
Note - Create Content inside Red Layout

[Delete Red Outline After creating slide]

Learning Outcome(Slide2)

6

Integrate with Page Objects and Test Classes.

5

Reduce duplication and improve maintainability.

4

Reuse utilities across test cases.

3

Handle screenshots, waits, navigation, and test data.

2

Create reusable methods for common tasks.

1

Understand the purpose of Utility Classes.

Recall

Java Classes & Methods – Create reusable methods.

Locators & Actions – Identify and interact with web elements.

Page Object Model (POM) – Organize page-specific code.

TestNG – Create and execute test cases.

Screenshots – Capture screenshots during test execution.

Waits – Handle synchronization and dynamic elements.

Exception Handling – Manage errors during execution.

Imagine an office where employees frequently need common items.

Office Store Room  Utility Class

Common Items → Utility Methods

Transition from Analogy to Technical Concept(Slide 5)

Core Concepts (Slide 6)

Core Concepts (Slide 7)

Core Concepts (.....Slide N-3)

Summary

5

Build strong branding

4

Use different marketing channels

3

Target the right audience

2

Create and communicate value

1

Understand customer needs

Choose cool, soft colors instead of vibrant colors
Max 5 Points for Summary & Min 2

Quiz

Which platform is mainly used for professional networking and B2B marketing ?

A. Facebook

B. Instagram

C. LinkedIn

D. Snapchat

Quiz-Answer

Which platform is mainly used for professional networking and B2B marketing ?

A. Facebook

B. Instagram

C. LinkedIn

D. Snapchat

Utility Classes

By Content ITV

Utility Classes

  • 8