in reply to Re^3: Gui Automation using guitest
in thread Gui Automation using guitest

Nothing. When i tried to run it nothing happened..

Replies are listed 'Best First'.
Re^8: Gui Automation using guitest
by marto (Cardinal) on Feb 10, 2011 at 10:32 UTC

    I find this hard to believe, even running spl.pl with no arguments outputs something:

    C:\>perl spy.pl Version: v0.02 Usage: spy.pl --help spy.pl --all spy.pl --title TITLE As the output is quite verbose, probably you'll want to redirect the output to a file: spy.pl options > out.txt

    Run perl spy.pl --all and examine the output.

Re^8: Gui Automation using guitest
by Corion (Patriarch) on Feb 10, 2011 at 10:29 UTC

    This is highly unlikely. spy.pl will at least output usage information. Please show us how you tried to run it. So either you cannot run Perl scripts at all, or you are not telling us exactly what you did and what you got as result.

    For example, it works for me like this:

    > perl -w spy.pl --all ... ++ 459214 , 'Button ', 328230 , Rect:6 +25,465,976,772 'Energiestand' ... ++ 2164734 , 'EXCEL; ', 2426442 , Rect:- +1 ,69 ,168,86 '' +++ 2230202 , 'ComboBox ', 2164734 , Rect:- +1 ,66 ,113,88 ''

    So, it clearly has access to windows and elements within windows, like a ComboBox. Maybe you really should learn how Windows structures application windows and its contents?