mardi 1 septembre 2015

marathonITE script to tick a checkbox in a JTable cell

I'm using marathonITE testing tool to automate testing of a java swing application.

In one of the windows i have a JTable with 6 columns and N number of rows. Two columns of that table are checkbox type columns.

My requirement is to write the automation script to tick the check box when the row and column is given.

select('table', 'true', '[row=1][column=0]')

I tried this line but it directs the script to

class Fixture:


def teardown(self):
    '''Marathon executes this method at the end of test script.'''
    pass

which then stops the process.

Is there a way to tick the checkbox within a table when column and row is given?




Aucun commentaire:

Enregistrer un commentaire