Sign in to follow this  
Followers 0
siva2503

To give input to a text box which is without ID.

8 posts in this topic

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 Parameters

Class: SAP_FRONTEND_SESSION

Position: -4, -4

Size: 1372, 746

Style: 0x170F0000

ExStyle: 0x00000110

Handle: 0x00020ED2

>>>> Control <<<<

Class: Afx:008C0000:1008

Instance: 1

ClassnameNN: Afx:008C0000:10081

Name:

Advanced (Class):

[CLASS:Afx:008C0000:1008; INSTANCE:1]

ID: 100

Text:

Position: 0, 96

Size: 1364, 582

ControlClick Coords: 351, 164

Style: 0x56300000

ExStyle: 0x00000010

Handle: 0x00210F60

>>>> Mouse <<<<

Position: 351, 291

Cursor ID: 0

Color: 0xFFFFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

>>>> Hidden Text <<<<

Custom Container

Control Container

SplitterFrame

Custom Container

Control Container

SAP's Advanced Treelist

Custom Container

There 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 :zorro:

Share this post


Link to post
Share on other sites



To automate SAP I would have a look at the


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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 Hopes

Thanks in advance

N.s.k :ILA3::ILA2::ILA::zorro:

Share this post


Link to post
Share on other sites

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Could you please direct me or my query to "the creator of the UDF."????? could any1 plz...

Share this post


Link to post
Share on other sites

#6 ·  Posted (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]/shell

need u ppl's assistance to proceed further in SAP automation...

Waiting with lots of hope..

N.S.k:)

Edited by siva2503

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Did you try the SAP UDF as I suggested in post #2?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0