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

Text block recognition

3 Answers 15 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Manjusha
Top achievements
Rank 1
Manjusha asked on 08 May 2015, 07:30 AM

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.

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 13 May 2015, 05:39 AM
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
 
0
Manjusha
Top achievements
Rank 1
answered on 13 May 2015, 05:58 AM

 Hi,

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

 

Thanks & Regards,

Manjusha

0
Boyan Boev
Telerik team
answered on 17 May 2015, 03:51 PM
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
 
Tags
General Discussions
Asked by
Manjusha
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Manjusha
Top achievements
Rank 1
Share this question
or