[Sikuli-driver] [Question #373612]: Jar File searches in first folder of ImagePath only
New question #373612 on Sikuli: https://answers.launchpad.net/sikuli/+question/373612 Hello, i have a problem with jar built. It looks for images only in one (first added) folder and ignores others folder in ImagePath. I print out the ImagePath and all added folders are normally shown. But if finding in the first folder fails, the script stopps. I have already tried all variants but I still cannot find a solution. Please, help me. I add this way: ImagePath.add("launcher.Launcher/images/general"); ImagePath.add("launcher.Launcher/images/general/registration"); ImagePath.add("launcher.Launcher/images/general/server"); ImagePath.add("launcher.Launcher/images/general/buttons"); [error] Image: could not be loaded: jar:file:/D:/workspaces/default/firmname/target/project-0.0.1-SNAPSHOT-jar-with-dependencies.jar!/images/general/registration/ok.png [error] Image: Image not valid, but TextSearch is switched off! FindFailed: Region: doFind: Image not loadable: ok Line 2535, in file Region.java The image "ok" is in the folder "buttons". If i run this in eclipse, it works fine. How could I solve that? Tahnks in advance, Den -- 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 #359520]: Issue with a setup
Question #359520 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/359520 Status: Open => Answered RaiMan proposed the following answer: ok, you are right. There must be something wrong, I have to check. ... but nevertheless: I did not have any problem with the offline setup. -- 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 #359520]: Issue with a setup
Question #359520 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/359520 Status: Answered => Open Cam is still having a problem: On http://nightly.sikuli.de/ the sikulisetup...jar link gives me the one from July. -- 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 #359520]: Issue with a setup
Question #359520 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/359520 Status: Open => Answered RaiMan proposed the following answer: ok, you have a setup...jar from July and I guess the other files are newer. For an offline setup of the nightly you have to always download a complete set of the sikulix...jars. So my recommendation: - delete the stuff in your setup folder (C:\SikuliXNightly) - download a complete set of the sikulix...jars - run setup and confirm to use the local copies ... just tested: works. -- 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 #353956]: Permission issue with Selenium in Sikuli
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Sam posted a new comment: The typo was a copy/paste artifact. RaiMan's JFile suggestion worked great. The whole Jython mixed API system is something I'm slowly getting my head around. Hopefully that's the end of my setup issues. Thanks again guys. -- 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 #353956]: Permission issue with Selenium in Sikuli
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 masuo posted a new comment: @Sam at #30 comment Did you do typo for Directory path name? ".default" is missing? -- 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 #359520]: Issue with a setup
Question #359520 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/359520 Status: Needs information => Open Cam gave more information on the question: Sent -- 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 #353956]: Permission issue with Selenium in Sikuli
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered RaiMan proposed the following answer: ... ok, then you can try: # add import java.io.File as JFile # and then use profile = FirefoxProfile(JFile('C:\\Users\\Progman\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\nWv4HBss.')) -- 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 #353956]: Permission issue with Selenium in Sikuli
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: That was just one phrasing of the five I've tried. This yields the identical response. profile = FirefoxProfile('C:\\Users\\Progman\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\nWv4HBss.') [error] TypeError ( org.openqa.selenium.firefox.FirefoxProfile(): 1st arg can't be coerced to java.io.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 #353956]: Permission issue with Selenium in Sikuli
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered RaiMan proposed the following answer: IMHO: in this snippet there is some naming inconsistency: load("C:\\Users\\Progman\\Desktop\\Selenium\\selenium-server-standalone-2.53.1.jar") import org.openqa.selenium.firefox.FirefoxDriver as FD import org.openqa.selenium.By as By import org.openqa.selenium.firefox.FirefoxProfile as FirefoxProfile # this is the profile class name: FirefoxProfile import org.openqa.selenium.firefox.internal import org.openqa.selenium.interactions import org.openqa.selenium.interactions.ClickAction # so this is wrong IMHO #profile = FD.FirefoxProfile('C:\\Users\\Progman\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\nWv4HBss.default') # and must be profile = FirefoxProfile('C:\\Users\\Progman\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\nWv4HBss.default') -- 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 #353956]: Permission issue with Selenium in Sikuli
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: Masuo, I search my errors extensively before posting here. I have not found a method for resolving this exception using python commands for the webdriver-backed selenium-standalone implementation we've been discussing. If the exception is the result of a retarded mistake on my part, please give me a bit of context on how to understand it. Sikuli obviously has issues interacting with the pure Selenium Webdriver, which is why you put me on the path of loading the older standalone jar. But you and RaiMan have made me have to infer this conclusion without providing context. The resources for understanding webdriver-backed selenium standalone are sparse. Pure selenium 2 webdriver for python installed by pip, is the common variation and the vast majority of search results are only relevant to that. I have no familiarity with Java, and the mixing of APIs in this discussion is truly confusing. I have developed tests in Sikuli for months now without a hitch using my limited python knowledge. If you would, please give me a moment and walk me through the 101 of what I'm doing wrong here. -- 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 #359520]: Issue with a setup
Question #359520 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/359520 Status: Open => Needs information RaiMan requested more information: please send the logfile to sikulix--at--outlook--dot--com -- 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 #372286]: How to detect one object in slightly different background color
Question #372286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/372286 Roman Podolyan posted a new comment: When our team had alike problems (images from our notebooks did not match images from virtual machine tests run on), one of the solutions was to establish VNC connection between two machines, and to use in tests images captured using VNC. -- 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 #353956]: Permission issue with Selenium in Sikuli
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered masuo proposed the following answer: Search net about selenium profile by using keywords. e.g. "usage to get selenium profile" Then learn relation between Class and Method . http://seleniumhq.github.io/selenium/docs/api/java/index.html -- 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