Print Page | Close Window

Error with link object

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: QuickTest Pro @ OneStopTesting
Forum Discription: QuickTest Pro is a fresh approach to automated software and application testing that addresses testing needs of both business analysts and Quality Assurance professionals.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=927
Printed Date: 23Jun2024 at 1:53am


Topic: Error with link object
Posted By: adela
Subject: Error with link object
Date Posted: 25Apr2007 at 4:27am
Hi,

I am getting the following error when I run the below script:

"Cannot find the "Link" object's parent "Page" (class Page). Verify that parent properties match an object currently displayed in your application."

Dim IE
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = true
IE.Navigate("http://www.google.com")
Browser("name:=Google").Page("name:=Google").Link("text:=Sign in","html tag:=A").Click



Print Page | Close Window