Text block recognition

4 posts, 0 answers
  1. Manjusha
    Manjusha avatar
    2 posts
    Member since:
    Apr 2015

    Posted 08 May 2015 Link to this post

    Hi,

     We are using Telerik automation framework integrated with visual studio. Even though we are giving correct property name for text block, We are not getting text block content for WPF application  We need to recognize text block. Could you please give the solution related to this requirement.

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 13 May 2015 Link to this post

    Hi Manjusha,

    In order to assist you best please send us a screen shot of the DOM tree with that text block and the code you are using for locating it.

    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
     
  3. Manjusha
    Manjusha avatar
    2 posts
    Member since:
    Apr 2015

    Posted 13 May 2015 in reply to Boyan Boev Link to this post

     Hi,

         Please find the DOM tree with the text block and the code screen shots.

     

    Thanks & Regards,

    Manjusha

  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 17 May 2015 Link to this post

    Hi Manjusha,

    Thank you for the screen shots.

    In order to assist you best I need further details.

    1. What is "ObjectRepository"? Where do you get this class from and how it is implemented.

    2. It this TextBlock in the main window of the application?

    3. Could you please try out this sample code which uses Applications class:

    Applications.YouApplication.PartiuclarWindow.Find.ByName("txb_DE_EvnelopeTitle");

    If the issue persists could you please send us your WPF application so we can review it and give you a solution.

    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