Unable to check radio button by id?

Hi All,

I am struggling with radio button, I have 4 radio buttons with yes or no value and they have different id. Is it possible to click or check them by their id?
What I have done is:

  1. Find test object by id as testObject
  2. Then WebUI.check(testObject)

Here is the error I’ve got:
Caused by: org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element is not clickable at point (78, 565). Other element would receive the click:

Thanks in advance.

That usually means something else is covering the element you’re trying to click.

Make sure you wait long enough for the element to appear properly. You can prove if this is the problem by using a silly delay like WebUI.delay(10). If it works, then you know it’s a timing issue, so try WebUI.waitForElementVisible().

Make sure the element is not scrolled out of view.