Learn How to Handle Multiple Browser Windows | Tutorial 8 (for Beginners)

Опубликовано: 13 Май 2026
на канале: Sahi Pro
323
3

Start Free Trial - https://www.sahipro.com/free-trial

In this video learn how to handle multiple browser windows in an application using the Prefix as well as attributes like windowTitle & windowURL. Also, learn how to use APIs like selectWindow, closeWindow, getWindows & _getRecentWindow.

-- Skip to chapters --
Intro - 00:00
Test pages new window - 00:33
Highlight Link Test - 01:40
Understanding the use of Prefix - 02:06
How to select the new window - 03:19
Use of API “_selectWindow” - 03:27
Window open test with title - 05:34
How the select window internally used by Sahi Pro - 07:35
Creation of script HandleMultipleWindows - 08:00
Click Test Pages - 08:14
Review the recorded script - 08:44
How to close a window when working with multiple windows - 09:19
Use of API “_closeWindow” - 09:25
Use of the “_getWindows” API - 10:35
Array of window objects - 11:14
9 Attributes of object - 11:49
Understanding the attribute “windowTitle” - 12:19
Understanding the attribute “windowURL” - 12:54
Use of “_getRecentWindow” API - 15:21

Installing Sahi Pro Steps - https://resources.sahipro.com/docs/us...

Learn more about Sahi Pro features - https://www.sahipro.com/features

Read about APIs to handle Multiple Windows
https://resources.sahipro.com/docs/sa...

Read about the Top 20 Test Automation mistakes - https://www.sahipro.com/mistakes

Sahi Pro is a High ROI Test Automation tool that makes your day easier

#browser #windows #tutorial #softwaretesting #testautomation #script #testcase #testingtools