multiple checkboxes

can katalon check a multiple checkboxes in one command or can i get the custom keyword for it


Hi Ricky,

you can create your own command. Example: (I haven’t tested it, but it should work)

List<TestObject> checkboxes = new ArrayList<TestObject>()
checkboxes.add(findTestObject("Path/To/Object1"))checkboxes.add(findTestObject("Path/To/Object2"))checkboxes.add(findTestObject("Path/To/Object3"))for(TestObject to : checkboxes) {    WebUI.check(to)}
1 Like

I have similar issue:
How can I implement the code to take value from TestData (1/0)?