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

Get Colour from Textblock

1 Answer 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adriane
Top achievements
Rank 1
Adriane asked on 06 Jun 2012, 03:49 PM
I want to verify in a step, that the forgroundcolor in a silverlight application textblock is orange.
I cannot find the Property color or similar to this in the verify box.

How can I access the color of a textblock in Silverlight via Teststudio or via code?

Best regards,
Adriane

1 Answer, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 06 Jun 2012, 07:27 PM
Hello Adriane,

Verifying colors in Silverlight requires a coded step. See this code sample article for an example.

All the best,
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Adriane
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Share this question
or