cancel
Showing results for 
Search instead for 
Did you mean: 

Help selecting dynamic item from a drop down Panel

Highlighted
Frequent Contributor

Help selecting dynamic item from a drop down Panel

Hi,

I've a Drop Down Panel with large selection of items and each itmes has checkbox next to it, and user can check multiple selection. 

I'm trying to check the first item from the drop down list and this is dynamic Text. Object identifier and object type is the same. It's the object label that changes. i'm just not sure how do i use the index to create the first item from the list. any suggestion will help

Thanks

10 REPLIES 10
Highlighted
Community Hero

Re: Help selecting dynamic item from a drop down Panel

Without seeing the properties of the object and / or it's parent we can't offer much help with just a screenshot.

 

If you could use the object browser and and take screenshots of all of the properties that would help. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
Highlighted
Frequent Contributor

Re: Help selecting dynamic item from a drop down Panel

object property screen shot is attached. i can get to the parent object but can't click the item because the item is dynamic,,,,, Thanks

Highlighted
Community Hero

Re: Help selecting dynamic item from a drop down Panel

Not seeing anything attached. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
Highlighted
Occasional Contributor

Re: Help selecting dynamic item from a drop down Panel

 

 

Working with dropdown lists

https://support.smartbear.com/testcomplete/docs/app-objects/specific-tasks/standard/combobox/drop-do...

 

TcxComboBox is a good one.

https://support.smartbear.com/testcomplete/docs/reference/user-forms/components/tcxcombobox.html

 

If you are scripting then it may be easier to just use the index value of the checkbox from the list. 

 

Highlighted
Frequent Contributor

Re: Help selecting dynamic item from a drop down Panel

can you please try now

Highlighted
Frequent Contributor

Re: Help selecting dynamic item from a drop down Panel

how do i find the Index Value?

Highlighted
Community Hero

Re: Help selecting dynamic item from a drop down Panel

What do the properties of your dropdown box look like? Usually they will have a ClickItem method. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
Highlighted
Frequent Contributor

Re: Help selecting dynamic item from a drop down Panel

proPofDropdown.PNG

Doesn't have a ClickItem Method

Method.PNG

Highlighted
Community Hero

Re: Help selecting dynamic item from a drop down Panel

Is all of the checkbox label dynamic or just portions of it. For example dose it always say Include all <X> item? If that is the case you could use FindChildEx with a wild carded value. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors