Mailingliste - Einträge 2005


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: [qftestJUI] Title of Dialog


  • Subject: Re: AW: [qftestJUI] Title of Dialog
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Thu, 25 Aug 2005 17:42:02 -0000

Hello Ilango,

you cannot record the image of the window title because it belongs to
and is drawn by the window manger, i.e. the operating system.

You can read the text of the title of a window using a "Fetch text"
node and you can use "Text check" nodes to check the title, but you
have to create them manually because it's impossible to record a click
on the title.

Best regards,
    Greg


<ilango.sriram@?.de> writes:

>
> Hi again,
>
> I guess I will proceed in following way:
>
> Procedure getTitle(idOfComponent):
> 	+SUT-Script{
> 		import "ClassOfWindowIUsed"
> 		idOfComponent = rc.lookup("idOfComponent")
> 		myWindow = rc.getComponent(idOfComponent)
> 		rc.setLocal("myTitle", myWindow.getTitle() )
> 	}
> 	+Return $(myTitle)
>
>
>
> But I'd still be interested if recording the titlebar is possible to enable, so one could perform image-checks and so on.
>
> Regards,
> Ilango
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: qftestjui-list-bounces@?.de [mailto:qftestjui-list-bounces@?.de] Im Auftrag von ilango.sriram@?.de
> Gesendet: Mittwoch, 24. August 2005 09:42
> An: qftestjui-list@?.de
> Betreff: [qftestJUI] Title of Dialog
>
> Hi!
>
> Is there a possibility to record the window-title? At first I thought it wasn't possible, (because record functions don't work).
> But when I see a modal dialog exception the warning message shows the title:
>
> Ein modaler Dialog hat diesen Event blockiert.
> Klasse: '....Dialog'
> Titel: 'Fehler'
>
> Is there a possibility to record and check the title of dialogs/windows?
>
> Thanks and regards,
> Ilango

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876



Videos Downloads Dokumentation Kaufen Gratis Testen