# Incorrect text reading from VNC

**URL:** <https://forums.eggplantsoftware.com/t/incorrect-text-reading-from-vnc/8653>\
**Category:** Uncategorized\
**Created:** [November 7, 2023, 5:35am UTC](https://forums.eggplantsoftware.com/t/incorrect-text-reading-from-vnc/8653 "2023-11-07T05:35:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siti](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/s/f0a364/32.png) [@Siti](https://forums.eggplantsoftware.com/u/Siti)\
**Post date:** [November 7, 2023, 5:35am UTC](https://forums.eggplantsoftware.com/t/incorrect-text-reading-from-vnc/8653/1 "2023-11-07T05:35:47Z")

</div>

Hello Expert,

I am trying to validate desktop functionality.

There is a text that I want to validate and compare it with my test specification. For example, in my test specification, I have “ **release\_number: 1.0.0.1** ”

When comparing the release number with OCR- imageFound or via “Pattern”, instead of reading it as “1.0.0.1”, the eggplant read it as “1.O.O.1”. This validation occur when validate using VNC. In my use case, I must use VNC to validate the test.

Could you advise?

Thank you  
Best Regards,  
Siti

---

<div class="post-metadata">

**Author:** ![Karsten](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/k/e47c2d/32.png) [@Karsten](https://forums.eggplantsoftware.com/u/Karsten)\
**Post date:** [November 7, 2023, 9:43am UTC](https://forums.eggplantsoftware.com/t/incorrect-text-reading-from-vnc/8653/2 "2023-11-07T09:43:30Z")

</div>

Hey Siti,

You can search for a pattern:

```auto
set mypattern to <1 digit, period,1 digit, period, 1 digit, period, 1 digit> // will find e.g. 1.0.0.1, 5.5.6.7 
put imagefound(text:mypattern) // true if its found any match

```

Here is the link ot the sensetalk patterns which is based on regular expressions but more like you would “say” it.  
If you like Regular expression you can print the [sensetalk pattern](https://docs.eggplantsoftware.com/studio/stk-pattern-language/#pattern)

```auto
put mypattern // \d{1}\.\d{1}\.\d{1}\.\d{1}

```

Cheers,  
Karsten

---

<div class="post-metadata">

**Author:** ![Siti](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/s/f0a364/32.png) [@Siti](https://forums.eggplantsoftware.com/u/Siti)\
**Post date:** [November 9, 2023, 1:19am UTC](https://forums.eggplantsoftware.com/t/incorrect-text-reading-from-vnc/8653/3 "2023-11-09T01:19:04Z")

</div>

Hello Karsten,

Thank you for the replied. Will give it a try.

Regards,  
Siti
