Showing results for 
Search instead for 
Did you mean: 

scroll a dropdown list

Regular Contributor

scroll a dropdown list

How can i scroll a dropdown list if there are more than 200 entries.
only 6 item shown on screen ... if i need to select 7th item then i need to scroll that dropdown ... and then i can choose that item
how can i solve it

Community Hero

I'm not 100% familiar with the particulars of mobile testing... but I know that for desktop and web testing, for a drop-down control, if it has the "ClickItem" method, you don't need to scroll before you click... you can call the "ClickItem" to click on the particular item and TestComplete will take care of any necessary scrollign.

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Regular Contributor

Hi tristaanogre,
also problem has been resolved by using smoothScrollToPosition() ... that helps to find item position in dropdown.
I tried to solve it by using ClickItem but it sometimes work and sometimes not.. I don't know what is exactly problem with ClickItem 


I have seen cases where a list is longer than the screen and depending on how it was developped, the items are not created (added to the tree) until you they are shown on screen (via scroll)!

Win10 / Server 2012 - Testing Delphi Application, Dynamic AX, Web, Mobile app, TC 12 and TestExecute
New Here?
Join us and watch the welcome video:
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file


How to execute remote test and obtain results via Test Runner REST API

Top Kudoed Authors