Mailingliste - Einträge 2005

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

Re: [qftestJUI] Component not found Error

  • Subject: Re: [qftestJUI] Component not found Error
  • From: Karlheinz Kellerer <Karlheinz.Kellerer@?.de>
  • Date: Wed, 04 May 2005 18:47:02 -0000

Hi Kalyan,

Kalyan Tangirala <kalyan.tangirala@?.com> writes:

> Hi all,
> For now, I am just recording and playing back. When I record, I can see all the
> components in the "Windows and Components" including the component for which I
> am getting the following error message.
> When I play back, I keep getting this annoying pop-up message "Component not
> found; The component 'XYZ' did not appear".

Yes the message may be annoying, but it tells you that something with your Test
or SUT hasn't been done well.

> I went to the mailing archive to check out if anyone had faced a similar issue
> and found the reply from "Riaz Mohamed" where he suggests the following to
> "Mary":
> "/Go to Edit --> Options. You would get a options popup. Then Drill down the
> Record tree and select components . On thsi frame select Record System classes
> only. Launch your application you are testing . Go to the Windows and
> Components tree in the QFtest , right click on say update components. If you
> are just starting to record i guess you could also record the script with the
> obove option. /"

No, that's just a way to go when testing a new version of your SUT where
components have changed heavily (even there classes may have changed) and you
need to update the component info stored in qftestJUI. This isn't relevant for
your problem.

> Though I made the above mentioned changes, (your guess is right) the same
> annoying pop-up message appears. Obviously, qftestJUI is recognizing the
> component while recording but does not find it while playback.
> I greatly appreciate any help.

The first thing to check is, if the component you are waiting for is really
there at the time when qftestJUI tries to access it. Take a look at the run-log
(available from the Run menu), jump to the error position and check the
screenshot stored there showing the situation when the exception occured.  It
may be a timing issue, so you need wait for a longer period of time before
doing the action which is currently leading to the error.

You need to understand what exactly happens within your test-run. The debbugger
may help stepping through it. The tutorial describes how to use it.

Please try to find out a bit more yourself and if you aren't able to find a
solution I will gladly take a look (then I will need your test-suite
and a runlog of the failure.)

> Kalyan.
> *P.S. 1. On the same sequence, sometimes the playback succeeds and most of the
> times it fails giving the above annoying message.
> 2.  When I record a particular sequence and playback immediately, it succeeds
> but when I switch to a new screen and come back to the original screen and then
> do a playback, it again gives the "component not found" error message.
> *

Best regards,

Karlheinz Kellerer                     Karlheinz.Kellerer@?.de
Quality First Software GmbH