Source

Then/^the dialog "([\w\s]*)" should have one of:$/do|dialog_title,message_text_table|# table is a Cucumber::Ast::Tabledialog_fixture=WindowFinder.find_dialog(DialogMatcher.with_title(dialog_title)).using($robot)the_display_area_label=dialog_fixture.label(label_matcher_with_pattern("<html>.*html>"))any_text_is_in_text_component(message_text_table,the_display_area_label).shouldbe_truedialog_fixture.button().clickend