Click text (wrong text)

I use activity Click Text for click 13.
But bot click 113 not 13

image

Please guide me about it.

Hi,

If 113 always exists above 13 and there is no data contains 13, can you try to set 2 at Occurrence property?

or

If you can select the cell of 13 as uielement, can you try Click activity instead of ClickText?

Regards,

@Yoichi Can’t use click activity (it indicate whole screen).

number 13, It sample number

My flow number change always as below.

image

Please guide me about it.

Hi,

Alright. For now, can you try the following steps?

First, run ScreenScraping by Native mode, GetWordInfo on.

img20210806-6

This return words in area and coordinate for each word.
So next we can choose either one of the following.

  1. Count target string occurrence and check what number is the target. Then, set it in Occurrence proerty of ClickText activity.

  2. Check coordinate of target string and set Cursor Position - Offset property of Click activity

Regards,

@Yoichi I don’t understand.

How to ?

  1. Count target string occurrence and check what number is the target. Then, set it in Occurrence proerty of ClickText activity.
  2. Check coordinate of target string and set Cursor Position - Offset property of Click activity

Hi @Maria99

Follow my Step below

  1. Use click activity → In properties → click selector

  2. Click Uiexplorer
    image

  3. Indicate the element what you want? After that Click text and create a variable

  1. This will select the value in the “Default”

Hope it will work

Thanks and Regards
Gokul

1 Like

@Gokul001 I use UI Explorer but can indicate whole screen (not only text)

image

How to solve it?

Hi,

The following is a sample of 2nd way.

Sequence2.xaml (11.8 KB)

Hope this helps you.

Regards,

@Yoichi It click wrong row.

targetString = 13
but it click 108

I think new solution but I don’t know how to?
If I input number and click find.
It to target rows and highlight blue , If I want to click in blue highlight?

image

Please guide me for solve it?

Hi,

Can you share your workflow file, if possible?

Regards,

@Yoichi yes,sure.

test2.xaml (14.4 KB)

Hi,

Thank you for sharing.

Can you modify as the following?

First, Click “Indicate on screen” of Click Activity and select whole desktop (not your application)
The selector will be as the following, for example.

"<wnd app='explorer.exe' cls='Progman' title='Program Manager' /><wnd cls='SysListView32' title='FolderView' />"

Then, modify CursorPosition- OffsetX, OffsetY and Position as the following image

Regards,

1 Like

@Yoichi Good , It work correctly.

Thank you for help me for solve it.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.