Kendo dropdown

Ask general questions here.
User avatar
giuseppe.lacagnina
Posts: 113
Joined: Fri Sep 18, 2015 10:25 am
Location: Brunn am Gebirge, Vienna, Austria

Kendo dropdown

Post by giuseppe.lacagnina » Mon Apr 11, 2016 11:11 am

Hi.

I have to test an HTML application in which dropdowns have been implemented with some kendo objects. I am having difficulty in figuring out how to select a value from Ranorex.

The structure seems to be as follows. There is a <div> for the dropdown, with a series of <span>s inside one another. The items correspond to <span>s and the selected one has class="selected value".

What is the best way to choose the selected item from Ranorex?

Would it be possible to get all the <span>s corresponding to the items, cicle through them, remove this class leaving it untouched only for the desired item? Is there a better way?

Thanks!

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3945
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Kendo dropdown

Post by odklizec » Mon Apr 11, 2016 11:35 am

Hi,

Please post a Ranorex snapshot of the problematic element. Ideally, post snapshot both in collapsed and expanded state (i.e. two snapshots). Without snapshot, it's pretty hard to suggest something reliable.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

User avatar
giuseppe.lacagnina
Posts: 113
Joined: Fri Sep 18, 2015 10:25 am
Location: Brunn am Gebirge, Vienna, Austria

Re: Kendo dropdown

Post by giuseppe.lacagnina » Tue Apr 12, 2016 11:05 am

Thanks. It was not clear to me whether I was allowed to send the snapshot.
I have found a way to make it work differently.