Troubleshooting
Unable to Select Radiobutton
There are situations where unselect or select nlp might not work and may need to be handled in a different manner. Please perform the below mentioned steps to troubleshoot, debug and fix the issue:
-
Validate the Xpath/property used to identify the element.
-
Check if the type of the element is mentioned as radiobutton.
-
Validate if there are other tags pointing to the same radio button element.
-
Check if other tags have a type as radiobutton.
-
Validate by writing an Xpath for the other tag pointing to the radio button.
-
Update the step in Testsigma for the new element and make sure to update the nlp as click instead of unselect/select.
-
Execute and this should work
Reason to change the nlp to click is because select/unselect nlp has a check to validate the radio button element itself with type as radiobutton, if the element does not have the type attribute as radiobutton it will not work.