I hope your evaluation is going well.
Now, because Test Studio employs translators
for Telerik-Manufactured widgets - automation tasks will be made easier for these widgets. Unfortunately currently we don't have translators for all of the Kendo widgets and specifically we don't have a translator for the Kendo DropDownList. You will need to resort to a coded solution
in order to achieve the automation you're looking for.
Here's the breakdown:
1. The number of elements in it
- you will need to locate the list that contains the items from the DropDownList. Then you can add it into your project and you're ready to invoke all sorts of coded verifications for it. Here's how to do it:
This example shows you how to get all the items in code:
From there you're free to implement whatever verifications you want. If you need to fail a step from code - just throw any exception. Additionally any bit of information that is part of your project can be access in code (eg a datasource, extracted variables etc).
4. Would it be possible to get a video example of how to check that for one click, the drop down list is expanded and on another click it is collapsed? (on a standard Kendo drop down control)
This is doable without any code: while the dropdown is open: use Freeze Mode
and add a VerifyIsVisible verification on any item inside the dropdownlist. If on playback this step passes --> the dropdown is open. And you can also add a VerifyIsNotVisible in the same way to verify that the dropdown is then closed.
We encourage you to go ahead and log a Translator for the Kendo DropDownList control as a Feedback item here:
I hope this helps.