Is it possible to call a method from Protractor and retrieve the returned value?
For instance, if I am using the jqxGrid
widget which has a method that returns table details in JSON format, how can I access this variable in my Protractor project?
The method I need to invoke in the project:
var table = $("#Grid").jqxGrid('exportdata', 'json');
The test case in Protractor:
it("Retrieve table data", function(){
});