开发者

Java Tree present within java Table

开发者 https://www.devze.com 2023-01-20 05:59 出处:网络
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 p

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"

0

精彩评论

暂无评论...
验证码 换一张
取 消