Get Colour from Textblock

2 posts, 0 answers
  1. Adriane
    Adriane avatar
    28 posts
    Member since:
    Apr 2012

    Posted 06 Jun 2012 Link to this post

    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,
  2. Anthony
    Anthony avatar
    19 posts

    Posted 06 Jun 2012 Link to this post

    Hello Adriane,

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

    All the best,
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top