Mailing list - Entries of 2006

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

RE: [qftestJUI] How to automate deletion of dynamically created content from a list

  • Subject: RE: [qftestJUI] How to automate deletion of dynamically created content from a list
  • From: "Mark Spielman" <Mark.Spielman@?.com>
  • Date: Wed, 5 Apr 2006 17:53:30 -0400

Hi Greg,
Thank you so much for your response.  I tried as you said and have it
working now.  This looks like it's an excellent tool.

-----Original Message-----
From: Gregor Schmid [mailto:Gregor.Schmid@?.de] 
Sent: Wednesday, April 05, 2006 5:03 PM
To: qftestJUI-list@?.de
Cc: Mark Spielman
Subject: Re: [qftestJUI] How to automate deletion of dynamically created
content from a list

Hi Mark,

you already got pretty close. What you stumbled over is the following:

When recording a sub-item of the list as an "Item" node, qftest stores
the actual item name in the "Index" attribute of the "Item" node. The
"ID" of the "Item" node is created based on that index. To conform
with ID restrictions, blanks and other special characters are replaced
with an '_' character.

When changing the item reference in the MPRC to use the special '@'
syntax, you must use the index of the "Item" node as a basis, not the
mangled ID. It's easiest if you change the option
"Record->Sub-items->Sub-item type" to "Special syntax" and re-record
the mouse click, then replace the variable parts with your variables.

Best regards,

"Mark Spielman" <Mark.Spielman@?.com> writes:

>    First I will say that I am very new to qftestJUI.
>    I have a JScollPane component named "Mark" that I populate by
>    several items via an automated add procedure.  I would then like to
>    automate the deletion of these items.  When I record the deletion
>    there are two steps involved:
>      * MPRC (1,1)
>        P_and_Port:_192.168.128.154:80=>JMSAdmin]
>      * MPRC (1,1) [buttonTipRemove_this_router2=>JMSAdmin]
>    I made a procedure so that I could parameterize this that took as
>    arguments the params necessary to rebuild the Component id.
>    when I try to delete another of the items in the list, I get a
>    message: "There is no component with the id
>    `Mark.list.lab56_Management...'.
>    Having then read the manual section, "Elements of complex GUI
>    components" I tried using special Id syntax which I believe is the
>    correct way to go, but I get a message "No item was found for
>    So I'm not sure what the special Id syntax should be in this case.
>    The syntax I tried was:
>      *
>        IP_and_Port:_$(cvrid):$(port)
>      *
>        IP_and_Port:_$(cvrid):$(port)
>    Any help would be greatly appreciated.  I have attached my qft for
>    reference.
>    Thanks
>    Mark
>    ____________________________________________
>    Mark Spielman
>    Software Developer
>    Solace Systems
>    535 Legget Drive, 3rd Floor
>    Ottawa, ON K2K 3B8
>    Phone: (613) 271-1010 x1021
>    Fax: (613) 271-2844

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