Question #280249 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/280249
Description changed to:
Hi,
I am new in using Sikuli and for now I like it.
I have some project to finish with no strict deadline but rather sooner then
later. Like always I had little problems...
1) For getting log message I use:
Settings.ActionLogs = True
Settings.InfoLogs = True
Settings.DebugLogs = True
Settings.LogTime = True
Debug.setLogFile("C:\Users\xxyyxxyy\SikuliX.sikuli\\Sikuli.log")
But it seems to me that first 2, Action and Info does not participate in
my log file... Probably I didn't use them correctly... Maybe I'm doing
all wrong but the thing is I wanna have as much as possible information
about simulation steps and problem that maybe can occur.
2) I wanna have (let's say) 7 string values stored in field and then I wanna
create loop that goes through all that values for unlimited number of times...
So I have idea but I don't have realization. I read many of your answers to
similar problems but don't know to implement them. In few lines above I will
try to present an idea, code is from head not following python syntax because I
don't know her.
myList = (Str1, Str2, Str3, Str4, Str5, Str6, Str7)
while True:
for entry in myList
#for every element of myList
type(Key.ENTER)
#press Enter
while not exists(img):
#this enters program... while not exists waits for img error to appear... or
timeou
for ???
#some period ~1740 sec
type(Key.TAB, KeyModifier.CTRL) #switch between IE
tabs (one program and one non matter)
-->basically loop need's to do... if error occurs in let's say 9th minute quits
Str1 and go to other Str2 (log error somewhere)... If Str2 holds for all 30
minutes then error will also occur but that is OK behavior(log this also)...
And so on until all Str1-Str7 are tested... And then all that for 3 times...
maybe with "for n in range(10):"?
Br,
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp