Jump to content

Autoit script not identifying pop up window in remote machine

Recommended Posts

Could some one please help me?

I am trying to upload a file by clicking on Browse button and then choosing a file from Browser pop up window.

I tried below code (Which works fine if i run same code in my local machine but in Remote machine Open pop up window is not identifying by autoit script)

WinActivate("........ - Mozilla Firefox");

Local $X=360;

Local $Y=475;

Local $saveFileName=".........xml";

;MsgBox(0,"Args::",$CmdLine[1] & " " & $CmdLine[2] & " " & $CmdLine[3]);

;Local $X = $CmdLine[1];

;Local $Y = $CmdLine[2];

;Local $saveFileName = $CmdLine[3];



WinWait("Open"); //If I run same script using webdriver in remote machine then Open window is

//not identifying and passing filename


ControlSetText ("Open","",1148,$saveFileName);



Link to post
Share on other sites

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