Re: [Sikuli-driver] [Question #690970]: s.type() function sometimes does not work properly

2020-05-26 Thread Karan Joshi
Question #690970 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690970

Karan Joshi posted a new comment:
Thank you for the quick response. I will check it.

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

___
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 #690970]: s.type() function sometimes does not work properly

2020-05-25 Thread Karan Joshi
New question #690970 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690970

Hello RaiMan, 
I am using sikuli from last 3 months. However, I am facing 
an issue regarding sikuli type() function. It works perfectly 10 out of 6-7 
times but sometimes it skip first character. I don't know what's going wrong.
For example, s.type("Hello") turns into "ello" .
And as I told you this does not happen always. 
So, can you please help me about what should I do so that it always work 
properly.

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

___
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 #690161]: getting FindFailed error in headless mode

2020-05-14 Thread Karan Joshi
Question #690161 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690161

Status: Answered => Open

Karan Joshi is still having a problem:
Hi RaiMan, I am able to get location of element from screenshot .
But the location I am getting from the screenshot is different from the actual 
location of element on browser.
Actual location : (8,8)
Location getting from screenshot : ( 82,33 ) 

Can you please help me, how to solve this issue ?

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

___
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 #690161]: getting FindFailed error in headless mode

2020-05-05 Thread Karan Joshi
Question #690161 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690161

Status: Answered => Solved

Karan Joshi confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

___
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 #690161]: getting FindFailed error in headless mode

2020-05-05 Thread Karan Joshi
Question #690161 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690161

Status: Solved => Open

Karan Joshi is still having a problem:
Hi RaiMan, as in one of the above conversation  you said to use selenium click 
feature.
But, this is not going to help in my case cause I want to automate citrix 
application which is running in background.
And selenium click feature does not work in citrix application. 
I have tried Java Robot class too but it didn't work in background.

So, do you know any other way to click in an application at a particular
location ( Application in running in background  ) ??

Thanks

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

___
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 #690161]: getting FindFailed error in headless mode

2020-04-30 Thread Karan Joshi
Question #690161 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690161

Status: Answered => Open

Karan Joshi is still having a problem:
Hi RaiMan, Thanks for the response !

RaiMan : As I understand, it is possible to create a screenshot using Selenium 
features in headless mode.
Karan : As per your above statement, I have taken Screenshot and I have image 
of target object whose location I want.

RaiMan : You could use this shot, to find your target in it and calculate the 
click location.
Karan : In headless mode, I am unable to find location of target object. Can 
you please suggest, how to get location of target object?
(With the help of screenshot and image of target object, is it possible to get 
location without opening any window using sikulix (headless)??)

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

___
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 #690161]: getting FindFailed error in headless mode

2020-04-28 Thread Karan Joshi
Question #690161 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690161

Karan Joshi gave more information on the question:
Hello RaiMan, above issue can be solved if it is possible to configure
sikulix ( object of Screen class  ) with selenium webdriver.

This is my code without headless mode which is executing without any sort of 
error ( Browser is visibile ) :
Screen s = new Screen();
System.setProperty("webdriver.gecko.driver","geckodriver");
FirefoxDriver driver = new FirefoxDriver();
driver.get(URL);
// then performing some action using sikuli ( such as detect 
object then click on )

When it comes to headless mode, code slightly changes as we need to pass
arguments (This makes driver to open browser in background):

Screen s = new Screen();
System.setProperty("webdriver.gecko.driver","geckodriver");
FirefoxOptions options = new FirefoxOptions();
options.addArguments("--headless");
FirefoxDriver driver = new FirefoxDriver(options);
driver.get(URL);
// then performing some action using sikuli ( such as detect 
object then click on )

In the second scenario,  browser is running in background(i.e. We can't see it 
on screen ) but can be accessed by selenium web driver.
 
So, is it possible to configure sikuli with selenium web driver?? Cause, I did 
not get any way to configure it.
If it is, then it can help browser to execute in headless mode.
Thank you

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

___
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 #690161]: getting FindFailed error in headless mode

2020-04-27 Thread Karan Joshi
Question #690161 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690161

Status: Needs information => Open

Karan Joshi gave more information on the question:

Hi RaiMan, thanks for the response. 
Following are the information, in case if you want more feel free to ask.

System :
Windows 10 pro
64-bit operating system, x-64 based processor

Java :
openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.2+8)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.2+8, mixed mode, sharing)

Sikulix Version:
I am using Sikuli from maven dependency with following version 
sikulixapi-2.0.4.jar

About headless mode :
- I want to open chrome browser and perform automation on citrix application.
- I am using selenium webdriver to open the browser and then with the help of 
sikuli,want to perform object detection followed by some particular action ( 
such as click, hover, type ). 
- All this stuff is perfectly running when browser is open on monitor but I 
want this task to run in background ( browser will not open on monitor ).
- Selenium web driver provides a way to open browser in background.
- However, when i am trying to running in this scenario sikuli is not detecting 
object.
- I have taken screenshot while browser running in backgound and it seems 
exactly as normal browser ( every GUI element are visible ).
- I have tried this solution too 
(https://stackoverflow.com/questions/26032706/how-to-get-sikuli-working-in-headless-mode
 ) but it did not worked.
- So, can you please help me to find solution, cause I have explored everything 
about it but unable to find any solution which worked.

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

