Jump to content

How to automate clicking icon and input username and password using AUTOIT?


Recommended Posts

Hi,

  I am planning to automate following steps.

I want to do the following through Autoit Script:

STEP 1 - Enter Email ID :  test@gmail.com
STEP 2 - Enter Password : test@123
STEP 3 - Press "Run" button.

 

Please find below the Summary Tab info for "Email", "Password" and "Run" button.
  

I am very new to autoit. Can anyone please tell me, how to write autoit script for this.

   
 

   Email Field Summary:
====================

>>>> Window <<<<
Title:    Airtel Launcher
Class:    WindowsForms10.Window.8.app.0.33c0d9d
Position:    308, 105
Size:    750, 517
Style:    0x16010000
ExStyle:    0x00050000
Handle:    0x00030362

>>>> Control <<<<
Class:    WindowsForms10.EDIT.app.0.33c0d9d
Instance:    1
ClassnameNN:    WindowsForms10.EDIT.app.0.33c0d9d1
Name:    f_email
Advanced (Class):    [NAME:f_email]
ID:    328436
Text:    
Position:    78, 462
Size:    150, 20
ControlClick Coords:    44, 11
Style:    0x560100C0
ExStyle:    0x00000200
Handle:    0x000502F4

>>>> Mouse <<<<
Position:    430, 578
Cursor ID:    0
Color:    0xFFFFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
12/23
Support Holiday Break
12/18
Holiday Content Online
12/10
Update 22 Follow-up
12/08
Airtel Non-recurring Subscription...
Airtel is Online.
Latest News
Server Status
Remember Me
Email:
Password:


>>>> Hidden Text <<<<

***********************************************************************************

Password Field Summary:
=======================


>>>> Window <<<<
Title:    Airtel Launcher
Class:    WindowsForms10.Window.8.app.0.33c0d9d
Position:    308, 105
Size:    750, 517
Style:    0x16010000
ExStyle:    0x00050000
Handle:    0x00030362

>>>> Control <<<<
Class:    WindowsForms10.EDIT.app.0.33c0d9d
Instance:    2
ClassnameNN:    WindowsForms10.EDIT.app.0.33c0d9d2
Name:    f_password
Advanced (Class):    [NAME:f_password]
ID:    197398
Text:    
Position:    343, 462
Size:    150, 20
ControlClick Coords:    73, 10
Style:    0x560100E0
ExStyle:    0x00000200
Handle:    0x00030316

>>>> Mouse <<<<
Position:    724, 577
Cursor ID:    0
Color:    0xFFFFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
12/23
Support Holiday Break
12/18
Holiday Content Online
12/10
Update 22 Follow-up
12/08
Airtel Non-recurring Subscription...
Airtel is Online.
Latest News
Server Status
Remember Me
Email:
Password:


>>>> Hidden Text <<<<


***********************************************************************************

Run Button summary:
====================

>>>> Window <<<<
Title:    Airtel Launcher
Class:    WindowsForms10.Window.8.app.0.33c0d9d
Position:    308, 105
Size:    750, 517
Style:    0x16010000
ExStyle:    0x00050000
Handle:    0x00030362

>>>> Control <<<<
Class:    WindowsForms10.Window.8.app.0.33c0d9d
Instance:    1
ClassnameNN:    WindowsForms10.Window.8.app.0.33c0d9d1
Name:    f_login
Advanced (Class):    [NAME:f_login]
ID:    197476
Text:    
Position:    660, 427
Size:    87, 88
ControlClick Coords:    48, 34
Style:    0x56000000
ExStyle:    0x00000000
Handle:    0x00030364

>>>> Mouse <<<<
Position:    1016, 566
Cursor ID:    0
Color:    0x7E0605

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
12/23
Support Holiday Break
12/18
Holiday Content Online
12/10
Update 22 Follow-up
12/08
Airtel Non-recurring Subscription...
Airtel is Online.
Latest News
Server Status
Remember Me
Email:
Password:


>>>> Hidden Text <<<<

  
   
   
Please help me write a autoit script for these things.


Thanks for your help.

Link to comment
Share on other sites

  • Moderators

Naveen1234,

I see you did not read those rules to which >I linked very carefully - you missed the part that says:

 

"Do not repost the same question if the previous thread has been locked - particularly if you merely reword the question to get around one of the prohibitions listed above"

Do NOT start another thread on this - our patience has limits. :naughty:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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