Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3510

Re: QUnit testing for SAP UI5 apps

$
0
0

Hi,

 

Thanks for the response.

 

Yes I have already done that but its not able to access the method . As the structure of the controller file is

sap.ui.controller("MyController", {

 

     myMethod: function(){}

 

}

 

And I am not able to directly access the method using name_of_controller.method_name().

 

In normal JS files, the structure will be something like this:


jQuery.sap.declare("file");


MyTestFile = {

      myMethod: function(employeeID){

}}


In this case we can directly access method using dot operator.


But that is not happening in controller's case.


Regards,

Anupriya






Viewing all articles
Browse latest Browse all 3510

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>