# File example.rb, line 22 def test activate_window "SwingSet" #intentional typo for making the test fail click_button "Table" click_button "JTable" click_button "Printing.Print" dialog_shown "Message" click_button "OK" dialog_closed "Message" dialog_shown "Printing Result" click_button "OK" dialog_closed "Printing Result" assert_number_of_table_rows "JTable_1",46 assert_table_row "JTable_1", 1, "Mark", "Andrews", ANYTHING, "Curse of the Demon", "3.0", ANYTHING end