10-07-2011, 11:41 AM
Below is the code snippet:
This last line of code gives this error. Also tried the below variation but again getting the same error:
This code used to function properly before but all a of a sudden it started giving "General Run Error".
Code:
strBrowserTitle = Browser(“Index:=0″).GetROProperty(“title”)
strPageTitle = Browser(“Index:=0″).Page(“Index:=0″).GetROProperty(“title”)
strNewURL = Browser(“title:=”&strBrowserTitle&”").Page”title:=”&strPageTitle&”").GetROProperty(“url”)
This last line of code gives this error. Also tried the below variation but again getting the same error:
Code:
strNewURL = Browser(“title:=”&strBrowserTitle&”").Page”title:=”&strPageTitle&”").Object.URL
This code used to function properly before but all a of a sudden it started giving "General Run Error".