cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to click on a ListItem

dsolis2
Occasional Contributor

Unable to click on a ListItem

I have a list object 'List(0)' mapped as 'List1'. The list object can contains ip to 20 ListItems. When I try to click on the ListItem, TC will click on the item below or above the item, but never in the specified item. To make sure I search and find the correct listItem name, I use a search string like this in the listItem name where 'contactID' is variable that contains the string I am searching for:



objPage.List1.ListItem("*_auto"&contact_ID&"_*").setFocus


Using .setFocus to test that at least it can select the correct ListItem, TC can highlight it, but when I use .Click,  TC clicks either below or above. Any ideas what is going on?
1 REPLY 1
YMinaev
Staff

RE: Unable to click on a ListItem

Hi,



Can you reproduce the problem, zip the project suite directory and send it to us? Also, what TC version, browser and OS are you using on the problematic machine?
------
Yuri
TestComplete Customer Care Engineer

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors