[Sikuli-driver] [Question #270546]: Comparing texts between 2 versions of my application

2015-08-19 Thread Sahil Dev
New question #270546 on Sikuli: https://answers.launchpad.net/sikuli/+question/270546 In my application, I generate a text file as the end result. The text file is is a huge file (sometimes several MB , sometimes even a GB). I want to use Sikuli to find out if the contents of the text file in th

Re: [Sikuli-driver] [Question #270546]: Comparing texts between 2 versions of my application

2015-08-19 Thread RaiMan
Question #270546 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270546 Status: Open => Answered RaiMan proposed the following answer: principally yes, using the image compare feature, but very complex to program (SikuliX only sees, what you see on the screen at one moment)

Re: [Sikuli-driver] [Question #270546]: Comparing texts between 2 versions of my application

2015-08-19 Thread Eugene Maslov
Question #270546 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270546 Eugene Maslov proposed the following answer: The files can be compared with Python features, there is no need to call Sikuli functions for that. content1 = open('d:/file1.txt', 'r').read() content2 = open('d

Re: [Sikuli-driver] [Question #270546]: Comparing texts between 2 versions of my application

2015-08-20 Thread Sahil Dev
Question #270546 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270546 Status: Answered => Open Sahil Dev is still having a problem: Thank you very much. Is it possible to compare the content of a table using Sikuli functions (or a Python feature as explained by Eugene Mas

Re: [Sikuli-driver] [Question #270546]: Comparing texts between 2 versions of my application

2015-08-20 Thread RaiMan
Question #270546 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270546 Status: Open => Answered RaiMan proposed the following answer: again: SikuliX does not have any of these compound features you are looking for. you have to use appropriate tools and/or script/program yo

Re: [Sikuli-driver] [Question #270546]: Comparing texts between 2 versions of my application

2015-08-20 Thread Eugene Maslov
Question #270546 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270546 Eugene Maslov proposed the following answer: correction for the last line print "cell "+str(ln)+":"+str(cell)+ " is different" -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #270546]: Comparing texts between 2 versions of my application

2015-08-20 Thread Eugene Maslov
Question #270546 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270546 Eugene Maslov proposed the following answer: Well, compare the tables with Python cell by cell. content1 = open('d:/file1.txt', 'r').readlines() content2 = open('d:/file2.txt', 'r').readlines() different=