Browser seems to freeze loading page with UFT
Question ID: 105851
0
0

I’m trying to do a web test with Firefox and when the status in Firefox shows ‘Transferring data from’ it just sits there and doesn’t seem to ever respond and everything hangs up. I have to kill everything for it to finish loading.

Marked as spam
Posted by (Questions: 227, Answers: 22)
Asked on January 19, 2015 3:28 pm
68 views
Answers (1)
1
Private answer

HP actually has a KM article on this (KM00319238). It basically states that the browser may be constantly reloading a frame of sections of a page every X number of seconds which causes UFT's replay logic to cycle. The sync method normally used for web testing isn't effective here and makes everything appear to 'freeze'.

This can affect other browsers in addtion to Firefox.

In this unique case, you have to do things a little differently. They recommend inserting a stop command in the script where it will hang, like this:

Browser.Stop

They also suggest that sending an ESC key could help as well with a 'stuck' browser, such as:

Set WshShell = CreateObject(''WScript.Shell'')
WshShell.SendKeys ''{ESC}''
Set WshShell = Nothing

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on January 19, 2015 3:29 pm
EyeOnTesting

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

X
Scroll to Top