rushikesh
8 years agoContributor
Problem when checking drop down options of a Combo-box
In tested application there is combo-box option.Inside this combo-box there are 21 drop down options. I want to check if number of options present are 21.
Below is code I am using.
var list = ToolSelectFilter.ComboBox_ToolType;
Log.Message("No of tools are " +list.wItemCount);
Problem I am facing is that when code is executed Test Complete drop downs the list of combo-box 21 times to check all the options. This happens so fast (almost within 5 seconds) that my tested application crashes.
Is there another way to do this ?
Or
Is there a way to slow down execution of this code ?