This is a migrated thread and some comments may be shown as answers.

Drop Down Lists

5 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 03 Oct 2014, 02:31 PM
Hi,

I'm currently trying to validate the contents of a drop down list but I'm unsure on how to go about doing this (This is in Silverlight).  Any suggestions?

Cheers

5 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 08 Oct 2014, 09:05 AM
Hi Kevin,

You can perform a regular verification against a drop down item.

Please see this video for a demonstration.

Do you experience some issues with that?

Looking forward to hearing from you.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kevin
Top achievements
Rank 1
answered on 09 Oct 2014, 08:25 AM
Hi Boyan,

Thanks for the reply.

I've had a look at the demonstration video but when I repeat the same steps I got a comboBoxItem option not a RadComboboxItem.
The quick task menu only allows me to verify index, visible, collapsed, left and top positions.

I've continued to be able to write some tests using image verification for the moment but ideally I really need to match the text.

I look forward to your reply.

Kevin
0
Boyan Boev
Telerik team
answered on 14 Oct 2014, 08:48 AM
Hi Kevin,

Thank you for the additional information.

I have reproduced this issue and I will consult this with our devs.

I will update this ticket accordingly.


Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kevin
Top achievements
Rank 1
answered on 14 Oct 2014, 09:08 AM
Thank you

Kevin
0
Boyan Boev
Telerik team
answered on 14 Oct 2014, 11:15 AM
Hi Kevin,

I have logged a bug regarding this matter. You can track and vote for it here.

Meanwhile you can workaround this in a coded step. Add the item manually into the Element Explorer:

Assert.AreEqual<string>("testText", Pages.SilverlightApplication.YourSLapp.yourComBoxBox.Text);

Let me know if this helps.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Kevin
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or