2012 May 30 8:38 AM
hi everyone,
I have created an abstract class in se24 with attributes and method as instance
and inherited in subclass.
when i am trying to execute, im unable to find instance method name on execution screen.
Please let me know where i went wrong
2012 May 30 9:52 AM
How to create an instance in the test-screen. Please advice. as im new to this OOPS, unable to understand why im getting the problem
2012 May 30 9:38 AM
Hi,
do you have a constructor in you subclass? When yes, you have to create an instance in the test-screen. After creation of this instance, you will see your method.
Kind regards,
Hendrik
2012 May 30 9:52 AM
How to create an instance in the test-screen. Please advice. as im new to this OOPS, unable to understand why im getting the problem
2012 May 30 10:02 AM
Hi,
no problem.
When you are in the class browser (se24) - just press F8 and then you get a button "Instance" in the toolbar. This will only appear, if you have a constructor in your class - otherwise you will get immediatly an instance created.
Perhaps, you have defined your method as "protected". In this case, the Test-Tool cannot display your method, because it cannot "see" it in the interface-specifiation of the class.
Kind regards,
Hendrik
2012 May 30 11:08 AM
Hi Hendrik
thanks for the help. i have resolved myself but it was same as you mentioned.
Regards
gurug
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |