[2.0.5] Text click issue --- to be checked

Asked by michele scarpa

Hello

thank you for this great package!
I just tried to click on a text available using IDE 2.0.5 jython setup in a word document:

click("Installation")
click("other")
click("Test")

it works with "Installation" but not with other words:
[error] ImagePath: find: not there: Installation.png
[log] CLICK on L[656,422]@S(0) (550 msec)
[error] ImagePath: find: not there: other.png
[error] script [ test_sikul ] stopped with error in line 2
[error] FindFailed ( other as text )
[error] --- Traceback --- error source first
line: module ( function ) statement
2: main ( <module> ) click("other")
[error] --- Traceback --- end --------------

I clean up as much as possible the page and in the end I just left:
"
Test

Installation

other"

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
michele scarpa (kellesc) said :
#1

it worked adding:
Region(0,0,1920,1080).text()
click("Installation")
click("other")
click("Test")

Revision history for this message
Chetan (cshamdas) said :
#2

Hi @raiman
what is the usage or purpose for specifically adding
Region(0,0,1920,1080).text()
is this required?

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
RaiMan (raimund-hocke) said :
#4

have to check.

Can you help with this problem?

Provide an answer of your own, or ask michele scarpa for more information if necessary.

To post a message you must log in.