Can eValid handle dynamic tags

Applying eValid to AJAX applications that require advanced DOM-based methods.

Can eValid handle dynamic tags

Postby BDobbins » Mon Dec 21, 2015 3:50 pm

Afternoon.

How does eValid handle locating a dynamic tag, like that from GWT and other web page frameworks, and then click on it.

Thanks
BDobbins
 
Posts: 1
Joined: Mon Dec 21, 2015 3:43 pm

Re: Can eValid handle dynamic tags

Postby eValid » Tue Dec 22, 2015 9:27 am

BDobbins wrote:Afternoon.

How does eValid handle locating a dynamic tag, like that from GWT and other web page frameworks, and then click on it.

Thanks


Very good question BDobbins.

Indeed, dynamically changing pages can be quite troublesome.

You can't rely on simple "record it from life" because the recording will be based on a page structure that will have changed at playback time.

You have to this using the structual commands.

First, here is a description of how eValid looks into your page:

http://www.e-valid.com/Products/Documen ... cture.html

Next, you have to locate some kind of "fixed point" that identifies the element and which is immune to the effects of AJAX. That's usually fairly easy to do...with a little diggine with the PageMap feature:

http://www.e-valid.com/Products/Documen ... p.gui.html

Now, armed with the data about where you want to send the click event all you need to do is tell eValid to go to the correct event, i.e. the desired sourceIndex value, and issue the click with a mouse-down followed by a follow-link command.

Here are the commands to that do the job:

http://www.e-valid.com/Products/Documen ... ple13.html

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


Return to AJAX Applications & DOM Processing

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