Sikuli performs incorrect operation

Asked by SIDDHARTH S NAYAK on 2019-01-06

Hello,

Sikuli: 1.1.2
Win 10: 64 bit

I have encountered a strange behaviour of my Sikuli . The programme was running good for the last 5 months. For the last 3 weeks i see the programme is not skiping the few lines of code and working.

Example:

My programme does the job of opening of google chrome, type the URL of an application, enter the required crediantials etc.

In my application page, i have 4 application which needs to be checked. Coding has been done in a top to down approach way.

Lets say, we have application A, B, C & D

Case1: Checks A and C application and ends the programme
Case2: Checks B & C and ends the programme

The programme is not performing the entire operation.

I am not surem if this is beacuse of the Sikuli 1.1.2. As it was working good for the last few months

Regards,
Siddharth
Bangalore, INDIA

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-01-06
Last reply:
2019-01-06
RaiMan (raimund-hocke) said : #1

This usually happens if something has changed in the browser content (usually images/GUI elements).

Images searched in your workflow are no longer found in the way, your workflow expects.

You have to check your workflow step by step and see what happens.

With version 1.1.4 the IDE has a new feature, that might help in such cases:
- run only one line
- run up to a line from beginning
- run from a line to the end
- run selected lines

This can be used to step through your script (https://sikulix-2014.readthedocs.io/en/latest/ide.html#run-only-parts-of-a-script)

Can you help with this problem?

Provide an answer of your own, or ask SIDDHARTH S NAYAK for more information if necessary.

To post a message you must log in.