![]() Pydev_imports.execfile(file, globals, locals) # execute the scriptįile "C:/POC/test.sikuli/test.py", line 37, in įile "C:\POC\unittest2\main. Unittest2.main(defaultTest='suite', exit=False, verbosity=2)įile "C:\Program Files (x86)\JetBrains\P圜harm Community Edition 3.4.1\helpers\pydev\pydevd.py", line 1733, in įile "C:\Program Files (x86)\JetBrains\P圜harm Community Edition 3.4.1\helpers\pydev\pydevd.py", line 1226, in run Size: 105 MB Latest versions of JetBrains P圜harm Community Edition 3.0.1.131.339 pycharm-community-3.0.1.exe Todays Highlight ClipClip Makes it possible to copy multiple texts, images or files to your clipboard Alternative software Java SE Development Kit Free Create Java applications that run on all operating systems. That calls the method suite() defined in my test.pyįile "C:/POC/ test.sikuli/ test.py", line 37, in įile "C:\POC\ unittest2\ main.py", line 82, in _init_Ģ) pycharm can import unittest2 (extracted as described here : ) without any problems The problem raises (only in debugging !) when I import mySuite with the following : ![]() net/sikuli/ +question/ 253906) without any problemsģ) pycharm debugging works fine even when I call the suite mySuite directly (import mySuite. So, let me sum up the outcome of this analysis :ġ) pycharm debugging works fine with sikuli (no unittest2)Ģ) pycharm can import unittest2 (extracted as described here : https:/ /answers. I changed my main stuff to another name ('test.py') and tried all steps you suggested me. Is this issue a side effect of this comment ? There is also paid edition for P圜harm for professional exploitation. Please note that, in order to make debugging work in Pycharm, I was obliged to comment out the line 10 of the Sikuli.py (#import _main_) as explained in the https:/ /answers. The free community edition contains all required features for designing with IPKISS. I do not understand what this _main_ module is ? 5.3\Lib\ site-packages\ unittest2\ main.py", line 82, in _init_ execfile( file, globals, locals) # execute the scriptįile "C:/POC/ main.sikuli/ main.py", line 30, in įile "C:\jython2. ![]() run(setup, None, None)įile "C:\Program Files (x86)\JetBrains \P圜harm Community Edition 3.4.1\helpers\ pydev\pydevd. Now, when I run the main.py everything works fine (myapp is open and the mainWindow found successfully).īut when I'm in debugging I get the following error :įile "C:\Program Files (x86)\JetBrains \P圜harm Community Edition 3.4.1\helpers\ pydev\pydevd. TestCase) setUpClass(cls):Ĭls.app = App(r"C:\Program Files (x86)\myapp") main(defaultTes t='suite', exit=False, verbosity=2)Ĭlass mySuite( unittest2. ![]() sikuli script.).įor module in map(_import_, modules_to_test):Īlltests. My project is made up of a main.sikuli\main.py that import unittest2 suites to be run (actually. net/sikuli/ +question/ 192876) and set into the sys.path unittest2 installed (as explained here : https:/ /answers. sikuli-java.jar in a local (pycharm) CLASSPATH env variable jython2.5.3 as Pycharm Jython interpreter I'm using Sikuli 1.0.1 on Windows7/Java7 and Pycharm as IDE for debugging with : ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |