cancel
Showing results for 
Search instead for 
Did you mean: 

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

Re: dataSource grid - active | deactivate checkbox

What are you trying to achieve?


Regards,
Rao.
GroovyErik
New Contributor

Re: dataSource grid - active | deactivate checkbox

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

nmrao
Community Hero

Re: dataSource grid - active | deactivate checkbox

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


Regards,
Rao.
GroovyErik
New Contributor

Re: dataSource grid - active | deactivate checkbox

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. 

 

nmrao
Community Hero

Re: dataSource grid - active | deactivate checkbox

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.
New Here?
Join us and watch the welcome video:
Top Kudoed Authors