Re: [Sikuli-driver] [Question #661532]: region with finder

2017-12-09 Thread Maniraj
Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532

Maniraj gave more information on the question:
For comment #3 
1. It will find image in the captured region which is saved in local only ryt? 
2. It will not find in the webscreen ryt? 
3. Based on this concept there is no need of  window needs to be active ryt?
4. For setting region screen will be active that's is fine after that no need 
of active ?

Kindly clear their doubts..

-- 
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 #661532]: region with finder

2017-12-09 Thread Maniraj
Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532

Status: Answered => Open

Maniraj is still having a problem:
Thank you raiman I will try this and let me know...

-- 
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 #661532]: region with finder

2017-12-09 Thread Maniraj
Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532

Maniraj posted a new comment:
Thank you raiman I will try this and let me know...

-- 
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 #661518]: Sikuli will work on Selenium grid

2017-12-09 Thread Maniraj
Question #661518 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661518

Maniraj gave more information on the question:
Can you explain this

-- 
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 #661532]: region with finder

2017-12-09 Thread Maniraj
Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532

Maniraj posted a new comment:
Thank you raiman I will try this and let me know...

-- 
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 #661543]: OCR not able to find text

2017-12-09 Thread mawesome
New question #661543 on Sikuli:
https://answers.launchpad.net/sikuli/+question/661543

I'm trying to get it to find text that is here: 
https://cdn.discordapp.com/attachments/228863083584421888/389265484035391488/Screen_Shot_2017-12-09_at_7.53.46_PM.png

but it just returns "--- no text ---". Is there a fix?

-- 
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 #262651]: Display On-screen text annotation

2017-12-09 Thread mawesome
Question #262651 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262651

mawesome posted a new comment:
Has this been implemented?

-- 
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 #661542]: Do we have examples of running sikuli from URL

2017-12-09 Thread Ezhil
New question #661542 on Sikuli:
https://answers.launchpad.net/sikuli/+question/661542

I tried the below and gave me error 

D:\Users\PerfReg>C:/Sikuli/runsikulix.cmd -r http://10.9.xx.xxx/ScripsIIS/TW
S_11292017.sikuli/  --args 1803


[error] Runner: given script location not supported or not valid:
http://10.9.11.192/ScripsIIS/TWS_11292017.sikuli
[error] FileManager: Not a valid Sikuli script project:
D:\Users\PerfReg1061\TWS_11292017.sikuli


-- 
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 #661057]: Hi I am getting the below error when sikulix is used in eclipse

2017-12-09 Thread radhi12
Question #661057 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661057

radhi12 gave more information on the question:
Hi,

My image is in the paths.doubleClick(new
Pattern("C:/Users/xw66/workspace/Sikul/imgs/abc.PNG"))..Please let me know
if i have to open this path :C:/Users/xw66/workspace/Sikul/imgs/abc.PNG and
keep for sikuli eclipse to identify.


On Fri, Dec 8, 2017 at 5:02 PM, radhi12 <
question661...@answers.launchpad.net> wrote:

> Your question #661057 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/661057
>
> Status: Answered => Open
>
> You are still having a problem:
> Shall I setup webex so  that I can walk u through
>
> On Dec 8, 2017 11:52 AM, "Manfred Hampl" <
> question661...@answers.launchpad.net> wrote:
>
> > Your question #661057 on Sikuli changed:
> > https://answers.launchpad.net/sikuli/+question/661057
> >
> > Status: Open => Answered
> >
> > Manfred Hampl proposed the following answer:
> > You are confusing two different issues:
> >
> > You have to make a screen shot of an area of the screen and store it
> > somewhere on your system in a file, usually in PNG format and with a
> > file name that can be something like "capture.png" or
> > "1477780579267.png" (this number is based on date and time of making the
> > screen shot).
> >
> > 1.  In your first attempt the file name that you gave in your program was
> > wrong, and sikuli could not access the file, because it was not available
> > in the directory that sikuli uses for these files.
> > This gave the error message "Image: could not be loaded:
> > file:/C:/Users/xw66/workspace/Sikul/Capture.PNG"
> >
> > 2. In a later attempt you apparently have corrected the file name of the
> > capture file (probably needs double backslashes). You can see this in
> > the error message, which does no more say "image could not be loaded".
> > This means that sikuli was able to access the screenshot file.
> >
> > The reason why you now get a FindFailed exception is the following:
> > The screenshot file contains an image which is not visible on the screen.
> >
> > Something like: You instruct sikuli to search for a big red rectangle on
> > the screen, but there is no such rectangle visible on the screen. Sikuli
> > tells you that it does not find such image by raising a FindFailed
> > exception.
> >
> > There is no way that we can help you "how to find the image" if such
> > image is not visible on your screen.
> >
> > Sikuli can only click on an area of the screen if it knows where to
> > click. If you instruct síkuli to click in the area where the image is,
> > but sikuli cannot identify such image on the screen, then sikuli will
> > always give this exception.
> >
> > Maybe we can help further, if you tell us what exactly you want to
> > achieve with sikuli.
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/sikuli/+question/661057/+
> > confirm?answer_id=29
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/sikuli/+question/661057
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the 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 #661531]: Sikuli IDE with Swift — NO

2017-12-09 Thread mawesome
Question #661531 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661531

Status: Answered => Solved

mawesome confirmed that the question is solved:
Awe :c

-- 
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 #661532]: region with finder

2017-12-09 Thread RaiMan
Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532

Status: Open => Answered

RaiMan proposed the following answer:
String imagePath = "/Users/aathi/Desktop/" // the place where you have your 
images (should be a folder to  not clutter the desktop)
WebElement elmt = driver2.findElement(By.xpath("//*[@id='window']"));
Screenshot regionset = new AShot().takeScreenshot(driver, elmt);
//Finder has a constructor with a buffered image
Finder window = new Finder(regionset.getImage()); // where to search in
Pattern testImage = new Pattern(new File(imagePath, 
testimage2.png)).getAbsolutePath)); // what to search
window.find(testImage) // search and prepare Finder for revealing result
Match found = null;
if (window.hasNext()) {
//found
found = window.next()
} else {
// not found
}
System.out.println(found)

