Re: [Sikuli-driver] [Question #281134]: openApp failed file not found

2016-01-18 Thread hakim johari
Question #281134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/281134 hakim johari gave more information on the question: thanks I found how to do the logging feature but I got an error with the script this is my script: import logging; reload(logging) #create a new logging

Re: [Sikuli-driver] [Question #281134]: openApp failed file not found

2016-01-18 Thread hakim johari
Question #281134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/281134 Status: Answered => Open hakim johari is still having a problem: I didn't know sikuli have that feature Can u show me the coding example for the user logging feature? Thanks a bunch -- You

[Sikuli-driver] [Question #281134]: openApp failed file not found

2016-01-18 Thread hakim johari
New question #281134 on Sikuli: https://answers.launchpad.net/sikuli/+question/281134 Hi I want to open > write > save > close this is my code: if exists("collectionRed-1.JPG"): openApp("Z:\UiTM\\fyp\\automation test\\result\\TC_001.txt\") type("Collection menu turn to red") closeApp

Re: [Sikuli-driver] [Question #235132]: Click random item at the given range

2013-09-13 Thread hakim johari
Question #235132 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235132 Status: Answered => Solved hakim johari confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sik

Re: [Sikuli-driver] [Question #235132]: Click random item at the given range

2013-09-13 Thread hakim johari
Question #235132 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235132 hakim johari gave more information on the question: ok i already got this my script import datetime tomorrow = datetime.date.today() + datetime.timedelta(1) click(Pattern("from.png").si

Re: [Sikuli-driver] [Question #235132]: Click random item at the given range

2013-09-13 Thread hakim johari
Question #235132 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235132 Status: Answered => Open hakim johari is still having a problem: 2. I got the general idea. import time time.strftime('%d-%m-%Y') to call the time now. (right? this is what I've

Re: [Sikuli-driver] [Question #235451]: multiple selection

2013-09-11 Thread hakim johari
Question #235451 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235451 Status: Needs information => Open hakim johari gave more information on the question: yeah -- You received this question notification because you are a member of Sikuli Drivers, which is an ans

Re: [Sikuli-driver] [Question #235451]: multiple selection

2013-09-10 Thread hakim johari
Question #235451 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235451 hakim johari gave more information on the question: is it necessary to have 2 different kind of pattern? or I can use the same pattern for top1 and top2? -- You received this question notification because

Re: [Sikuli-driver] [Question #235451]: multiple selection

2013-09-10 Thread hakim johari
Question #235451 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235451 hakim johari gave more information on the question: i tried to use this script top1 = find(Pattern("some_pic.png").targetOffset(0,18)) # ref for list 1 clickList(top1) type(' ', Key

Re: [Sikuli-driver] [Question #235451]: multiple selection

2013-09-10 Thread hakim johari
Question #235451 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235451 Status: Answered => Open hakim johari is still having a problem: wouldn't this be like click A then click B right? what I need to do is press CTRL button then without letting go of CTRL button,

[Sikuli-driver] [Question #235451]: multiple selection

2013-09-10 Thread hakim johari
New question #235451 on Sikuli: https://answers.launchpad.net/sikuli/+question/235451 Hi I need to select random and multiple list. I've got the random part but how do I select multiple list? this is my script lineH = 31 top = find(Pattern(Pattern("some_pic.png").targetOffset(0,18))) topP = top.

Re: [Sikuli-driver] [Question #235448]: select date

2013-09-10 Thread hakim johari
Question #235448 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235448 Status: Answered => Solved hakim johari confirmed that the question is solved: that's it? why i didn't think of it thanks raiman -- You received this question notification because you

[Sikuli-driver] [Question #235448]: select date

2013-09-10 Thread hakim johari
New question #235448 on Sikuli: https://answers.launchpad.net/sikuli/+question/235448 Hi, my system have a date picker. I need to select 1 month duration. my script is this find(1.png) click(1.png) find(30.png) click(30.png) but then some month consists of 29 or 31 days. How to pick em? Tha

Re: [Sikuli-driver] [Question #234633]: Want to run multiple test script

2013-09-10 Thread hakim johari
Question #234633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/234633 Status: Solved => Open hakim johari is still having a problem: I use this script main.sikuli import script1 import script2 to run multiple test script but now, how to run these testscript a

Re: [Sikuli-driver] [Question #235379]: how to copy part of a string

2013-09-09 Thread hakim johari
Question #235379 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235379 Status: Answered => Solved hakim johari confirmed that the question is solved: yes thanks raiman -- You received this question notification because you are a member of Sikuli Drivers, which is

Re: [Sikuli-driver] [Question #235379]: how to copy part of a string

2013-09-09 Thread hakim johari
Question #235379 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235379 hakim johari confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact

[Sikuli-driver] [Question #235379]: how to copy part of a string

2013-09-08 Thread hakim johari
New question #235379 on Sikuli: https://answers.launchpad.net/sikuli/+question/235379 Hi, I need to copy a string and paste it in other page. This is my task: Copy an IC number from "ready to perso" page and paste it in "update perso status" page The thing is, this IC number in "ready to pers

Re: [Sikuli-driver] [Question #235258]: App.open in remote desktop

2013-09-06 Thread hakim johari
Question #235258 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235258 Status: Answered => Open hakim johari is still having a problem: then I'll just use find and doubleClick method but how can I force terminate the application without clicking the 'X'

[Sikuli-driver] [Question #235258]: App.open in remote desktop

2013-09-06 Thread hakim johari
New question #235258 on Sikuli: https://answers.launchpad.net/sikuli/+question/235258 Hi, I want to open an application by using this script App.open("C:\Program Files (x86)\xxx\xxx.exe") but this folder is actually in my remote desktop connection, eventho the remote desktop is in the backgro

Re: [Sikuli-driver] [Question #235132]: Click random item at the given range

2013-09-04 Thread hakim johari
Question #235132 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235132 Status: Answered => Open hakim johari is still having a problem: 1. I got a bunch of files. I need to pick 1 random file to delete it. The files name will be random when someone's upload it

[Sikuli-driver] [Question #235132]: Click random item at the given range

2013-09-04 Thread hakim johari
New question #235132 on Sikuli: https://answers.launchpad.net/sikuli/+question/235132 Hi, I've got a couple question regarding about scripting of sikuli. 1. How can I click/select a random item (because the name of the item will be different from time to time) in a specific region? 2. How can

Re: [Sikuli-driver] [Question #233368]: report

2013-09-02 Thread hakim johari
Question #233368 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233368 Status: Open => Solved hakim johari confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Driv

Re: [Sikuli-driver] [Question #233368]: report

2013-09-02 Thread hakim johari
Question #233368 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233368 Status: Answered => Open hakim johari is still having a problem: Hi, I cannot open my sikuli IDE as always When I double click my sikuli-ide.cmd They show me this errorĀ  "WARNING: Could

Re: [Sikuli-driver] [Question #106137]: How do I open a website in Windows 7?

2013-08-27 Thread hakim johari
Question #106137 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/106137 hakim johari posted a new comment: ok got it now thanks :) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #106137]: How do I open a website in Windows 7?

2013-08-27 Thread hakim johari
Question #106137 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/106137 hakim johari posted a new comment: ok i can open browser but how do i close it? openApp("C:\Users\user\AppData\Local\Google\Chrome\Application\chrome.exe") wait(2) closeApp("C:\Users\use

Re: [Sikuli-driver] [Question #106137]: How do I open a website in Windows 7?

2013-08-27 Thread hakim johari
Question #106137 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/106137 hakim johari posted a new comment: i try xiaominghuang script but it did not work for me. [error] App.open failed: Google Chrome.app not found and i try change it to chrome.exe [error] App.open failed

Re: [Sikuli-driver] [Question #234633]: Want to run multiple test script

2013-08-26 Thread hakim johari
Question #234633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/234633 hakim johari posted a new comment: turns out that my .py is not the same name as my .sikuli so i change it to be the same and its running good now. Thanks RaiMan and Eugene S -- You received this question

Re: [Sikuli-driver] [Question #234633]: Want to run multiple test script

2013-08-26 Thread hakim johari
Question #234633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/234633 Status: Answered => Solved hakim johari confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sik

Re: [Sikuli-driver] [Question #234633]: Want to run multiple test script

2013-08-26 Thread hakim johari
Question #234633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/234633 Status: Answered => Open hakim johari is still having a problem: i got this kinda error Exception in thread "Thread-22" java.lang.IllegalStateException: No match found at java.util.regex.

Re: [Sikuli-driver] [Question #234633]: Want to run multiple test script

2013-08-26 Thread hakim johari
Question #234633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/234633 Status: Answered => Open hakim johari is still having a problem: after I import my test script, do I need to have some coding as to where are the files located or some sort? -- You received t

[Sikuli-driver] [Question #234633]: Want to run multiple test script

2013-08-26 Thread hakim johari
New question #234633 on Sikuli: https://answers.launchpad.net/sikuli/+question/234633 I have multiple test script and i want to run it sequentially and automatically. How do i do this? I'm new user in sikuli ide and in python language -- You received this question notification because you are a

[Sikuli-driver] [Question #233368]: report

2013-08-01 Thread hakim johari
New question #233368 on Sikuli: https://answers.launchpad.net/sikuli/+question/233368 Hi, i'm currently learning on how to do an automated testing using sikuli. I found it easy to automated testing but i need the testing report like pass, fail or percentage report. If can, please teach me st