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

How to access Silverlight Pop-ups

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arvind
Top achievements
Rank 1
Arvind asked on 12 May 2011, 11:53 AM
Can anybody tell me how a Silverlight Pop-ups could be access as shown in attachment.

Expectation is :

Once that pop-up is reconized the Telerik, I can access Title of Pop-up, Buttons of Pop-up and Success message shown in Pop-up.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 16 May 2011, 07:06 PM
Hello Arvind,

I used the "MessageBox Dialog" on the following site to test this:
http://www.vectorlight.net/silverlight/demos/popup_dialogs.aspx

I was successfully able to craft a verification based on the popup title, button, and message.

The button and message verifications were easy; simply enable hover over highlighting, place the mouse over the desired element, and click either the TextBlock or Button blue nub.

The popup title was slightly more in-depth. I enabled hover over highlighting, placed the mouse on the title bar, and clicked the regular blue nub. I then chose "Locate in DOM." The "Rectangle Name" element was highlighted in the DOM. I highlighted "TextBlock" right below it, right clicked it, chose "Show Element Menu," and then "Build Verification." From the Sentence Verification Builder menu, I chose TextBlock from the Available Verifications. The Selected Sentence appeared with the Popup's title in it ("Error").

All the best,
Anthony
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
Arvind
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Share this question
or