Chapter 2. Testing Web Pages

In this chapter, we will cover:

  • Checking whether page links are broken
  • Deleting cookies
  • Managing multiple browser windows
  • Handling pop-up dialogs
  • Downloading a file using XMLHttp
  • Checking whether a website is up
  • Uploading a file using FTP
  • Identifying elements based on anchors
  • Synchronizing a test with a web page loading
  • Accessing web elements through DOM

Introduction

Unlike desktop (client) applications, the Web poses specific challenges that go beyond the local machine. For instance, a web page may not display the intended content correctly with regard to content, format, layout, and even functionality, due to missing or corrupted resources located on a remote server. An application server, a database server, a Cascading Style ...

Get Advanced UFT 12 for Test Engineers Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.