0

I have used basic data-driven testing to populate fields in Katalon scripts but how do I supply values (in Excel) to click checkboxes and radio buttons, please? Eg where one instance of the script requires a 'true' value, the next run requires 'false'.

What should Katalon action be?

Tutorials only seem to cover basics (eg text into user/password fields).

1

Use IF ELSE condition for check/Uncheck the checkbox same as for radio button also. In Excel store the Checkbox/radio button column value as 1/0 if 1- check 0-uncheck

 if(findTestData('UserGroup').getValue('Name',3)==1)
    {
       For Radio/Checkbox
       write a code to click
    }else{
       For Checkbox 
       write a code to uncheck
    }
  • if its work fine,please vote and press the tick – Vel Guru Mar 19 '18 at 13:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.