05-12-2009, 02:22 PM
hi friends,
While running the script, at a specific test scenario an IE error pops up and my browser just hangs up.
I tried the following things to fix this error:
1) Increased the size of Temporary Internet Files
2) Added 'webutil.deletecookies'.
But its of no use.
Can any 1 tell me how to handel this IE error.
Below is my script:
While running the script, at a specific test scenario an IE error pops up and my browser just hangs up.
I tried the following things to fix this error:
1) Increased the size of Temporary Internet Files
2) Added 'webutil.deletecookies'.
But its of no use.
Can any 1 tell me how to handel this IE error.
Below is my script:
Code:
With Browser(ManageReportsBrowser).Page(ManageReportsPage)
.WebEdit("name:=SEARCH_NAME", "class:=input_data").Set DataTable.Value("NewReportName", dtLocalSheet)
.Link("name:=Go!").Click
.Image("file name:=run.gif", "alt:=Run Report").Click
End With
webutil.deletecookies
With Browser(ReportsBrowser).Page(ReportsPage)
.WebEdit("name:=SEARCH_COND", "html tag:=INPUT").Set "(Id = 10010)"
.Link("name:=Go!", "class:=msgo").Click
.Link("name:=10010", "html tag:=A").Click
End With