Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-27 Thread Test
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Test posted a new comment: The wait didn't work for me. The GUI is quite responsive and detects a click and drag quite readily. I shall send an email to you within the next 3-4 hours detailing the

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-27 Thread RaiMan
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 RaiMan posted a new comment: great, thanks. Might help in the end to improve the API. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-26 Thread Test
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Status: Answered = Open Test is still having a problem: Ok, that makes sense, but why would I see the cursor moving to the intended location in that case? Oh and item 2 is dragged instead of item 4

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-26 Thread Test
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Status: Open = Solved Test confirmed that the question is solved: When I tried this out: ref = find(image.png).getCenter() I get this error: [error] TypeError ( offset(): expected 2 args; got 1 )

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-26 Thread RaiMan
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 RaiMan posted a new comment: --- error] TypeError ( offset(): expected 2 args; got 1 ) ref = find(image.png).getCenter() now ref is a Location object and it's offset() function is defined as getting x and

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-26 Thread RaiMan
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Assignee: None = RaiMan -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-24 Thread Test
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Description changed to: Hey, I have a script which has to execute a dragDrop function. The GUI I'm testing against has a list of items in a sort of list (each in a rectangular box): item1 item2 item3 item4

[Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-24 Thread Test
New question #242702 on Sikuli: https://answers.launchpad.net/sikuli/+question/242702 Hey, I have a script which has to execute a dragDrop function. The GUI I'm testing against has a list of items in a sort of list (each in a rectangular box): item1 item2 item3 item4 And I need to drag 1 item

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-24 Thread Test
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Description changed to: Hey, I have a script which has to execute a dragDrop function. The GUI I'm testing against has a list of items in a sort of list (each in a rectangular box): item1 item2 item3 item4

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-24 Thread Test
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Description changed to: Hey, I have a script which has to execute a dragDrop function. The GUI I'm testing against has a list of items in a sort of list (each in a rectangular box): item1 item2 item3 item4

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-24 Thread Test
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Description changed to: Hey, I have a script which has to execute a dragDrop function. The GUI I'm testing against has a list of items in a sort of list (each in a rectangular box): item1 item2 item3 item4

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-24 Thread RaiMan
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Status: Open = Answered RaiMan proposed the following answer: To make things like that robust, you first should evaluate the geometrics of your list and then check using highlight() and/or hover() to

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-24 Thread Test
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Status: Answered = Open Test is still having a problem: I will take some time to try it out, but I'm not sure if that's the problem because I use that same variable as a reference point for other

Re: [Sikuli-driver] [Question #242702]: dragDrop not working correctly

2014-01-24 Thread RaiMan
Question #242702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/242702 Status: Open = Answered RaiMan proposed the following answer: definitely: if item 4 is dragged, where you expect item 2 to be dragged, then the offset values do not fit (are wrong). This happens, if