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

How to validate the content of a textbox/ label/ dropdown combobox, etc

2 Answers 136 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jinesh Kurian
Top achievements
Rank 1
Jinesh Kurian asked on 19 May 2010, 04:38 AM
Hello,

I have a silverlight screen which has textboxes, comboboxes, grids, labels, etc. After performing a particular text, i need to validate if the testcase is a success. For example, after filling up a form in silverlight, it will show the content on a label in the same page. How do i read the content of this label? and how do i validate in other components like combobox, grid, etc????

Thanks,
Jinesh

2 Answers, 1 is accepted

Sort by
0
Missing User
answered on 19 May 2010, 06:48 PM
Hi Jinesh,

Thanks for the post and question. You can create verifications by highlighting any of the Silverlight page elements you mentioned, waiting for and clicking on one of the menu nubs that appear, then selecting one of the following from the Element Tool Menu:

- Quick Tasks: A quick list of verifications you can add to your test for that page element
- Build Verification: Build more extensive verifications based on WebUI's view of the element in the Page Dom
- View 3D: See the element and it's generate Available Verifications. Also, scroll to see the element's ancestors or descendants and see there Available Verifications as well.

Please see the attached screenshots for reference and here is verification in an older version of WebUI that is still mostly applicable. Also, here is a link to more documentation, quick starts and tutorial videos.

Let us know if you have any further questions on this.

Regards,
Nelson Sin
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Missing User
answered on 25 May 2010, 05:30 PM
Hello again Jinesh,

Just wanted to check back with you to see if you have any further questions on creating verifications for your Silverlight app.

All the best,
Nelson
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Jinesh Kurian
Top achievements
Rank 1
Answers by
Missing User
Share this question
or