Re: [Sikuli-driver] [Question #695986]: Can't see full image in SikuliX IDE\Target offset menu
Question #695986 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695986 Description changed to: Hi, I'm trying to automate an app that has a really long menu. So I've a single reference .png file and from that pattern I'm clicking on relative coordinates of other buttons, menus, etc. The problem is that this image is on top and when I need to discover what are the target offset of elements at the bottom of that menu, the SikuliX IDE\Target offset menu does not allow me to see the full image. I know this is not easy to understand just by the description, this is why I've documented the issue here in a pdf file. https://www.dropbox.com/s/433yg6zmmqna6x3/sikulix_ide_targetOffset_menu_issue.pdf?dl=1 If you don't want to check the pdf file, another way to try explain is, 0- Let's assume you're using Windows 1- Set your resolution to 1920x1080 2- Put a unique small image\icon etc at your top right screen 3- Take a screenshot of it using Sikuli IDE 4- Click over that pattern to open the pattern settings menu 5 - Click on Target Offset pane 6- Now try to scroll until you can see the Windows watch\clock at the bottom right, 7- Notice it does not show the full image, so even if you want to discover what is the target offset (x,y) of windows clock , you won't be able because there's a limitation preventing you to scroll until you can see the area you're looking for. Is there any simple way to solve this issue? My system: Windows 10 PRO Sikuli 1.1.4 Display resolution 1920x1080 Orientation Landscape -- 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] [Bug 1918688] Re: Can save code but Sikuli does not know it saved
Here is the photo to show the script tenkaevent.sikuli which is saved as 0.sikuli but in Sikuli it remain to the original one. The title bar show 0.sikuli but the tab bar show tenkaevent(.sikuli) ** Attachment added: "Sikuli-Cant-Save.png" https://bugs.launchpad.net/sikuli/+bug/1918688/+attachment/5475866/+files/Sikuli-Cant-Save.png -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1918688 Title: Can save code but Sikuli does not know it saved Status in Sikuli: New Bug description: Sorry for my English. I am using Sikuli 2.0.5 in Windows 10 Enterprise|20H2|Build 19042.804|Java 11 JDK. Before I upgraded Sikuli to 2.0.5, the script are created in Sikuli 2.0.4|Java 8 JRE and editted in Sikuli 2.0.5 However, today I just found that I cannot save Sikuli script anymore. I am not sure which part created the problem but I can save the script in my Lubuntu 20.04 VM (Sikuli 2.0.5|Java 11 JRE) I tried to use newer Java (Java 11 SDK) in Windows but no luck, and both Sikuli 2.0.4 or 2.0.5 cannot be used for editting or saving the script. Normally, I click "Run" the SikuliX will auto save my script and start to run my script But today, suddenly I cant save the script anymore. Please see the txt file for the error code. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1918688/+subscriptions ___ 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] [Bug 1918688] [NEW] Can save code but Sikuli does not know it saved
Public bug reported: Sorry for my English. I am using Sikuli 2.0.5 in Windows 10 Enterprise|20H2|Build 19042.804|Java 11 JDK. Before I upgraded Sikuli to 2.0.5, the script are created in Sikuli 2.0.4|Java 8 JRE and editted in Sikuli 2.0.5 However, today I just found that I cannot save Sikuli script anymore. I am not sure which part created the problem but I can save the script in my Lubuntu 20.04 VM (Sikuli 2.0.5|Java 11 JRE) I tried to use newer Java (Java 11 SDK) in Windows but no luck, and both Sikuli 2.0.4 or 2.0.5 cannot be used for editting or saving the script. Normally, I click "Run" the SikuliX will auto save my script and start to run my script But today, suddenly I cant save the script anymore. Please see the txt file for the error code. ** Affects: sikuli Importance: Undecided Status: New ** Attachment added: "Evidence" https://bugs.launchpad.net/bugs/1918688/+attachment/5475865/+files/Sikuli-Bug-Message.txt -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1918688 Title: Can save code but Sikuli does not know it saved Status in Sikuli: New Bug description: Sorry for my English. I am using Sikuli 2.0.5 in Windows 10 Enterprise|20H2|Build 19042.804|Java 11 JDK. Before I upgraded Sikuli to 2.0.5, the script are created in Sikuli 2.0.4|Java 8 JRE and editted in Sikuli 2.0.5 However, today I just found that I cannot save Sikuli script anymore. I am not sure which part created the problem but I can save the script in my Lubuntu 20.04 VM (Sikuli 2.0.5|Java 11 JRE) I tried to use newer Java (Java 11 SDK) in Windows but no luck, and both Sikuli 2.0.4 or 2.0.5 cannot be used for editting or saving the script. Normally, I click "Run" the SikuliX will auto save my script and start to run my script But today, suddenly I cant save the script anymore. Please see the txt file for the error code. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1918688/+subscriptions ___ 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 #696004]: OCR to wait for Text to appear for some seconds simiar to find("image", 20)
New question #696004 on SikuliX: https://answers.launchpad.net/sikuli/+question/696004 Hi is there a method for OCR to wait for Text to appear for someting seconds simiar to find("image",20) currently we have findText("txt") we need something like findText("txt",20) similar method we have in find for images -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696004]: OCR to wait for Text to appear for some seconds simiar to find("image", 20)
Question #696004 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696004 Status: Open => Answered RaiMan proposed the following answer: Sorry, not available. Make yourself a def: def waitText(text, time): while time > 0: match = findText(text) if match: return match time -= 1 return null something like that - not tested anyways: I put it on the list for 2.0.6 -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696007]: Execute tests and Produce single report file
New question #696007 on SikuliX: https://answers.launchpad.net/sikuli/+question/696007 Hi I am trying to do this in my testing,and I want to create single report file with various tests results in it, but I was having some trouble. I'm getting an error message when I tried. the test scripts run when I run their separate sikuli files but not in RunningMulitpleTest sikuli file. Code: import random import shutil import os import xlrd import BidsAndOffersModule from SubmittingOffersMisoHourlyParameters import * from SubmittingOffersMisoEnergySchedOffer import * #from ddt import ddt, data,unpack import utils import HTMLTestRunner import unittest outfile = open("RunMultipleTests.html", "w") runner = HTMLTestRunner.HTMLTestRunner(stream=outfile, title='Test Suite', description='Test Suite') loader = unittest.TestLoader() suite1 = loader.loadTestsFromModule(SubmittingOffersMisoHourlyParameters) suite2 = loader.loadTestsFromModule(SubmittingOffersMisoEnergySchedOffer) all_suite = unittest.TestSuite([suite1,suite2]) runner.run(all_suite) I am getting the following error message: [error] script [ RunMultitpleTest3112021 ] stopped with error in line 24 [error] AttributeError ( 'HTMLTestRunner' object has no attribute 'isAborted' ) [error] --- Traceback --- error source first line: module ( function ) statement 24: main ( ) loader = unittest.TestLoader() [error] --- Traceback --- end -- -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #257267]: Execute tests from multiple classes with a single output file
Question #257267 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/257267 Ali Ahmed posted a new comment: Hi I am trying to do this in my testing,and I want to create single report file with various tests results in it, but I was having some trouble. I'm getting an error message when I tried. the test scripts run when I run their separate sikuli files but not in RunningMulitpleTest sikuli file. Code: import random import shutil import os import xlrd import BidsAndOffersModule from SubmittingOffersMisoHourlyParameters import * from SubmittingOffersMisoEnergySchedOffer import * #from ddt import ddt, data,unpack import utils import HTMLTestRunner import unittest outfile = open("RunMultipleTests.html", "w") runner = HTMLTestRunner.HTMLTestRunner(stream=outfile, title='Test Suite', description='Test Suite') loader = unittest.TestLoader() suite1 = loader.loadTestsFromModule(SubmittingOffersMisoHourlyParameters) suite2 = loader.loadTestsFromModule(SubmittingOffersMisoEnergySchedOffer) all_suite = unittest.TestSuite([suite1,suite2]) runner.run(all_suite) I am getting the following error message: [error] script [ RunMultitpleTest3112021 ] stopped with error in line 24 [error] AttributeError ( 'HTMLTestRunner' object has no attribute 'isAborted' ) [error] --- Traceback --- error source first line: module ( function ) statement 24: main ( ) loader = unittest.TestLoader() [error] --- Traceback --- end -- -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #695896]: Unable to install in Win 10 Pro 64bit
Question #695896 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/695896 Status: Answered => Open jatin is still having a problem: C:\Users\Jatt>java -version java version "1.8.0_281" Java(TM) SE Runtime Environment (build 1.8.0_281-b09) Java HotSpot(TM) Client VM (build 25.281-b09, mixed mode, sharing) C:\Users\Jatt> -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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