Also. If want to pass index use hash # E.g.getitem(#0:#0) On 17/09/2014 5:30 pm, "Omkar" <[email protected]> wrote:
> Please check the operator for java tree in options window ...Is is set to > -" ; "? > Try - (parent1:child1) > On 27/11/2013 10:27 am, "Siraz Shaik" <[email protected]> wrote: > >> Hi Vishal, I am also facing the same issue... Have you resolved the issue >> ? >> if so please share the solution. >> >> Thanks, >> siraj >> >> On Tuesday, 24 February 2009 19:42:08 UTC+5:30, Vishal Suri wrote: >>> >>> Hi >>> >>> I am trying to get the text/label of a child node of a javatree but >>> the GetItem method is not working for the child node. >>> >>> For example, I have a tree with first node as "Parent1" and it has a >>> child node "Child1" >>> GetItem method is returning only the parent node value. >>> JavaTree("tree").GetItem("0") gives me "Parent1" >>> but JavaTree("tree").GetItem("0;0") gives an error that the function >>> has invalid arguments. >>> >>> I am able to use the select method to select the node using the >>> separator >>> JavaTree("tree").Select "Parent1;Child1" >>> >>> Will really appreciate if anyone can provide some help/workaround. >>> >>> >>> Thanks >>> Vishal >>> >> -- >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "QTP - HP Quick Test Professional - Automated Software Testing" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
