cancel
Showing results for 
Search instead for 
Did you mean: 

(VB.net) how to press a pressToolbarButton ??

former_member973299
Discoverer
0 Kudos

Hello,

I access to sap with scripting routine, but, i can't press a "pressToolbarButton", example:

     session.findById("wnd[0]/usr/cntlPEDI_HDR_CONTAINER/shellcont/shell").pressToolbarButton "CRE_DTL"    (FROM SCRIPT RECORD)

¿How to translate this in vb.net? and i tried with this:

     session.findById("wnd[0]/usr/cntlPEDI_HDR_CONTAINER/shellcont/shell").pressToolbarButton("CRE_DTL")

but not work.

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_brutigam2
Active Participant
0 Kudos

Hi Carlos,

That should do so ?

What type of Control is this?" usr/cntlPEDI_HDR_CONTAINER/"

Can you upload a picture of this?