On 03/14/2011 02:36 PM, Antonio Mancina wrote:
> Hi Dmitriy!
> First of all, thanks for your answer!
> 
>>> 1) Within a wt::wtabwidget: every tab is internally represented as
>>> a Wt::WMenuItem. I cannot apply a setId to a wmenuitem.
>>>
>> You can. WTabWidget::addTab() returns WMenuItem*.
> 
> I meant to say that a wmenuitem has not a setId method to be applied on
> it. It inherits from a WObject, whilst setId is declared in WWidget.

To better refine this concept, I tried to inspect every element in the
dom through mozilla element inspector. I found that the closest element
I can set the Id of is

wmenuitem->itemWidget()

for each element returned by the addWidget(), but this is not
sufficient to reach the subelement whose id is seen by Selenium
when you click on a tab.

Antonio

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to