0% found this document useful (0 votes)
79 views12 pages

Auto IT

AutoIt is an open source automation language for Windows that allows scripting and control of the graphical user interface using simulated keystrokes and mouse movements. It uses a BASIC-like syntax to automate tasks on Windows and can create standalone executable files of scripts. Some key features include manipulating windows and processes, interacting with controls, and creating graphical user interfaces.

Uploaded by

kcmt35
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views12 pages

Auto IT

AutoIt is an open source automation language for Windows that allows scripting and control of the graphical user interface using simulated keystrokes and mouse movements. It uses a BASIC-like syntax to automate tasks on Windows and can create standalone executable files of scripts. Some key features include manipulating windows and processes, interacting with controls, and creating graphical user interfaces.

Uploaded by

kcmt35
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Auto IT

"Auto It is an open source automation language for Windows operating system. It is a BASIC-like
scripting computer language which is designed for automating the Microsoft Windows user
interface. AutoIt uses the combination of simulated keystrokes, mouse movement, and window
manipulation in order to perform user interface testing.”

Description

The scripts which are written using AutoIt can be converted into a compressed and stand-alone
executable which can be run on computers that do not have the AutoIt interpreter installed. AutoIt
also has IDE based on SciTE editor. The compiler and help text are integrated and it provides a
standard environment for developers. AutoIt has the following features which make it more
powerful:

❖ Easy to learn BASIC-like syntax


❖ Manipulate windows and processes
❖ Interact with all standard windows controls
❖ Create Graphical User Interfaces (GUIs)
✓ How to Download and Installed Auto IT: -

STEP -1

STEP -2

STEP -3

STEP -4

STEP -5

STEP -6

❖ First Installed to autoit-v3-setup.exe


❖ After successfully installed autoit-v3-setup.exe then install to “SciTE4AutoIt3.exe”.

STEP -7


STEP -7

❖ Click on Help in “SciTE Script” Editor.


STEP -8


STEP -9

STEP -10

STEP 11

❖ Title = Open

❖ Text = Blank (Text is Optional)


❖ controlID = Formula ‘Class + Instance’ then Edit1

Now Script is Ready


STEP -12

ControlSetText (“title”, “text”, controlID, “new text”)

❖ title = “Open”
❖ text = Blank (It is optional)
❖ controlID = Edit1 (Class + Instance)
❖ new text = “C:\Users\shashank.a.bansal\Documents\shashank.txt” (File Path)
STEP -13

❖ title – “Open”
❖ text – Blank (It is Optional)
❖ controlID – Button1 (Class + Instance)
❖ button – No Need (Optional)
❖ title - [CLASS: #32770] (Using Class) or “Open” (Using Title)
❖ text – Blank (It is Optional)
❖ timeout – It is Optional

STEP -14

STEP -15

STEP -16

STEP -17

STEP -18

import java.io.IOException;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.Test;

public class AutoIt {

private static WebDriver driver = null;

@Test
public static void verifyTest() throws IOException, InterruptedException {

System.setProperty("Webdriver.chrome.driver", "C://chromerdriver.exe");
driver = new ChromeDriver();
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

driver.get("https://upload.photobox.com/en/#computer");

driver.findElement(By.id("button_desktop")).click();

Runtime.getRuntime().exec("C:\\Users\\shashank.a.bansal\\Documents\\Downloading.exe")
;

Thread.sleep(5000);

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy