Tanner F
unread,Jul 9, 2013, 7:06:35 PM7/9/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to appium-...@googlegroups.com
Hello, I am trying to get a swipe to work on iOS using Ruby on NetBeans (yes I am aware of it not being supported).
I want to create a 'swipe' function that goes from (StartX, StartY) to (EndX, EndY), not within a specific element. However I am unsure as to how to write the code that will correlate to a swipe appium correctly.
So far I have tried something roughly like this within a class and file called control:
def swipe(startX, startY, endX, endY, element)
end
Within the actual call looking something like this:
def self.SwipeArcDrawer()
swipe(448.0,931.2, 115.2, 921.6, archiveswatchBtn)
end
I have not seen much documentation of my specific case to help.
Let me know of any questions you have, thanks in advance!