Table view cell not taping

24 views
Skip to first unread message

Raheel Mateen

unread,
May 23, 2014, 7:29:50 AM5/23/14
to zucchini...@googlegroups.com
class PlayerFirstDetailScreen extends Screen
  anchor: -> $('navigationBar[name=Player Details]')

  constructor: ->
    super 'playerfirstdetail'

    extend @elements,
    'Return' : -> view.navigationBars()[0].buttons()[0]
    'Add Player / Save' : -> view.navigationBars()[0].buttons()[1]
    'Camera' : -> view.tableViews()[0].cells()[0]
    'FirstName' : -> view.tableViews()[0].cells()[1]
    'SecondName' : -> view.tableViews()[0].cells()[2]



and this is my zucchini script

Then on the "PlayerFirstDetail" screen:
  Show elements
  Type "raheel" in the "FirstName" field
  Type "raheel1" in the "SecondName" field
  Take a screenshot
  Show elements
  Tap "Save & Add Another"


the problem is that raheel and raheel1 is written in the same cell and the second name is not scrolling please give me feedback .

thanks

Tony Mann

unread,
May 25, 2014, 8:45:46 AM5/25/14
to zucchini...@googlegroups.com
Does your code normally scroll the second name field into view? I do not believe UIAutomation will do this for you for controls within a cell.

Tony

--
You received this message because you are subscribed to the Google Groups "Zucchini Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zucchini-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages