Armado Posted March 3, 2017 Share Posted March 3, 2017 Hi, I am trying to fetch the right object i.e. SAP transaction code VA01 where you can enter the order type etc. While using the finder tool it is only fetching the whole screen, but not only the relevant part as order type where i want to enter my values by my script. Even while I am trying to do MouseClick by fetching the values from Finder Tool it is not working. See screenshot it is not fetching the yellow marked position to enter the order type Can somebody solve my issue? Thanks and br Armado Link to comment Share on other sites More sharing options...
Armado Posted March 3, 2017 Author Share Posted March 3, 2017 I tried it like this: winwait('SAP Easy Access') WinActivate('SAP Easy Access') MouseClick('primary',80,62,1,0) Send('/NVA01') Send('{ENTER}') winwait(300) WinActivate('Kundenauftrag anlegen: Einstieg') MouseClick('primary',190,213,1,0) ----> This is not working!!!!! Send('TA') Send('{ENTER}') Link to comment Share on other sites More sharing options...
junkew Posted March 3, 2017 Share Posted March 3, 2017 Check examples iuiautomation simplespy FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Armado Posted March 3, 2017 Author Share Posted March 3, 2017 Hi junkew, how to find and use them? Sorry I am totally new with Autoit. Thanks Armado Link to comment Share on other sites More sharing options...
jitb Posted March 4, 2017 Share Posted March 4, 2017 Wrong tools, lookup SAP udf and SAPwizard Link to comment Share on other sites More sharing options...
Armado Posted March 4, 2017 Author Share Posted March 4, 2017 Are there some examples which i can use for it? Thanks Link to comment Share on other sites More sharing options...
Armado Posted March 4, 2017 Author Share Posted March 4, 2017 Can't find any examples here how to solve the issue. Thanks! Link to comment Share on other sites More sharing options...
junkew Posted March 4, 2017 Share Posted March 4, 2017 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Armado Posted March 4, 2017 Author Share Posted March 4, 2017 Thanks junkew, will check the simple spy thing as this could be the right method ;). Thanks! Link to comment Share on other sites More sharing options...
jitb Posted March 7, 2017 Share Posted March 7, 2017 (edited) Do you have the scriptable version of SAP? The pages with SAP UDF has Samples, SAPWizard will help define the target. With out access to the VA01 screen I can only point you in the right direction, Do you have any receiving/stores, as opposed to punching, screens you need access to? Edited March 7, 2017 by jitb Link to comment Share on other sites More sharing options...
Armado Posted March 8, 2017 Author Share Posted March 8, 2017 Hi jitb, no I do not have the scripting enabled in SAP. But I helped my self with using only once the mouse click and then only by tab or/and left or right and entering values. This works fine for now for me. Thanks Armado Link to comment Share on other sites More sharing options...
jitb Posted March 9, 2017 Share Posted March 9, 2017 How sad (Scripting not enabled) But I'm glad you found a solution :-) Link to comment Share on other sites More sharing options...
Armado Posted March 10, 2017 Author Share Posted March 10, 2017 thx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now