Post new topic Reply to topic  [ 2 posts ] 

Board index : Dom : DOM Processing

Author Message
 Post subject: Constant ID Tags
PostPosted: Mon Jun 21, 2010 4:57 pm 

Joined: Mon Jun 21, 2010 4:19 pm
Posts: 1
I want to synchronize on a particular structure on a page, and I don't have constant ID tags to do that with. What do you suggest.


Back to top
 Profile  
 
 Post subject: Re: Constant ID Tags
PostPosted: Tue Jun 22, 2010 4:27 pm 

Joined: Tue Jan 01, 2008 1:48 pm
Posts: 302
Location: USA
forpro wrote:
I want to synchronize on a particular structure on a page, and I don't have constant ID tags to do that with. What do you suggest.

As you have found out, ID tags are a very convenient way to "pivot" synchronization commands in eValid. But that's not much good when the values change. We know of some web application construction suites that acutally assign new values to every ID tag after every change!

OK, without an ID tag then the challenge is to find (a) some DOM element property on that page (preferably on that element where you'll be taking action) that DOESN'T change. We've found that sometimes invisible text or other user assigned values will serve equally as well as constant ID tags.

Or, (b) you have to find some structural feature of the page that is known not to vary over time. For example, it could be that you pivot on the third entry in the second table on the first box. Or something like that.

In that case you use eValid structural commands to find (i) the first box, and then from there (ii) the second table and then from there (iii) the third entry in that table.

We've had to do this in a couple of cases and while it is tedious to set up the script that results works perfectly.

eValid Support


Back to top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Board index : Dom : DOM Processing


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.