Automation Testing using Protractor

Posted by: Shalini89garg on 2 April 2018, 1:23 am EST

    • Post Options:
    • Link

    Posted 2 April 2018, 1:23 am EST

    Hello

    Need urgent help on how to do automated testing in spreadjs Using protractor .

    since spread.js uses canvas ,i am unable to use css selector. Please give suggestions

  • Posted 2 April 2018, 10:06 am EST

    Hello,

    I am not much familiar with protractor however to get the SpreadJS instance you can use something like:

    var spread = new GC.Spread.Sheets.Workbook(document.getElementById(“ss”));

    You can also use findControl() method to get an existing instance as shown here:

    var spread = GC.Spread.Sheets.findControl(document.getElementById(“ss”));

    Thanks,

    Deepak Sharma

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels