Forum Discussion

userdanfoss's avatar
userdanfoss
Occasional Contributor
5 years ago
Solved

Findchildbyxpath in testcomplete

I am trying to click on the object which appears when we do mouse hover.

But i am not able to click on it.

Testcomplete fails to capture the unique object with recording so i am using xpath .

please see below eg.

NameMapping.Sys.browser.pagePlus1Connect3.panelRoot.panel.panel.panel.panel.panel.panel.panel.panel.HoverMouse();
let widconfig = page.FindChildByXPath("//span[@title='Widget configuration']",true);

obj.Click();

 

Now here widconfig.Click() is not allowed. I am getting the error