[Sikuli-driver] [Question #688863]: Is it possible to update HtmlTestRunner report after each test?
New question #688863 on Sikuli: https://answers.launchpad.net/sikuli/+question/688863 Hello, So I am using HTMLTestRunner to generate the report. For example if i have 5 tests the report will be generated after those 5 tests will execute. Is it possible to update the report after each test with sikuliX? Thanks -- 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 #688862]: how to switch each instance after creating multiple app install
Question #688862 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688862 Description changed to: Now, I use 2.0.2 version. I want to create some instance for notpad and switch active between these instance. myApp = App("C:\\Windows\\system32\\Notepad.exe") myApp.open() type("") myApp.open() type("") sleep(5) print myApp.hasWindow() -> always false temp = App("Notepad") print temp .hasWindow()-> always false as the plan, I want to refer the following code to switch each installed. but hasWindow() is false. for n in range(100): w = myApp.window(n) if not w: break # no more windows w.highlight(2) # window highlighted for 2 second so it can not work, I change another way, App.focus("Notepad.exe",0), but there is the following error. it seems not work, it does not change front how to use it? thanks -- 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 #688862]: how to switch each instance after creating multiple app install
New question #688862 on Sikuli: https://answers.launchpad.net/sikuli/+question/688862 Now, I use 2.0.2 version. I want to create some instance for notpad and switch active between these instance. myApp = App("C:\\Windows\\system32\\Notepad.exe") myApp.open() type("") myApp.open() type("") sleep(5) print myApp.hasWindow() -> always false temp = App("Notepad") print temp .hasWindow()-> always false as the plan, I want to refer the following code to switch each installed. but hasWindow() is false. for n in range(100): w = myApp.window(n) if not w: break # no more windows w.highlight(2) # window highlighted for 2 second so it can not work, I change another way, App.focus("Notepad.exe"[,0]), but there is the following error. [error] SyntaxError ( "no viable alternative at input ','", ) how to use it? thanks -- 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 #663480]: How to create multiple app instances out of one app - chrome?
Question #663480 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663480 larryli requested more information: after create multiple instance, how to switch for each each instance? try to use myApp.window(n), but print myApp.hasWindow() is false. do you know the reason? -- 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 #296141]: hasWindow always returns False
Question #296141 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/296141 larryli proposed the following answer: Now, I use 2.0.2 windows environemnt, make one test myApp = App("C:\\Windows\\system32\\Notepad.exe") myApp.open() sleep(5) print myApp.hasWindow() it always false, notepad already opened. which part has problem? thanks -- 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 #688843]: How to click on current date using sikuli?
Question #688843 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688843 Status: Open => Answered Manfred Hampl proposed the following answer: I see two possibilities: 1. If the position of the current date is always the same on the screen (e.g. 150 pixels from the top, 30 pixels from the left), then you use that position as your click target. https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.click click(Location(x,y)) (replace x and y by the desired coordinates) 2. If you know the date format that is used to indicate the current date on the screen, then you can construct a string of today's date in this format and try to find it on the screen. https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.find find(time.strftime(%m/%d/%Y)) (adapt the format string as applicable; "import time" probably required at the beginning of the script) -- 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 #688843]: How to click on current date using sikuli?
Question #688843 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688843 Description changed to: I have to install daily build and would like to click on current date using Sikuli? -- 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 #688843]: How to click on current date using sikuli?
New question #688843 on Sikuli: https://answers.launchpad.net/sikuli/+question/688843 I have to install build and would like to click on current date using Sikuli? -- 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 #688828]: Possible to highlight an image?
Question #688828 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688828 Status: Answered => Solved xyz_User 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 #688828]: Possible to highlight an image?
Question #688828 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688828 RaiMan proposed the following answer: Simply said: what you want to highlight, must be visible on the screen. Then there are 2 possibilities: - you know where it is: someRegion.highlight(...) - you can find it: find(someImage).highlight(...) So the answer is no, if your image is not visible on the screen. -- 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