Jump to content
Sign in to follow this  
dkarunan

Automated button click not working in my laptop

Recommended Posts

dkarunan

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.

Share this post


Link to post
Share on other sites
Jos

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:


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
dkarunan

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.

Share this post


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
Sign in to follow this  

×