Let culebra generate the script template for you
$ culebra -VC -d on -o /tmp/kitkat.py
the edit generated /tmp/kitkat.py
script to suit your needs, for example if you want to touch the QSB bar, after the line with the findViewByIdOrRaise()
add the touch()
# class=android.widget.RelativeLayout
com_android_launcher___id_qsb_search_bar = vc.findViewByIdOrRaise("com.android.launcher:id/qsb_search_bar")
com_android_launcher___id_qsb_search_bar.touch()