What is the difference between MatchString and SyncOnText?

General discussion about eValid, its characteristis and applications.

What is the difference between MatchString and SyncOnText?

Postby ework » Tue Aug 23, 2011 11:59 am

What is the difference between MatchString and SyncOnText?
ework
 
Posts: 1
Joined: Tue Aug 23, 2011 11:56 am

Re: What is the difference between MatchString and SyncOnTex

Postby eValid » Wed Aug 24, 2011 6:36 am

ework wrote:What is the difference between MatchString and SyncOnText?
There is quite a bit of difference between these two commands.

MatchString, and its companion, MatchNotString, use the DOM to search the HTML of the page to find a match [or not] for a given string. This match is accepted [or not] for any string inside the page, whether visible or not. This is very powerful, but also can be missleading when a string is found that is buried in the HTML and turns out not to be the one you want.

On the other hand, SyncOnText looks on the visible text of the page for a match to the user-specified string. If it doesn't find it, the command waits the preset amount of time (you can specify this in the Settings) and then tries again. This continues until you have achieve synchronization -- VERY important for AJAX applications -- or until the synchronization loop times out.

eValid Support
eValid
 
Posts: 2396
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to General Solution Topics

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons