Mailingliste - Einträge 2006


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

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


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

First I will say that I am very new to qftestJUI.

 

I have a JScollPane component named “Mark” that I populate by creating 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) [Mark.list.lab54_Management_IP_and_Port:_192.168.128.54:80_CVRID_IP_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.  However, 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 index”.  So I’m not sure what the special Id syntax should be in this case.   The syntax I tried was:

 

  • Mark.list@$(name)_Management_IP_and_Port:_$(mgmtIp):$(port)_CVRID_IP_and_Port:_$(cvrid):$(port)
  • Mark@list.$(name)_Management_IP_and_Port:_$(mgmtIp):$(port)_CVRID_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

 

Attachment: jmsAdmin.qft
Description: jmsAdmin.qft


Videos Downloads Dokumentation Kaufen Gratis Testen