[Sikuli-driver] [Question #678549]: How to click an element from dropdown list
New question #678549 on Sikuli: https://answers.launchpad.net/sikuli/+question/678549 hi, I want to select an element from a dropdown box but i am not able to take screenshot of that element , because when i open that dropdown box and then switch to sikulix ide ,then that dropdown box will be closed. And if the dropdown elements are more ,then we have to to scroll down ,so some elements are hidden. -- 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 #678493]: How to take equal size screenshot
Question #678493 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678493 yashi rathore 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 #678493]: How to take equal size screenshot
Question #678493 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678493 Status: Answered => Solved yashi rathore confirmed that the question is solved: Hi RaiMan, Thank you, now image comparison is working perfectly i used below code: f.find(Pattern(os.getcwd()+'//test.png').exact()) This is giving me expected output Thank you so much -- 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 #678493]: How to take equal size screenshot
Question #678493 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678493 Status: Answered => Open yashi rathore is still having a problem: Thank you Raiman, above solution almost solved my problem, but now when i am comparing, enabled image and disabled image ,it is showing "similar".I have used below code to compare: from sikuli import * import sys import shutil import os # contains the absolute-path-to-image-file-1 img1 = "file path" buttonReg = exists(img1, 0) popup("disable the button and click ok") regionImage = capture(buttonReg) shutil.copyfile(regionImage, os.getcwd()+'//test.png') f = Finder(img1) # searches and stores the matches in the Finder object f f.find( os.getcwd()+'//test.png') if f.hasNext(): # is None if nothing found print("similar") else: print("not similar") f.destroy() -- 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 #678493]: How to take equal size screenshot
New question #678493 on Sikuli: https://answers.launchpad.net/sikuli/+question/678493 Hi, I want to know how i can take screenshots of equal size , because i am trying to write some scripts to automate and i want to verify whether the button is enabled or disabled. I tried to take screenshot of disabled button two times, and when i compared both of them using below code: img1="path of img1" img2="path of img2" f=Finder(img1) f.find(img2) if f.hasNext(): print ("similar") else: print("not similar") i got result as "not similar", but images are same, the problem is i am unable to take both screenshots of same size, slight difference is making the result false. Thank you in advance -- 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 #677657]: [0.10.2] Linux: not able to run file created in sikuli - version no longer supported
Question #677657 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677657 yashi rathore posted a new comment: Hi, Thank you for your response. We are now trying with SikuliX, but we getting this error: [error (1/16/19 11:33:35 AM)] RunTimeSETUP: loadLib: libVisionProxy.so not usable: java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201807110819/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory [error (1/16/19 11:33:35 AM)] RunTimeSETUP: loadLib: libVisionProxy.so not usable: java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201807110819/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory [debug (1/16/19 11:33:35 AM)] LinuxSupport: we have to build libVisionProxy.so [debug (1/16/19 11:33:35 AM)] LinuxSupport: checking: availability of OpenCV and Tesseract [debug (1/16/19 11:33:35 AM)] LinuxSupport: checking: scanning loader cache (ldconfig -p) [debug (1/16/19 11:33:35 AM)] RunTimeSETUP: ldconfig -p [error (1/16/19 11:33:36 AM)] LinuxSupport: checking: OpenCV not in loader cache (see doc-note on OpenCV) [error (1/16/19 11:33:36 AM)] LinuxSupport: checking: Tesseract not in loader cache (see doc-note on Tesseract) [error (1/16/19 11:33:36 AM)] RunTimeSETUP: Problematic lib: /root/.Sikulix/SikulixLibs_201807110819/libVisionProxy.so (...TEMP...) [error (1/16/19 11:33:36 AM)] RunTimeSETUP: libVisionProxy.so loaded, but it might be a problem with needed dependent libraries ERROR: ...TEMP...: libopencv_core.so.2.4: cannot open shared object file: No such file or directory [error (1/16/19 11:33:36 AM)] RunSetup: libVisionproxy.so finally not useable [error (1/16/19 11:33:36 AM)] RunSetup: Giving up! [error (1/16/19 11:33:36 AM)] RunSetup: ... terminated abnormally :-( Could you please check it once and help in this. Can you tell me , that sikuliX is supported in SLES 11(Suse Linux Enterprise Server 11) or not? -- 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 #677657]: not able to run file created in sikuli
New question #677657 on Sikuli: https://answers.launchpad.net/sikuli/+question/677657 Hi all, I am trying to automate applications on SLES 11(Suse Linux Enterprise Server 11) . I have downloaded Sikuli-IDE-linux-i686-0.10.2.zip and it opened the sikuli IDE. But when we try to run any application after capturing the screenshot, it will stop the execution and throw the below errors every time: java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: /home/shrikala/Downloads/Sikuli-IDE/tmplib/libScreenMatchProxy.so: libcv.so.4: cannot open shared object file: No such file or directory OR java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: Could not initialize class edu.mit.csail.uid.Finder Thanks for help in advance -- 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