Thursday, July 10, 2008

Use of Windows Shell Script (WSH)

set WshShell = CreateObject("WScript.Shell")

WshShell.AppActivate Parameter("ipURL")

Browser("title:=Test.*").Page("title:=Test.*").Frame("title:=WebFrame.*").WebElement("WebElement").Click

WshShell.SendKeys "{DOWN}"

WshShell.SendKeys "{DOWN}"

WshShell.SendKeys "{DOWN}"

WshShell.SendKeys "{DOWN}"

No comments: