‎2009 Apr 28 3:47 PM
How to test instance methods? When I click on Execute in a class, the static methods can be seen for testing but I do not see the instance methods.
‎2009 Apr 28 3:54 PM
You need to create an "Instance". Use the menubar button "Instance" to create an instance. Now, you would be able to see your instance methods.
Regards,
Naimesh Patel
‎2009 Apr 28 3:54 PM
You need to create an "Instance". Use the menubar button "Instance" to create an instance. Now, you would be able to see your instance methods.
Regards,
Naimesh Patel
‎2009 Apr 28 3:55 PM
‎2009 Apr 28 4:29 PM
Actually, you really can't miss it. It is in the application toolbar, a button with name 'Instance'.
In which screen are you looking for this button? Upon entering the class name (SE24), or even when displaying it, you should first press F8 (the button with the Micrometer, same as for testing function modules). Next a pop-up screen will appear (at least most of the times that is). Just press ENTER, and on the next screen you will (I hope) see your 'instance' button.
‎2009 Apr 28 9:44 PM
I get it now. I was trying one of the SALV classes and it did not have the instance button. But when I tried another class it does have it. Thank you.