siva2503 Posted August 1, 2012 Share Posted August 1, 2012 HI Geeks,Am new to autoit , who has found auto it so interesting.am trying to automate SAP, where almost all the windows have a single ID ,the parameter that only differs is the position(coords).I have attached the Summary of the window in which i need to enter a value at the ControlClick Coords(351, 164). >>>> Window <<<<Title: Test Method CHECK_ALL: Maintain Input ParametersClass: SAP_FRONTEND_SESSIONPosition: -4, -4Size: 1372, 746Style: 0x170F0000ExStyle: 0x00000110Handle: 0x00020ED2>>>> Control <<<<Class: Afx:008C0000:1008Instance: 1ClassnameNN: Afx:008C0000:10081Name: Advanced (Class): [CLASS:Afx:008C0000:1008; INSTANCE:1]ID: 100Text: Position: 0, 96Size: 1364, 582ControlClick Coords: 351, 164Style: 0x56300000ExStyle: 0x00000010Handle: 0x00210F60>>>> Mouse <<<<Position: 351, 291Cursor ID: 0Color: 0xFFFFFF>>>> StatusBar <<<<>>>> ToolsBar <<<<>>>> Visible Text <<<<>>>> Hidden Text <<<<Custom ContainerControl ContainerSplitterFrameCustom ContainerControl ContainerSAP's Advanced TreelistCustom ContainerThere are lot more text boxes in the window ,hope i could figure them out if somebody can help with this..almost all the queries posted in this forum have been answered,thats the only thing motivated me to post this. Waiting with hopes,Thanks in advance..N.s.k Link to comment Share on other sites More sharing options...
water Posted August 1, 2012 Share Posted August 1, 2012 To automate SAP I would have a look at the My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
siva2503 Posted August 8, 2012 Author Share Posted August 8, 2012 Thanks a Ton.... am very new to this awsome tool and i could automate almost all parts of SAP that i need using that SAP UDF. Thanks again:)But am facing problems when i try to handle the tables in SAP... Which mostly doesnt have seperate IDs(there is single Id for the whole table)..Is there any possible way???? am planning to do a Demo in my ofc tomw....ur rply will be more helpful for that.....Waiting with HopesThanks in advanceN.s.k Link to comment Share on other sites More sharing options...
water Posted August 8, 2012 Share Posted August 8, 2012 Unfortunately I have only done a small script with the SAP automation UDF. Then there was an easier way to do what I needed by exporting the data to a flat text file every night. I hope you can find a solution on the forum or you can ask the creator of the UDF. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
siva2503 Posted August 13, 2012 Author Share Posted August 13, 2012 Could you please direct me or my query to "the creator of the UDF."????? could any1 plz... Link to comment Share on other sites More sharing options...
siva2503 Posted August 16, 2012 Author Share Posted August 16, 2012 (edited) Hi Geeks,,Its me again:(Am struggling with the same issue till now.. couldnt handle SAP table(Grid).. I have added the scripting id of the table(single id for the entire table)...app/con[0]/ses[4]/wnd[0]/usr/cntlBO_CONTAINER_GRIDS/shellcont/shell/shellcont[1]/shell/shellcont[1]/shellneed u ppl's assistance to proceed further in SAP automation...Waiting with lots of hope..N.S.k:) Edited August 17, 2012 by siva2503 Link to comment Share on other sites More sharing options...
mukeshsharma Posted August 23, 2013 Share Posted August 23, 2013 hi buddy i need your help i can not logon in sap through autoit.you have any small progamme logon to sap pass user name and password. Link to comment Share on other sites More sharing options...
water Posted August 23, 2013 Share Posted August 23, 2013 Did you try the SAP UDF as I suggested in post #2? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki 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