Forum Discussion
npathak
13 years agoOccasional Contributor
Thanks Julia,
But, "wItems" didn't work for me. Also, I went thru your article called "Addressing Tree Views" ( available at http://smartbear.com/support/viewarticle/15099/ ) but that too didn't work in my favour.
I know am missing something, don't know what.
Below is the piece of code I used:
Repository_Tree_Prop_array = Array("JavaClassName")
Repository_Tree_Values_array = Array("RepositoryTree")
Set Repository_Tree = MY_Process.FindChild(Repository_Tree_Prop_array,Repository_Tree_Values_array,20)
Repository_Tree.wItems.Item("My Galaxy1").Click()
Repository_Tree.wItems.Item("|My Galaxy1").Click() 'I tried with this option also, but it didn't work.
Error encountered in logs:
Unable to find the object wItems. See Additional Information for details.
Also,
"wItems" method not found in object browser.
Please let me know what needs to be done in this case.
But, "wItems" didn't work for me. Also, I went thru your article called "Addressing Tree Views" ( available at http://smartbear.com/support/viewarticle/15099/ ) but that too didn't work in my favour.
I know am missing something, don't know what.
Below is the piece of code I used:
Repository_Tree_Prop_array = Array("JavaClassName")
Repository_Tree_Values_array = Array("RepositoryTree")
Set Repository_Tree = MY_Process.FindChild(Repository_Tree_Prop_array,Repository_Tree_Values_array,20)
Repository_Tree.wItems.Item("My Galaxy1").Click()
Repository_Tree.wItems.Item("|My Galaxy1").Click() 'I tried with this option also, but it didn't work.
Error encountered in logs:
Unable to find the object wItems. See Additional Information for details.
Also,
"wItems" method not found in object browser.
Please let me know what needs to be done in this case.
Related Content
- 2 years ago
Recent Discussions
- 5 days ago
- 5 days ago