PDaveUK Posted February 9, 2006 Posted February 9, 2006 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
Richard Robertson Posted February 10, 2006 Posted February 10, 2006 I'm not sure how ASP.NET works but I don't believe you can make COM calls through the internet unless the end client actually has the COM component installed and registered. I know it is this way with HTML and other standard page types.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now