[Sikuli-driver] [Question #216257]: Testing Editor Scalability testing with SIKULI - typing naturally
New question #216257 on Sikuli: https://answers.launchpad.net/sikuli/+question/216257 I'm trying to speed up an editor for large fortran files, and trying to test my tweaks using Sikuli. The problem is that if I was to type in a file with 20,000 lines, the editor becomes unresponsive. But when I ask Sikuli to type into a 20,000 line file, the editor manages to typet out whatever I ask it too (It seems like its hanging but typing invisibly until all the text is pasted). I have tried putting in wait statements in between words to allow reconciling to take place, but nothing seems to be able to slow down the sikuli script. Because of this both tests(One with scalability options turned on, one without) show the same results, but I know this isn't true through manual testing. Any idea as to how I can replicate human typing but through automation, or make Sikuli wait for the text to show up before it continues typing? -- You received this question notification because you are a member of Sikuli Drivers, which 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 #216288]: how to loop the creation of a file containing a list from wich an element is extracted, and a new file containing the reduced list, is created.
New question #216288 on Sikuli: https://answers.launchpad.net/sikuli/+question/216288 Trying to test a sort of Paint program, how can i loop the process describe above? I tried this and i don't find the way to set 'x.txt' and 'x+1.txt as variables, changing each time the file is called. Here is: import random # a list called '1.txt' that contains the string royglvubdkaw is in the C:\\python_texts\\ folder. alist = ('1','2','3','4','5') #1 already exists, the others should be created one by one when the for loop runs. x = 1 for x in alist: inp = open(C:\\python_texts\\x.txt,r) #open an existing file x.txt outp = open(C:\\python_texts\\x + 1.txt,w) #write the result (of the below 'for') in #a new file. for line in inp: alist= list(line) #from a list in the file print alist c = random.choice(alist) #choose an element from the list print c alist.remove(c) #remove it print alist for a in alist: outp.write(a) #write the new list in x+1.txt file x = x + 1 outp.close()#close the file to be read inp.close() #close the file to be written I get: IOError: (2, 'No such file or directory', 'C:\\python_texts\\x.txt') -- You received this question notification because you are a member of Sikuli Drivers, which 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 #216298]: Do you realize what this is capable of?
New question #216298 on Sikuli: https://answers.launchpad.net/sikuli/+question/216298 I basically know nothing about programming. But i do know if you get a group of programmers you can make any program you want. I am an elecrtronic engineer and know its all just 101010 well If you don't know that answer then Good Luck. -- You received this question notification because you are a member of Sikuli Drivers, which 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