Jump to content

Recommended Posts

Posted

Dear All,

I executed simple notepad automation from online documention(http://www.autoitscript.com/autoit3/docs/)

Everything works fine in automation but when the save popup appears button click is not functioning in my Laptop (HP Elite Book 8440p, Windows 7).

The same script works fine in desktop and i can execute the same in all of my friends laptop.

Similarly Selenium automated script also fails to handle button click.

I figured out atlast all automated script with button click is not functioning in my laptop,even it sounds puzzled.

Even i formated my laptop and tried all but fails to resolve this issue.

Please help me almost 1 week am colapsed.

  • Developers
Posted

This is a known issue with the Notepad in WIN7 and reported multiple times.

Try:

Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
Send("This is some text.")
WinClose("Untitled - Notepad")
WinWaitActive("Notepad", "Do&n't Save")
Send("!n")

You can use the provided au3info to research these kind of issues.

Jos :huh2:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Thank you very much for your reply... it works fine :huh2:

can you please help me on why the same problem exits in selenium automated script,but it works in other system(windows7) well and good.

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
×
×
  • Create New...