how to refresh a webpage using test complete with VBscript
I am using Test Complete 3 with VBscript. And I am trying to refresh(Ctrl+F5) a web page after I made a request. Here are the code I use to request a web page from HTTPLoad:
taskname = "GeneralStream Run 3"
Set Task1 = LoadTesting.HTTPTask("gstrm0")
VUser.Task = Task1
Task1.Connection(0).Request(0).ResponseEventTrigge r = True
So far I've tried to call VUser.Run taskname twice and call Task1.Connection(0).Request(0).ResponseEventTrigge r = True. But none seem to work, (work as meaning the new request was made every time, while I wanted to refresh the page). So I was wondering if there is a event object I can use? Or is there a function I don't know of, but I should use?
Please Help!!!!Thanks in advance
Re: how to refresh a webpage using test complete with VBscript
If it's VBScript, I'd do the following:
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.AppActivate("Internet Explorer bla-bla")
I hope it'll help
QA Automation and Management Solutions