2019 jusqu'à présent |  2018  2017 | 2016 | 2015 | 2014 | 2013 | 2012

Liste de diffusion - Entrées de 2012

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

Re: [QF-Test] Name attribute is empty

  • Subject: Re: [QF-Test] Name attribute is empty
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Thu, 19 Apr 2012 14:17:27 +0200

Hi Sridhar,

just try to be more creative with the names you assign ;-).

Seriously, button1, button2 etc. are the default names that those
buttons would get by default anyway. QF-Test filters such trivial
names because they are not reliable - they depend on component
creation order - and thus cause more harm than good.

Best regards,

"Govindarajan, Sridhar" <Sridhar.Govindarajan@?.com> writes:

> Hi,
> I’m new to QF test and trying out with my own sample application. I have set the names in the
> sample app using the setName API. The sample application has a frame with 5 buttons (all buttons
> have no captions, they are of decent size). The frame and the buttons all have names set (myframe,
> button1, button2…) using the setName() API. When I recorded the clicks on all the five buttons,
> the frame with the five buttons were created in the “Windows and components”. When I selected the
> frame node under “Windows and components” I see the id, class name and name (myframe) been set
> correctly. But when I select the button nodes, I see the ID and class name to be set correctly but
> the Name attribute is empty (for all the buttons). Can someone say how to fix this.
> Also when I manually fill the Name attribute with “button1” (same as set in the app), QF test is
> not able to recognize the component anymore. It is able to do, when I make the Name attribute
> empty again.
> I’m using QF test 3.2.2.
> Can someone help on this (why the Name attribute is not getting recorded and how to fix this).
> Background: The automation team here has been using QF test for quite some time but are facing
> issues with component recognition. Trying to set the names of the component in the application and
> test the component recognition.
> Regards
> Sridhar
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> The information contained in this message may be confidential and legally protected under
> applicable law. The message is intended solely for the addressee(s). If you are not the intended
> recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of
> this message is strictly prohibited and may be unlawful. If you are not the intended recipient,
> please contact the sender by return e-mail and destroy all copies of the original message.

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833