automationScript

How to handle SSL Error in chrome using UFT

Sometimes while workin on automation of an application, we face SSL error and it becomes hard to handle it at run time. In this article you will learn how to handle ssl error in chrome using vbscript and UFT.

To solve this issue we will leverage InsightObject feature of UFT and follow these steps: 

  1. Add Advanced button as an Insight Object in Object repository of UFT
  2. In code, We will first check if Advanced button object is available on page
Advanced Button Virtual object

 If found, we will click on it

We will click on the url(which is known to us) which is displayed after Proceed to

code given below.

Follow Us
Categories

Tags

APACHE code java jenkins selenium uft vbscript

Latest Posts
Want us to add
more code ?
5/5