Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

im unable to find instance method name on execution screen

Former Member
0 Likes
856

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
766

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

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

4 REPLIES 4
Read only

hendrik_brandes
Contributor
0 Likes
766

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

Read only

Former Member
0 Likes
767

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

Read only

0 Likes
766

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

Read only

0 Likes
766

Hi Hendrik

thanks for the help. i have resolved myself but it was same as you mentioned.

Regards

gurug