03-15-2008, 11:39 AM
HI sonia ,
Just check with the following method :
1. In file-->settings-->Run-->choose "Run only one iteration"
2.in the expert view, give the following code:
Sonia....I hope ur problem will be solved...
Just check with the following method :
1. In file-->settings-->Run-->choose "Run only one iteration"
2.in the expert view, give the following code:
Code:
Dim Row
DataTable.Import("E:\OFT\login.xls")
rcount=datatable.getrowcount
For i=1 to rcount
DataTable.SetCurrentRow(i)
SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe","","C:\Documents and Settings\SSharma","open"
Browser("Home").Page("Home").Sync
Browser("Home").Navigate "https://www.ITS Inc.org/#"
Browser("Home").Dialog("Security Information").WinButton("Yes").Click
Browser("Home").Page("ITS Inc,.").WebEdit("txtusername").Set DataTable("username", dtGlobalSheet)
Browser("Home").Page("ITS Inc.").WebEdit("txtpassword").SetSecure "8e9d06e4654024dbf48"
Browser("Home").Page("ITS Inc").Image("header$loginButton").FireEvent "onmouseover"
Browser("Home").Page("ITS Inc").Image("header$loginButton").Click 11,11
Browser("Home").Page("ITS Inc").Link("LOGOUT").Click
Browser("Home").Page("ITS Inc").Sync
Browser("Home").Close
Next
Sonia....I hope ur problem will be solved...