Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-12-29 Thread Maria Haris
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Maria Haris posted a new comment: I am trying to read the element by the xpath I get the attribute error although I was able to find the elements by id. element =

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-30 Thread Sam
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

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-30 Thread masuo
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

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-30 Thread RaiMan
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 =

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-30 Thread Sam
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 =

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-30 Thread RaiMan
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:

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-30 Thread Sam
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

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-30 Thread masuo
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 .

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-29 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: I'm starting to feel more comfortable with selenium thanks to to all the links you've supplied me. The package system was a bit unintuitive at

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-27 Thread masuo
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 masuo posted a new comment: usage is introduced here. http://www.seleniumhq.org/docs/03_webdriver.jsp#selenium-webdriver-api-commands-and-operations

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-27 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Sam posted a new comment: Frankly, I don't really grasp what that means in this context Masuo, but your code works, so thank you. What exactly is org.openqa.selenium.By ? I will try to implement my test

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-27 Thread masuo
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered masuo proposed the following answer: When you use selenium-server-standalone-2.53.1.jar as API library, use java API instead of Python API. [codes:]

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-27 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: So thank you guys for all the answers up to this point. I was away for several days and didn't get a chance to respond here. RaiMan you were

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-23 Thread RaiMan
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 RaiMan posted a new comment: ... and the load() command adds the jar to the END of the Java classpath, so the fact, that a correct path spec with load does not change anything, proofs, that something is on

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-23 Thread RaiMan
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 RaiMan posted a new comment: Before the driver = FD() you should place for e in sys.path(): print e to see what you have on sys.path and you might use (only with SikuliX 1.1.1) RUNTIME.dumpClassPath()

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-23 Thread RaiMan
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 RaiMan posted a new comment: @masuo yep, that's the consequence. @Sam: you should carefully check your environment and maybe strip it down to nothing and then start again step by step adding things nedded.

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-23 Thread masuo
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered masuo proposed the following answer: At the time of #13, path string as argument of load() is not correct? Despite incorrect path string, error did not occurred in line 2

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-23 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: Ok, double backslash it is. Be that as it may, no change in behavior. The issue seems to be with the driver, seemingly a version issue. [error]

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-23 Thread RaiMan
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered RaiMan proposed the following answer: --- load("C:\Users\Progman\Desktop\Selenium\selenium-server-standalone-2.53.1.jar") ... pythonically is simply wrong ... you either have

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-23 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: I just corrected that with a more accurate path- load("C:\Users\Progman\Desktop\Selenium\selenium-server-standalone-2.53.1.jar"), that seems to

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-23 Thread masuo
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered masuo proposed the following answer: [error] JythonSupport: load: could not be found - even not in bundle nor in Lib nor in Extensions Considering from this error, path string

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-23 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: Here's my current test script verbatim. In your identical environment of Win7, Sikuli: 1.1.1, Firefox 47.0.1

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-22 Thread masuo
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered masuo proposed the following answer: By my solution, I use selenium-server-standalone-2.53.1.jar as API library. selenium-server-standalone-2.53.1.jar file contains selenium

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-22 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: Sorry to keep going back to the well like this, but I can't seem to get this off the ground. There is really very scant relevant search

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-22 Thread RaiMan
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 RaiMan proposed the following answer: --- about selenium4sikulix Experimental: Play with Selenium This is about a first step to better support the side-by-side usage of Selenium and SikuliX in scripts. You

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-21 Thread masuo
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered masuo proposed the following answer: You can use FirefoxProfile Class to change firefox profile. I think that the following codes is a outline to set profiles. Because I do not

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-21 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Sam gave more information on the question: Continuing my research, the first issue with selenium starting a vanilla firefox instance is about profile selection. There seems to be plenty of examples of how to

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-21 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Sam gave more information on the question: Just to add a bit more information: The exception throws at, driver = FD() load("C:\selenium\selenium-server-standalone-2.53.1.jar")

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-21 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: Definite progress! I put that code in at the browser phase of my script and it gets me into firefox very fast. At this point I seem to get two

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-21 Thread masuo
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered masuo proposed the following answer: The following is an example of using firefox as a browser. [preparation:] Download Selenium Standalone Server(e.g.

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-20 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: Thanks Masuo, I'm using firefox on a win7 machine, could you please advise me on an equivalent approach for firefox? Firefox functionality is

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-20 Thread masuo
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered masuo proposed the following answer: I introduce my solution to use Selenium-webdriver from SikuliX-IDE. The following is an example of using chrome as a browser.

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-20 Thread Sam
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Answered => Open Sam is still having a problem: Thanks for the quick response. I went ahead and updated to 1.1.1. I saw and tried to install the selenium4sikuli.jar into Extensions, however when

Re: [Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-20 Thread RaiMan
Question #353956 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/353956 Status: Open => Answered RaiMan proposed the following answer: --- 1. Python itself is not relevant for SikuliX. internally it uses Jython as Python language interpreter (Java based). --- 2. Copying

[Sikuli-driver] [Question #353956]: Permission issue with Selenium in Sikuli

2016-08-19 Thread Sam
New question #353956 on Sikuli: https://answers.launchpad.net/sikuli/+question/353956 Hi, just wanted to start out with a huge thank you to the Sikuli team and RaiMan for developing such a powerful platform. I'm very new to Sikuli and python programming but I've managed to a do a lot of very