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

Can't verify text in a dialog

1 Answer 5 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrea
Top achievements
Rank 1
Andrea asked on 15 Aug 2013, 01:51 PM
Hi,

I am unable to retrieve the text from a dialog. I've tried the suggestion in http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/html/verify-dialog-text.aspx and I've  tried this.Window.GetText(). I've also tried manually iterating through each window and retrieving it's caption but no luck. The most text I can capture is the title of the dialog and text on the buttons.

It's a standard WPF application I'm automating against.

Using Testing Framework: 2012.2.1527.0.

Thanks,
Andrea

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 20 Aug 2013, 01:33 PM
Hi Andrea,

Thank you for contacting us.

The article you have provided is for Internet Explorer only, not for WPF.

In order to help you best we need to know what kind of control is this window.

1. Please send us a screen shot of the DOM structure where the control is.

2. If it is possible send us the application or a sample demo which has this kind of window.

Hope to hear from you soon.

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Andrea
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or