Opening test window from plugIn for package procedure

alterzx

Member
Hello!
How can i open new test window for procedure/function in package from my custom PlugIn?
I've tried call IDE_ObjectAction('TEST', 'FUNCTION', 'MYSCHEMA', 'MYPACKAGE.MYFUNCTION')
but PLSQL Developer throws error:
'Object MYPACKAGE.MYFUNCTION has been deleted'
and opens blanc test window.
Is there any way to open test window for my procedure as the popup 'Test' command for selected function/procedure?
 
Last edited:
no its not grant problem/
IDE_ObjectAction does not "understand" package functions. (i think because its does not support parameter "SubName")
if i pass schema function, it works fine
IDE_ObjectAction('TEST', 'FUNCTION', 'MYSCHEMA', 'MYSCHEMAFUNCTION')
 
thanks, there's no information in the plugin interface documentation about that, until today i didn't use this.

@Marco: Can You confirm this?
 
I do not know if it is correct, but try this

IDE_ObjectAction('TEST', 'PACKAGE', 'MYSCHEMA', 'MYPACKAGE.MYFUNCTION')

The objects you want to test is a function within a package, so I think the object type need to reflect it - and you need to target it as such.

It is likely to say the function has been deleted because it is _NOT_ a function.
 
Back
Top