Jump to content

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


Recommended Posts

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:

Link to comment
Share on other sites

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 - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
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:

Link to comment
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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 1 year later...

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 - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...