http://www.perlmonks.org?node_id=1004959


in reply to usage of pushbutton

Are you talking about automating the installation process of some applications? If so you don't give much to go on. You don't mention which OS, how you're doing this to get to the stage of a button press. Also one questionmark will do. See How do I post a question effectively?.

For discussion sake we'll pretend you're using a Microsoft Windows platform. I suggest you take a look at the Win32::GuiTest and what it has to offer in terms of identifying elements of and intereacting with user interfaces.

Update:

"I used command as PushButton("control ID").. Will it work???"

What happened when you tested it?

Replies are listed 'Best First'.
Re^2: usage of pushbutton
by nisu (Initiate) on Nov 21, 2012 at 17:15 UTC
    Im using perl monks online help for the first time. If any thing is wrong please forgive. Im using Windows 2008 R2 OS. Even though i use PushButton("Control ID") it is not at all proceding further. Im able to select "setup.exe" and then start installation. But when it give OK or Cancel option, im not able to select that through script. Please let me know if you have any solution.