List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 


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

[QF-Test] Hov can i read the "array(de.qfs.apps.qftest.client.web.dom.Node)"?


  • Subject: [QF-Test] Hov can i read the "array(de.qfs.apps.qftest.client.web.dom.Node)"?
  • From: "Straub, Alexander" <a.straub@?.de>
  • Date: Mon, 8 Feb 2016 14:05:36 +0000

Hi,

 

i have an problem with read cell of tabel.

 

Test run for an Webapplication.

I go to an cell over this way: tableAdminResult&0&0. The cell‘s has an „span“ element’s (it can more then one) with „title“ elemnts. This elment must be read by the test.

I found an way the give my the input, but i can read real input in the cell.

This is the code:

<code>

idOfCell = rc.lookup("idOfCell")     (tableAdminResult&0&0)

tagName = rc.lookup("searchTag")  (span)

 

table = rc.getComponent(idOfCell)

# then get the value of the table cell

Cell = table.getChildrenByTagName(tagName)

 

print table

        

for topic in Cell:

   title= topic.getElementsByTagName('title')

   print title

   for x in len(title):

      print title [x]

</code>

 

The variable „title“ has: array(de.qfs.apps.qftest.client.web.dom.Node)

 

My question is, how can I read the input?

 

Thanks

Alexander