Recording A Pulldown List

How to apply eValid to functional testing of web applications.

Recording A Pulldown List

Postby 32mj » Thu Mar 25, 2010 4:18 pm

How do I get past a balky pulldown list? eValid doesn't record it out of the
box and I can't figure it out?
32mj
 
Posts: 1
Joined: Thu Mar 25, 2010 4:10 pm

Re: Recording A Pulldown List

Postby eValid » Thu Apr 15, 2010 11:11 am

32mj wrote:How do I get past a balky pulldown list? eValid doesn't record it out of the box and I can't figure it out?

You didn't give a lot of detail, so let's outline how you would do this in general using the eValid structural testing commands. (We assume you're familiar with how those work...).

(1) Locate the element in the DOM of the page where the pulldown list is seated using an IndexFindElement or IndexFindElementEx command. Note that sourceIndex value for later later use.

(2) Use the PageMap to navigate in the page up and down until you find the specific sourceIndex of the entry that you want to choose.

(3) Use and IndexMove command to move the current sourceIndex (from (1) above) to the target where you want the click to happen.

(4) Issue an ElementClick command to get the right response.

This structural command sequence will find the required element and click on the specific choice you want independent of where it is located on the page -- assuming that the location of the spcific target does not change relative to the location of the original pulldown.

Hope this resolves things for you.

The eValid Team
eValid
 
Posts: 2431
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