From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 1 Mar 2008 12:03:27 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20080301090327.GO32305@solemn.turbinal> Mail-Followup-To: ALT Devel discussion list References: <200802291145.44624.cas@altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NT59pYSnj1ZLVgEN" Content-Disposition: inline In-Reply-To: <200802291145.44624.cas@altlinux.ru> Subject: Re: [devel] =?koi8-r?b?79TL0tnUINPQydPPyyDSwdPT2czLySB0ZXN0QGxpc3Rz?= =?koi8-r?b?LmFsdGxpbnV4Lm9yZw==?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 09:00:47 -0000 Archived-At: List-Archive: List-Post: --NT59pYSnj1ZLVgEN Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 29, 2008 at 11:45:44AM +0300, =E1=CE=C4=D2=C5=CA =FE=C5=D2=C5= =D0=C1=CE=CF=D7 wrote: > =F7 =D3=D7=D1=DA=C9 =D3 =D3=CF=DA=C4=C1=CE=C9=C5=CD =CF=D4=C4=C5=CC=C1 QA= =D7 =EF=EF=EF =CF=D4=CB=D2=D9=D4 =D3=D0=C9=D3=CF=CB =D2=C1=D3=D3=D9=CC=CB= =C9 =D0=CF =D4=C5=D3=D4=C9=D2=CF=D7=C1=CE=C9=C0=20 > =C4=C9=D3=D4=D2=C9=C2=D5=D4=C9=D7=CF=D7 ALT Linux, =D7 =CB=CF=D4=CF=D2=CF= =CD =C2=D5=C4=D5=D4 =CF=C2=D3=D5=D6=C4=C1=D4=D8=D3=D1 =D7=CF=D0=D2=CF=D3=D9= =D4=C5=D3=D4=C9=D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2=C1=DA=CE=D9=CD=C9 =C4= =D2=D5=C7=C9=CD=C9 =D7=C5=DD=C1=CD=C9. =EE=C1=D0=D2=C9=CD=C5=D2 =D7=CF=D4 /ALT/Sisyphus/orphaned/test-gui-dialog-20050721-alt1.src.rpm =F4=C1=CD =C5=D3=D4=D8 =D0=D2=CF=C7=D2=C1=CD=CD=C1, =CB=CF=D4=CF=D2=C1=D1 = =DA=C1=D0=D5=D3=CB=C1=C5=D4 GUI-=D0=D2=C9=CC=CF=D6=C5=CE=C9=C5, =CF=D4=CB= =D2=D9=D7=C1=C5=D4 =D7 =CE=A3=CD =C4=C9=C1=CC=CF=C7, =D0=CF=D4=CF=CD =DA=C1=CB=D2=D9=D7=C1=C5= =D4 =C4=C9=C1=CC=CF=C7, =D0=CF=D4=CF=CD =DA=C1=CB=D2=D9=D7=C1=C5=D4 =D3=C1= =CD=CF =D0=D2=C9=CC=CF=D6=C5=CE=C9=C5. =F0=CF =D5=CD=CF=CC=DE=C1=CE=C9=C0 =CF=CE=C1 =DA=C1=D0=D5=D3=CB=C1=C5=D4 = =D0=D2=C9=CC=CF=D6=C5=CE=C9=C5, =CF=D4=CB=D2=D9=D7=C1=C5=D4 =C4=C9=C1=CC=CF= =C7 Help/About, =CE=C1=D6=C9=CD=C1=C5=D4 Enter (=DA=C1=CB=D2=D9=D7=C1=C5=D4 =C4=C9=C1=CC=CF= =C7), =D0=CF=D4=CF=CD =CE=C1=D6=C9=CD=C1=C5=D4 File/Quit (=DA=C1=CB=D2=D9= =D7=C1=C5=D4 =CF=CB=CE=CF). =E5=D3=CC=C9 =D7=D3=A3 =DC=D4=CF =CF=D4=D2=C1=C2=CF=D4=C1= =CC=CF, =DA=CE=C1=DE=C9=D4 =D4=C9=D0=C1 =D3=D5=D0=C5=D2. NAME test-gui-dialog - simple automated testing of GUI dialogs SYNOPSIS test-gui-dialog app [wname name] [dname name] [dopen keys] [dclose keys] [wclose keys] DESCRIPTION test-gui-dialog will start application app and wait for application window wname; it will then open dialog dname by sending keys dopen, close the dialog by sending keys dcolse, and then will close the app= li- cation window by sending keys wclose. Each step is logged to stderr. The exit status is zero upon success; otherwise, the script dies horribly (with non-zero exit status) on t= he first unsuccessful step. OPTIONS wname name Window name pattern; defaults to app. dname name Dialog name pattern (default "About"). dopen keys Key sequence to open dialog (default "%(h)a", i.e. "Alt-h a" for "Help/About"). dclose keys Key sequence to close dialog (default "%(c)", i.e. "Alt-c" for "Close"). wclose keys Key sequence to close application window (default "%(f)q", i.e. "Alt-f q" for "File/Quit"). EXAMPLES xvfb-run -a -- test-gui-dialog gedit dclose $'\n' xvfb-run -a -- test-gui-dialog gqview test-gui-dialog firefox dclose $'\n' test-gui-dialog konqueror wclose '%(l)q' BUGS Other app windows are unexpected and can result in an accident. Running under Xvfb appears to be problematic for certain applications (e.g. firefox and konqueror). SEE ALSO X11::GUITest, Xvfb(1), xvfb-run AUTHOR Written by Alexey Tourbin . COPYING Copyright (c) 2005 Alexey Tourbin, ALT Linux Team. This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. --NT59pYSnj1ZLVgEN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAkfJG98ACgkQfBKgtDjnu0aGpQCgz3o/p45DLS5giLgeR7bq+RDi gsgAnRFco/htlSmjX4bmgW8fqA1I1Pgo =bdo/ -----END PGP SIGNATURE----- --NT59pYSnj1ZLVgEN--