drag_thumb_in_slider example

27 views
Skip to first unread message

Sean O Shea

unread,
May 17, 2013, 8:58:38 AM5/17/13
to frank-...@googlegroups.com
Hi there,

I just got started with Frank and I'm trying to automate some tests for my UISlider in my iOS app. Here's the frank method that I'm trying to execute:

tap_and_hold_point("view:'UISlider' marked:'settings-bet-view-slider'", "15", "13")
drag_thumb_in_slider_with_default_duration("view:'UISlider' marked:'settings-bet-view-slider'", "10")

and this is what I'm getting in Console:

17/05/2013 13:55:14.802 BetfairAppAutomation[80748]: tapping at (55.50,311.00)
17/05/2013 13:55:15.857 BetfairAppAutomation[80748]: Using Shelley PRODUCT_VERSION to select views with selector: view isAnimating
17/05/2013 13:55:15.859 BetfairAppAutomation[80748]: Using Shelley PRODUCT_VERSION to select views with selector: navigationItemView marked:'Bet View'
17/05/2013 13:55:15.861 BetfairAppAutomation[80748]: Using Shelley PRODUCT_VERSION to select views with selector: view:'UISlider' marked:'settings-bet-view-slider'
17/05/2013 13:55:15.861 BetfairAppAutomation[80748]: long tapping at (30.00,133.00) for 1.0 seconds
17/05/2013 13:55:16.864 BetfairAppAutomation[80748]: Using Shelley PRODUCT_VERSION to select views with selector: view:'UISlider' marked:'settings-bet-view-slider'
17/05/2013 13:55:16.866 BetfairAppAutomation[80748]: Using Shelley PRODUCT_VERSION to select views with selector: view:'UISlider' marked:'settings-bet-view-slider'
17/05/2013 13:55:16.868 BetfairAppAutomation[80748]: Using Shelley PRODUCT_VERSION to select views with selector: view isAnimating
17/05/2013 13:55:16.877 BetfairAppAutomation[80748]: Using Shelley PRODUCT_VERSION to select views with selector: view isAnimating

When I look at the emulator, I can see the tap getting registered on my UISlider, but the drag_thumb_in_slider_with_default_duration method doesn't seem to have any impact.

Any ideas on what I might be doing wrong here? Is there any way to get some more debug information out of Console which might lead me to understand why this isn't working for me?

Cheers,

Sean
Reply all
Reply to author
Forward
0 new messages