With a mature IDE like Eclipse or IntelliJ IDEA you might inspect the
SikuliX API and together with the docs just learn and find your way.

One more thing: you should get familiar with the SikuliX concept of
ImagePath.

-- 
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 #661532]: region with finder

2017-12-09 Thread Maniraj
Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532

Status: Answered => Open

Maniraj is still having a problem:
Can you please share set of sample code in Java for finder with in the
region  it is very helpful for me.. I saw document my bad i am not able
to understand Similarity concept.

They are following this type  f.find(image);  //but it is not
working for me.

My Aim is i am trying to find image inside region screenshot which is
taken at run time and  i need to verify in that screenshot not in
webpage. pls help me to resolve this.

I need example with combination of Region and Finder

-- 
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 #661532]: region with finder

2017-12-09 Thread RaiMan
Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532

Status: Open => Answered

RaiMan proposed the following answer:
Read about the result of Finder.find() in the docs

-- 
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 #661532]: region with finder

2017-12-09 Thread Maniraj
New question #661532 on Sikuli:
https://answers.launchpad.net/sikuli/+question/661532

Hi i am having one screenshot with specific region and i am trying to find one 
image inside that region it is possible

IMP.. Specific region will take screenshot in runtime and in that image we need 
to find expected image.


WebElement elmt = 
driver2.findElement(By.xpath("//*[@id='window']"));
Screenshot regionset = new AShot().takeScreenshot(driver, elmt);
BufferedImage regionsetimage = regionset.getImage();
ImageIO.write(regionset.getImage(), "PNG", new 
File("/Users/aathi/Desktop/testimage2.png"));
Pattern Capimage = new Pattern(regionsetimage);
Region reg1 = screen.find(Capimage);
String a = reg1.toString();
Finder f = new Finder("/Users/aathi/Desktop/testimage2.png");  
 //Finder f = new Finder(a);
Pattern image = new 
Pattern("/Users/aathi/Desktop/Sikuli/"+imageName);
f.find(image);
System.out.println("find");

This is always running even the image is not present in that region also can u 
give any better solution for this

My Aim is  -- I need to find image in that bufferedimage which is set as 
region. i don't want to search for that image in web screen. i need to find or 
search for image in side that captured image which is captured as region in my 
localpath.


Kindly excepting your reply 

-- 
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 #661531]: Sikuli IDE with Swift — NO

2017-12-09 Thread RaiMan
Question #661531 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661531

Summary changed to:
Sikuli IDE with Swift — NO

-- 
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 #661531]: Sikuli IDE with Swift

2017-12-09 Thread RaiMan
Question #661531 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661531

Status: Open => Answered

RaiMan proposed the following answer:
Sorry, no

-- 
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