Solved
Forum Discussion
SriniG
11 years agoContributor
Hi Helen Kosova,
Thankyou for the information. is ther any way to use only "*" like if you check for different versions of IE we will use index numbers to coresponding versions are browsers.
in that way is there any way to use only "*" without passing URL buy activating the page and then to acces the page.
i'm enabling the page in this way to get the URL from the coresponding window.
Dim window
window = Sys.Browser().FindAllChildren("ObjectType", "BrowserWindow")
Call Log.Message("Number of opened browser windows: " & (UBound(window) + 1))
set page = sys.Browser("iexplore").Page("*")
call window(0).Click
log.message(Page.locationURL)
call window(1).Click
log.message(Page.locationURL)
but locationURL property is not available.
plz let me know if anything wrong in this.
Thank you
Thankyou for the information. is ther any way to use only "*" like if you check for different versions of IE we will use index numbers to coresponding versions are browsers.
in that way is there any way to use only "*" without passing URL buy activating the page and then to acces the page.
i'm enabling the page in this way to get the URL from the coresponding window.
Dim window
window = Sys.Browser().FindAllChildren("ObjectType", "BrowserWindow")
Call Log.Message("Number of opened browser windows: " & (UBound(window) + 1))
set page = sys.Browser("iexplore").Page("*")
call window(0).Click
log.message(Page.locationURL)
call window(1).Click
log.message(Page.locationURL)
but locationURL property is not available.
plz let me know if anything wrong in this.
Thank you