Quality Testing

Quality is delighting customers

Hi,

I am facing a problem in AutoIT...I am trying to select one file but when i'm running the code it is selecting another file .Can any one tell me what is the problem???

Views: 144

Reply to This

Replies to This Discussion

Local Const $filePath = $CmdLine[1]
Local Const $dialogTitle = $CmdLine[2]

WinWaitActive($dialogTitle)

if WinExists($dialogTitle) Then

ControlSetText($dialogTitle,"","Edit1",$filePath)

Sleep(1000)

ControlClick($dialogTitle,"","Button2")



EndIf

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2019   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service