Hi,
> is that ok?
Yes, it is. š
Actually, this is what I expected to see.
As you can see from the markup, there is no actual check-box there, but just a span element styled to look like check-box, with no text and presentation role. Such elements are excluded from the objects hierarchy in TestComplete as documented here: https://support.smartbear.com/testcomplete/docs/app-testing/web/general/object-identification/tree-model-elements.html.
Unless you can solve this problem with your Development, the following workaround can be used:
-- Find the element that works as a label for this pseudo check-box ('Megtekintes' as per your screenshot);
-- Try to click, say, 5 pixels to the left from label's left border
Pseudocode:
var label = page.FindChild('value', 'Megtekintes', 50);
label.Click(label.Left - 5, label.Top + label.Height / 2);
OR
-- use the .FindChildByXPath() method to find the span element itself.
Note, that in this case, as this span element is absent in TestComplete's Objects Tree, as a search result you will get not TestComplete's object, but native DOM one. In order to click this object, native .click() method must be used (note small 'c' at the beginning):
var checkbox = page.FindChildByXPath(<XPath>);
checkbox.click();
It is expected that the value of some attribute of the span element will change after the click.
You may use the native .getAttribute() method (if I remember it correctly) to get the value of this property and determine the state of this pseudo check-box (checked or unchecked).
Hope this will help.