def step_impl(context): for row in context.table: squishtest.activateItem(squishtest.waitForObjectItem(":Address Book_JMenuBar", "Edit")) squishtest.activateItem(squishtest.waitForObjectItem(":Edit_JMenu", "Add...")) squishtest.type(squishtest.waitForObject(":Address Book - Add.Forename:_JTextField"), row["firstname"]) squishtest.type(squishtest.waitForObject(":Address Book - Add.Surname:_JTextField"), row["lastname"]) squishtest.type(squishtest.waitForObject(":Address Book - Add.Email:_JTextField"), row["email"]) squishtest.type(squishtest.waitForObject(":Address Book - Add.Phone:_JTextField"), row["phone"]) squishtest.clickButton(squishtest.waitForObject(":Address Book - Add.OK_JButton"))
def step_impl(context): for row in context.table: squishtest.activateItem( squishtest.waitForObjectItem(":Address Book_JMenuBar", "Edit")) squishtest.activateItem( squishtest.waitForObjectItem(":Edit_JMenu", "Add...")) squishtest.type( squishtest.waitForObject( ":Address Book - Add.Forename:_JTextField"), row['firstname']) squishtest.type( squishtest.waitForObject( ":Address Book - Add.Surname:_JTextField"), row['lastname']) squishtest.type( squishtest.waitForObject(":Address Book - Add.Email:_JTextField"), row['email']) squishtest.type( squishtest.waitForObject(":Address Book - Add.Phone:_JTextField"), row['phone']) squishtest.clickButton( squishtest.waitForObject(":Address Book - Add.OK_JButton"))
def step_impl(context): squishtest.activateItem( squishtest.waitForObjectItem(":Address Book_JMenuBar", "File")) squishtest.activateItem( squishtest.waitForObjectItem(":File_JMenu", "New..."))
def step_impl(context): squishtest.activateItem(squishtest.waitForObjectItem(":Address Book_JMenuBar", "File")) squishtest.activateItem(squishtest.waitForObjectItem(":File_JMenu", "New..."))