Back navigation in IE with QTP
Question ID: 105223
0
0

I’m writing the code to check the broken link, every time after clicking the link, I need to go back to the previous page.

But Browser("CreationTime:= 0").navigate url and Browser("CreationTime:= 0").Back are not working .

Can I use send the keyboard event to back to the previous page ?

Marked as spam
Posted by (Questions: 227, Answers: 22)
Asked on January 28, 2014 3:32 pm
168 views
Answers (1)
1
Private answer

'The click method on the next line is used to bring the browser in focus

Browser(''CreationTime:= 0'').Page('''').WebEdit('''').Click
Set WshShell = CreateObject(''WScript.Shell'')
WshShell.SendKeys ''%{LEFT}''
Set WshShell = Nothing

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

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

X
Scroll to Top