Hi Mahisha,

TreeVirtual extends Table, so you need to use the qxTableClick[1] 
command. Any locator that finds the TreeVirtual widget's container or 
content element is fine. Also, you need to specify the row you want to 
click, but not the column (since the TreeVirtual is a Table with only 
one column).

For example, if you wanted to click the "Windows (C:)" row in the 
TreeVirtual Multiple Columns demo[2], you could use this command:

qxTableClick("qxhv=*/qx.ui.treevirtual.TreeVirtual", "row=3");


Regards,
Daniel

[1] 
http://qooxdoo.org/contrib/project/simulator/qooxdoo-tests-with-selenium#clicking_by_rowcolumn_qooxdoo_08

[2] 
http://demo.qooxdoo.org/current/demobrowser/demo/treevirtual/TreeVirtual_Multiple_Columns.html

On 07/28/2011 11:27 AM, Mahisha wrote:
> Hi,
>
> I am using TreeVirtual in my application.  I am in the process of automation
> testing.  How to locate the elements/rows in the tree using selenium RC? Wat
> command/values should I use to locate it?
>
> Thanks,
> Mahisha
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/How-to-locate-treeVirtual-element-using-qooxdoo-selenium-tp6629232p6629232.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to