Can't verify text in a dialog

2 posts, 0 answers
  1. Andrea
    Andrea avatar
    16 posts
    Member since:
    Jul 2012

    Posted 15 Aug 2013 Link to this post

    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

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 20 Aug 2013 Link to this post

    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
Back to Top