34
def get_contact_list_view(self):
36
Returns a ContactListView iobject for the current window
38
return self.wait_select_single( "ContactListView",
39
objectName="contactListView")
41
def get_button(self, name):
43
Returns a Button object matching 'name'
46
name: Name of the button
48
return self.wait_select_single( "Button", objectName=name)
52
Press the 'Cancel' button
54
self.pointing_device.click_object(self.get_button("reject"))
58
Press the 'Save' button
60
self.pointing_device.click_object(self.get_button("accept"))