Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

Complete Workflow using VBA (GUI) scripting

$
0
0

Hi,

 

  I have automated the Workflow processing process in SAP using GUI Scripting. User have to feed the required information in the Excel. Upon clicking a button, system will process the Workflow item from SAP automatically.

 

In this process, as the last step, system shows a prompt which has  "Complete Work Item" button. As per the process, user have to click this button to complete the workflow.

 

When I execute the automation script, system is not recognizing the steps for Clicking "Complete Work Item" button. Please refer the below code,

 

                    session.findById("wnd[0]").sendVKey 11

 

                     session.findById("wnd[1]").sendVKey 8    'This is the code for Clicking the button from the prompt.


WF.jpg


because of this issue, I can't use my automation script.


Note: I have tried to point the focus in the prompt using Tab key. But the Tab key press is not recorded in the script from the SAP system.



Could you please help me in this regard. Let me know, if you need any more information.


Regards,

Vijay.



Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>