1 | html_dijit_Toolbar_1().performTest(dijit_Toolbar_1_standardVP()); |
1 | table_htmlTable_null2().performTest(HtmlTable_null_grid_2VP()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | // Test object: Filter button button_filter().click(); // Test object: the first dropdown box table_dijit__WidgetsInTemplate().click(atCell(atRow(atIndex(0)),atColumn(atIndex(1)); // the first combobox selection comboListBox_dijit__WidgetsInT().click(atPoint(76,29)); // Test object: the second dropdown box table_dijit__WidgetsInTemplate2().click(atCell(atRow(atIndex(0)), atColumn(atIndex(1)))); // the second combobox selection comboListBox_dijit__WidgetsInT2().click(atPoint(64,12)); // text box input text__00825().setText("0085"); // Test object: filter button in dialog button_filter2().click(); |
1 | System.out.println(eGrid().getTestDataTypes()); |
1 2 | ITestData eGrid = (ITestData) grid_gridx_Grid_1().getTestData("text"); System.out.println(eGrid); |
1 2 3 4 5 6 7 8 | int startIndex = 0; int count=-1; do{ startIndex = eGrid.toString().indexOf("00263320_0000", startIndex); count++; } while(startIndex!=-1); System.out.println(count); |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |