Can’t navigate to web page in IE
Question ID: 105222
0
0

I need to test the scenario when I type xyz.com for the web page to load https://www.xyz.com/webportal/xzy/index.html.

I use code :

SystemUtil.Run "Explorer.exe","xyz.com", and get Run Time Error , IE can’t load the URL that Not contain "Http" .

How to tell IE to type a xyz.com and load a page using UFT?

Marked as spam
Posted by (Questions: 4, Answers: 0)
Asked on January 28, 2014 3:27 pm
42 views
Answers (1)
1
Private answer

This code should work for what you are trying to do. It uses the IE application object instead of the SystemUtil.Run step:

Set IE = CreateObject(''InternetExplorer.Application'')

IE.Visible = True

IE.Navigate ''xyz.com''

Set IE = Nothing

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on January 28, 2014 3:28 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top