Jump to content

Recommended Posts

Posted

How do I get AutoITX working in C#?

This is my code:

using System;

using System.Drawing;

using System.Collections;

using System.ComponentModel;

using System.Windows.Forms;

using System.Data;

using AutoItX3Lib;

AutoItX3Lib.AutoItX3Class see = new AutoItX3Lib.AutoItX3Class();

see.Run (@"C:\WINNT\system32\dllcache\iexplore.EXE http://www.google.com",string.Empty,0);

see.WinWaitActive("Google - Microsoft Internet Explorer",string.Empty,0);

see.Send("RE ",0);

see.Send("{ENTER}",0);

I see this is brilliant for testing software, and I can write a C# app so we can create test spplications to run scripts a number of times or send specific commands.

Also, can you run this in ASP.NET from a web page? Then I can create a test app that runs of the browser!

Please give some sample code.

THANKS

ITS BRILLIANT!

PRASHANT

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
  • Recently Browsing   0 members

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