Jump to content

Recommended Posts

Posted

i am using selenium RC and writing selenium scripts in C# code. I tried to execute autoIt scripts for uploading a file within the C# code but as the debugger comes to autoIt scripts it stucks there only .It gives me no error message .I also tried to run the autoIt scripts .exe file but same is happening .

The code i am using

selenium.Click("Uploader1__Insert");//This code of line works

//This is not working

auto.WinActivate("Choose File to Upload", "Files of &type");

auto.ControlSetText("[CLASS:Edit;INSTANCE:1}", "", "1148",Filename);

auto.ControlClick("[CLASS:Button;INSTANCE:2]", "&Open","1","",1,474,328);

Please help!!!!!!!!!

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...