Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
‘General Run Error’ when trying to fetch URL in Browser Address Bar with DP
#1
Not Solved
Below is the code snippet:

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".
Reply


Messages In This Thread
‘General Run Error’ when trying to fetch URL in Browser Address Bar with DP - by sukhvinderh - 10-07-2011, 11:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  General run error when Exist fails msacks 1 1,678 02-08-2019, 02:12 AM
Last Post: Ankur
  Take Entire screen shot including scroll bar. venkatesh9032 0 1,774 12-26-2016, 06:14 PM
Last Post: venkatesh9032
  How to press the space bar with send keys method Hari Prasad 5 24,671 06-03-2016, 10:47 AM
Last Post: Vijayaragavan.thangam
  General Object Error(Find Object Error) akhandesh 1 3,428 02-24-2016, 01:05 PM
Last Post: sindhus
Rolleyes The test run cannot continue due to an unrecoverable error neerndg123 3 8,436 09-17-2015, 08:27 PM
Last Post: ananthakumarbe

Forum Jump:


Users browsing this thread: 1 Guest(s)