Help with a photo array application

How to apply eValid to functional testing of web applications.

Help with a photo array application

Postby JasonL » Wed Sep 17, 2014 8:34 pm

Evening guys,

I've got this neat photo array that scrolls across, and what I want to do is make sure each photo matches the baseline.

Can eValid select each photo and if so ... how?

Thanks
JasonL
 
Posts: 1
Joined: Wed Sep 17, 2014 8:31 pm

Re: Help with a photo array application

Postby eValid » Thu Sep 18, 2014 4:41 pm

JasonL wrote:Evening guys,

I've got this neat photo array that scrolls across, and what I want to do is make sure each photo matches the baseline.

Can eValid select each photo and if so ... how?

Thanks


Evening JasonL. Thanks for posting.

Not sure if this is the correct answer because you didn't provide a lot of detail. But here is our best shot at an answer...

In the DOM, you'll see that that each photo is in some kind of slider, but the specific reference to each photo is in a separate element.

You can use the PageMap to discover which index is which for each photo of interest. Here's the manual page:

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

Then, use an IndexFindElement command to locate the source Index value for that that photo, based on a search for its external name (which you can get from the PageMap (which value you can get from the PageMap).

Here's that manual page:

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

Then do an IndexElementClick command on that element, and take the screenshot from there.

Hope that answers your question

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


Return to Desktop and Mobile Device Functional Testing

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