___
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 #690161]: getting FindFailed error in headless mode

2020-04-24 Thread Karan Joshi
New question #690161 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690161

Hello, I am using Sikulixapi jar in selenium using java. Using Selenium 
WebDriver I am able to run perfectly without headless mode, but in case of 
headless mode, I am getting error as FindFailed.
I am taking screenshot of browser in headless mode and it seems exactly same as 
normal browser (evey GUI element are perfectly on their place).
Can anyone please help me ??
I am sorry if I am missing anything

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

___
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 #413879]: Sikuli running on a Virtual Machine (VM)

2016-12-26 Thread Karan Juneja
New question #413879 on Sikuli:
https://answers.launchpad.net/sikuli/+question/413879

Hi,

I am currently running a script on Sikuli on a Virtual Machine(VM). Problem I 
am facing is that whenever I minimize my VM, the script breaks. 

Is there a way such that the script still runs on VM even if its is minimized? 

Is there a setting inbuilt in Sikuli when can help my model from breaking?

Thanks
Karan

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

___
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 #304458]: When we install Sikuli whether Lib folder will automatically created? or do we need to create it?

2016-07-28 Thread Karan
Question #304458 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/304458

Status: Answered => Solved

Karan confirmed that the question is solved:
Thanks  RaiMen,

My problem got solved after executing the below command:

 jar xf jar-file

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

___
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 #304458]: When we install Sikuli whether Lib folder will automatically created? or do we need to create it?

2016-07-28 Thread Karan
Question #304458 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/304458

Karan confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

___
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 #304458]: When we install Sikuli whether Lib folder will automatically created? or do we need to create it?

2016-07-28 Thread Karan
Question #304458 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/304458

Status: Answered => Open

Karan is still having a problem:
Sorry RaiMen,

Even after following the above steps.. I could not see the Lib created.

Thanks,
Karan Rasur

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

___
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 #304458]: When we install Sikuli whether Lib folder will automatically created? or do we need to create it?

2016-07-27 Thread Karan
Question #304458 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/304458

Status: Answered => Open

Karan is still having a problem:
Hi RaiMen,

Thanks for the reply.

Yes, I have gone through the above links but i did not info about Lib
folder.

I am using Sikuli 1.1.0 and I have not Lib folder under Sikulix folder. It have 
seen only the below files.
1. runsikulix.cmd
2. sikulix.jar
3. SikuliX-1.1.0-SetupLog.txt
4. sikulixapi.jar.

And under the SikuliAPPDATA, the following folders are created:

1. Extensions.
2. SikulixDownloads
3. SikulixDownloads_201510061722.
4. SikulixLibs_201510051707
5. SikulixStore

But I need Lib folder.


In 1.1.0 the Lib folder will not create automatically? Do you want me to 
upgrade to 1.1.1.


Thanks,
Karan Rasur

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

___
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 #304458]: When we install Sikuli whether Lib folder will automatically created? or do we need to create it?

2016-07-27 Thread Karan
New question #304458 on Sikuli:
https://answers.launchpad.net/sikuli/+question/304458

Hi RaiMan,


I am new user to SikuliX, I have done the set-up on one of the PC and it is 
working fine.
Working with Jython and Robot framework. 

Thanks for all the support provided in the documents and as well answer to all 
questions.

My Question is :
Want to do same set-up on other PC, but I did not find the sikuli folder under: 
SikulixAppData->Lib after successful installation of Sikulix.

When we install Sikulix, The Lib folder is missing in the SikulixAppData:

Can you please help me to create this folder. I want this folder as I need to 
copy the Lib->sikuli content to Jython->Lib.

Thanks in advance..!
Karan Rasur




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

___
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 #234673]: Sikuli doesn't recognize any images while running!

2013-08-26 Thread Karan Rajpal
New question #234673 on Sikuli:
https://answers.launchpad.net/sikuli/+question/234673

The basic function of recognizing an image while running the script doesn't 
seem to be working for me. I'm on a Mac and I've set up the Sikuli IDE.

I tried scripts without recognizing images and it worked. If I run a simple 
command like click(image from screenshot) it doesn't work!

I tried the Hello World tutorial on the mac and took a screenshot of the 
Spotlight icon. It shows up in code but when I run I get the following error : 

[error] Region.find(text): text search is currently switched off
[error] script [ Testsh ] stopped with error in line 1
[error] FindFailed ( Text search currently switched off )

Maybe I missed something in the setup? Any help would be appreciated! :)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
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 #234673]: Sikuli doesn't recognize any images while running!

2013-08-26 Thread Karan Rajpal
Question #234673 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234673

Status: Answered = Open

Karan Rajpal is still having a problem:
Thank you for your prompt replies!

But I did try both of the above!

@Philip - The error message now reads

[error] TextRecognizer: init: tessdata folder not found at 
[error] Region.find(text): text search is now switched off
[error] script [ Testsh ] stopped with error in line 1
[error] FindFailed ( Text search currently switched off )


@Eugene - Sikuli does see my image! I took a screenshot using the IDE tools and 
the the code has the image in it. 
I've shown you my issue with a screenshot -  
http://img842.imageshack.us/img842/4414/04l9.png


Additionally, if I close the saved Sikuli script file and open it again, the 
image vanishes and it's replaced by a link to recapture the image!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
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