fbpx

Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Cannot get text from certain colored text

Cannot get text from certain colored text

Home Forums ZAPTEST Old Posts Cannot get text from certain colored text

  • This topic has 2 replies, 2 voices, and was last updated 8 years ago by Barbara Jackson.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30851
    Barbara Jackson
    Participant

      Hello ZAP,

      We’ve followed steps in different posts so ZAPTEST will be able to get the text of certain very light-grayed text in our application, but without much of a success:
      Do you have other workarounds for such issue?

      Thanks

      #30852
      Sasha ZAP
      Moderator

        Hello BarbJack,

        Thank you for your question.

        After understanding from other clients of ours that the common objects’ recognition (Locating the objects by ZAPTEST) methods do not apply for such text as yours, in the latest ZAPTEST version (v15.1.20, which was not published yet) there is a new feature which solves such issue – The steps to use this feature are:
        1. Get the closest recognized object to the problematic text object and add it to the ZAPTEST OR (Object Repository).
        2. Add the problematic text object as an image object to the ZAPTEST OR, and assign it as Relative object to the first added recognized object.
        3. Set the color of the problematic text object as close as possible to its real visible color (Using the color picker) and set the Text Color Tolerance around 30-40.
        4. The new added feature in ZAPTEST v15.1.20 is the “ReplaceColor” object’s property which by changing it to “True” (its default is “False”) ZAPTEST locates the problematic text object and able now to read (Get) its text.
        5. If the text is not captured properly you can change the Text Color Tolerance to different values until the text will be captured properly.

        Please contact ZAP for further help.

        Thanks,
        Sasha

        #30853
        Barbara Jackson
        Participant

          Thank you very much Sasha, we will use this new version’s feature and let you know if it did not help.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.