Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Sync on string or inStr
#1
Solved: 10 Years, 9 Months, 2 Weeks ago Smile 
If I am doing a Sync point, and am looking for the outer text but only a part of the text string; Do I just place that part in double-quotes?

As in the string “Current Account: 26678625-DAVIS CHARLES M”, I only want to sync on 26678625 before the script continues.

Do I:
Code:
Browser("WisdomLogin").Page("Wisdom DEV_3").WebElement("Current Household:  None").WaitProperty "outertext", "26678625”, 5000

Or must I add a wild card?

Code:
Browser("WisdomLogin").Page("Wisdom DEV_3").WebElement("Current Household:  None").WaitProperty "outertext", "*26678625*”, 5000

Or how do I use inStr?

Lorena ;-)
Reply


Messages In This Thread
How to Sync on string or inStr - by mv8167 - 11-20-2010, 03:02 AM
RE: How to Sync on string or inStr - by PrabhatN - 11-20-2010, 03:15 PM
RE: How to Sync on string or inStr - by mv8167 - 04-20-2011, 12:45 AM
RE: How to Sync on string or inStr - by Jay - 04-20-2011, 03:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Cross Browser Sync Not Working geodude 0 1,865 04-07-2017, 08:43 AM
Last Post: geodude
  How to use sync function 22sumit 2 3,222 06-16-2015, 06:27 PM
Last Post: 22sumit
  Replace a string in a word document with another string rekha.naik 8 15,041 11-14-2013, 12:58 PM
Last Post: pranikgarg
Wink Webedit Javascript sync issue praveenzack 3 3,092 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,303 09-14-2012, 06:53 PM
Last Post: mansis

Forum Jump:


Users browsing this thread: 1 Guest(s)