Ask a Question

dataSource grid - active | deactivate checkbox

GroovyErik
New Contributor

dataSource grid - active | deactivate checkbox

Hi there,

 

With the dataSource teststep, i created a 'grid'

Is there a possibility to activate or deactivate the checkbox via Groovy?

If YES, can u please provide the code to me?

If NO, is there a other solution to preform this action?

 

Regards,

 

GroovyErik

5 REPLIES 5
nmrao
Community Hero

What are you trying to achieve?


Regards,
Rao.

I would like to 'activate' [true] or 'deactivate' [false]  the value of checkboxes at the left side of the image that i sent, via Groovy

That is not what is requested. Enable / disable is implicit by tick / untick.
What is your use case?


Regards,
Rao.

have a grid with 21 rows and 5 coumns .

with the input of a other teststep i would like to determain which row needs to be activated, so when i use the datasource grid teststep, i only get the data of the active row. 

 

Thank you.
Are you importing data from a spreadsheet? Possible to show sample columns and row data? Need not not be exact, just example values enough. And based on which column you want to execute certain row or not?


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: