From SmartBear Support:
The issue is reproducible at our end and we are escalating this issue to our dev team. We will update you ASAP.
Workaround of the issue : Try adding one extra click()/ClickButton() in Script/Keyword Test.
function Test1()
{
Browsers.Item(btEdge).Navigate("https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.w3schools.com%2Fjsref%2Ftryit.asp%3Ffilename%3Dtryjsref_alert&data=05%7C01%7Cjkrolczyk%40finthrive.com%7C27f3634bfcb5497a263d08dbb05cf08c%7C7275f0e583644ca28e546482cff5601e%7C0%7C0%7C638297685469162290%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=n%2BF0ODCmZN2zK%2BzNFA6Q7PDDfanmoodk2pNZUqGTel8%3D&reserved=0");
let browser = Aliases.browser;
browser.BrowserWindow.Maximize();
let page = browser.pageW3schoolsTryitEditor;
page.frameIframeresult.buttonTryIt.ClickButton();
page.Alert.buttonOk.ClickButton();
page.Alert.buttonOk.ClickButton();
}
Just to add further here:
I do my scripts through scripting.
I have tried the Click(), ClickButton(), DblClick(), Click()&Click(), and Click(x,y) and Click(x,y),Click(x,y)
These will work and then not work - so these are good tries but not reliable 100%
Obviously the best solution is just one Click() which SmartBear will fix soon for all 🙂