Java Tree present within java Table
I have a simple Scenario where i want to expand the node of a Java Tree which is present within a Java table. This Java Tree is not able to get recognized when i tried to spy. it is showing only the propert开发者_高级运维ies of Java Table.
When recorded i got this below code.
javaWindow("sss").JavaTree("aaa").Expand "abc;value1"
javaWindow("sss").JavaTree("aaa").Expand "abc;value1;value2"
If u rerun the recorded code it is giving error. I m try to just perform an expand operation on the Java tree which is present within a Java Table.
Kindly suggest on this.
As per the above statement java tree should be collapsed, try this:
javaWindow("sss").JavaTree("aaa").Select "abc;value1"
javaWindow("sss").JavaTree("aaa").Expand "abc;value1"
javaWindow("sss").JavaTree("aaa").ExtendSelect "abc;value1;value2"
Precondition java tree should be collapsed by default Put a wait statement and directly try this
javaWindow("sss").JavaTree("aaa").Expand "abc;value1;value2"
精彩评论