我正在使用 marathonITE 测试工具来自动测试 java swing 应用程序。
在其中一个窗口中,我有一个 6 列和 N 行的 JTable。该表的两列是复选框类型的列。
我的要求是编写自动化脚本以在给出行和列时勾选复选框。
select('table', 'true', '[row=1][column=0]')
我尝试了这一行,但它将脚本定向到
class Fixture:
def teardown(self):
'''Marathon executes this method at the end of test script.'''
pass
然后停止该过程。
当给出列和行时,有没有办法在表格中勾选复选框?