Forum Discussion

sanjayram's avatar
sanjayram
Contributor
9 months ago
Solved

Code expression for double click (DblClick)

can anyone give code expression for double click (Dblclick)

 

  • 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();
    }

     

     

2 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    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();
    }

     

     

  • Thanks for the idea , have to implement and revert to back if works