Re: [Sikuli-driver] [Question #709214]: script doesn't close after VNC (Java)

2024-02-06 Thread Davy Verbogt
Question #709214 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709214

Status: Needs information => Open

Davy Verbogt gave more information on the question:
With at the moment i use intelij i meant that i use intelij as my ide.

what i do is.

i connect to the VNC

VNCScreen vnc= VNCScreen.start(IP, Port, Pass, 10, 1);

vnc.wait(thing);  i wait so see a certain screen

vnc.write(user);
vnc.type(Key.ENTER); it selects a user

vnc.wait(thing2); waits to be logged it

vnc.click(thing3); clicks on a button

vnc.stop();

System.exit(0);


and it doesnt close. the IDE keeps the script runinng. 
if i dont use click. the script does close. as i had moment where it couldn't 
find the first thing and the script did exit.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #138419]: How to take a screenshot of a local folder's context menu?

2024-02-06 Thread MR HSNNN
Question #138419 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/138419

MR HSNNN posted a new comment:
Capturing a screenshot of a context menu, like the one that appears when you 
right-click a folder and select "copy," can pose challenges in Sikuli. 
To address this, you can introduce a brief delay before taking the screenshot 
to allow the context menu to fully appear. This can be achieved with the wait() 
function, specifying a short delay period such as one second. 
Additionally, instead of targeting just the "copy" item, consider capturing a 
slightly larger area that encompasses the entire context menu. This approach 
increases the likelihood of successfully capturing the "copy" item. By 
incorporating these strategies, you can improve the effectiveness of capturing 
context menus in Sikuli. You can also use snipping tools as well https://screenpixel.org/;>learn more

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #709214]: script doesn't close after VNC (Java)

2024-02-06 Thread RaiMan
Question #709214 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709214

Status: Open => Needs information

RaiMan requested more information:
Do you close the VNC session before ending the script?

--- At the moment i use Intelij 
I do not understand what that means.

Can you give an example flow with the substantial API calls?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #709217]: Automated testing

2024-02-06 Thread Abeed Chowdhury
New question #709217 on SikuliX:
https://answers.launchpad.net/sikuli/+question/709217

Hi, I am working on a project where I want to be able to take a screen 
recording of a randomized interaction with a GUI. The main goal is to capture a 
comprehensive range of possible user interactions with a GUI to visualize what 
users might see when interacting with a GUI. The reason this needs to be 
automated is that it needs to be done for many different GUI's. Is this 
something that can be achieved in Sikuli, have you given something like this 
any thought?

I apologize if my question is a little bit to broad, please any questions to 
for you to get a better idea

thanks very much!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #709214]: script doesn't close after VNC (Java)

2024-02-06 Thread Davy Verbogt
Question #709214 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709214

Description changed to:
I am using Sikulix to make some automated tests.
I am using version 2.0.5 the latest api

I need to connect to a pc with VNC to test there. 
That all works but when the script reaches the end it never stops running.
Also if i call System.exit(0) it never stops.

At the moment i use Intelij and have to stop the scripts by hand.
If i dont run any click of wait methodes and only connect. the System.exit does 
actualy close the script.

Am i doing something wrong?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #709214]: script doesn't close after VNC (Java)

2024-02-06 Thread Davy Verbogt
New question #709214 on SikuliX:
https://answers.launchpad.net/sikuli/+question/709214

I am using Sikulix to make some automated tests.

I need to connect to a pc with VNC to test there. 
That all works but when the script reaches the end it never stops running.
Also if i call System.exit(0) it never stops.

At the moment i use Intelij and have to stop the scripts by hand.
If i dont run any click of wait methodes and only connect. the System.exit does 
actualy close the script.

Am i doing something wrong?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp