Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use sync function
#1
Not Solved
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:
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.
Reply


Messages In This Thread
How to use sync function - by 22sumit - 06-03-2015, 10:48 AM
RE: How to use sync function - by babu123 - 06-03-2015, 09:35 PM
RE: How to use sync function - by 22sumit - 06-16-2015, 06:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Cross Browser Sync Not Working geodude 0 2,281 04-07-2017, 08:43 AM
Last Post: geodude
  Calling a function in a Test Script from a function library anupam4j 3 6,867 06-26-2015, 12:31 AM
Last Post: babu123
Wink Webedit Javascript sync issue praveenzack 3 3,813 10-10-2012, 06:25 PM
Last Post: praveenzack
  .Sync is NOT waiting for browser to complete current navigation.. can anyone help? mansis 4 5,251 09-14-2012, 06:53 PM
Last Post: mansis
  Sync points fran101 2 3,673 07-04-2012, 03:17 PM
Last Post: Shridevi.Salagare

Forum Jump:


Users browsing this thread: 1 Guest(s)