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
#2
Not Solved
BP2.sync will work.
Reply
#3
Not Solved
Thanks for responding. I'll try.
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)