06-03-2015, 10:48 AM
I am on a webpage where clicking on a link opens a new webpage in another tab of the browser.
However opening this new tab may take more time, so I want to sync it to load the page completely and then perform any action.
For obvious reasons the Browser and Page title will change.
so which page should I sync to attain the desired results.
Eg:
Will bp1.sync work or I'll hv to use bp2.sync?
This concept is confusing me, any help will be appreciated.
However opening this new tab may take more time, so I want to sync it to load the page completely and then perform any action.
For obvious reasons the Browser and Page title will change.
so which page should I sync to attain the desired results.
Eg:
Code:
Set bp1=Browser("title:=XX").Page("title:=XX")
Set bp2=Browser("title:=YY").Page("title:=YY")
bp1.WebElement("innerText:=ZZ").Click
bp1.sync
Will bp1.sync work or I'll hv to use bp2.sync?
This concept is confusing me, any help will be appreciated.