Forum Discussion

sanjayram's avatar
sanjayram
Contributor
2 years ago

Code expression for double click (DblClick)

can anyone give code expression for double click (Dblclick)  
  • rraghvani's avatar
    2 years ago

    Here's an example of using double click on text,

     

    function Test()
    {
        // URL https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_ondblclick
        var page = NameMapping.Sys.browser.Page("https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_ondblclick");
        var text = page.Panel("container").Panel("iframecontainer").Panel("iframe").Panel("iframewrapper").Frame("iframeResult").TextNode(2);
        text.DblClick();
    }