Micro Focus QTP (UFT) Forums

Full Version: Javatree
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

iam testing a java application, i recorded a java tree .

the tree name remains constant. but the node name is keep on changing. when use GETROProperty("value") . it is not displaying any thing. but when i select the node using object spy it shows its value .
i cant apply regular expression in object repository, because in object repository it just contains only a tree name. but it remains same. thats the problem (only node name keep on changing)
below is the statement
treename= search
node name=Domains: 741(which is keep on changing;especially 741 if there is any solution using regexobject please let me know)

thanks in advance to all and ankur.

Code:
JavaWindow("Domain Values Window").JavaTree("Search:").Activate "Domains: 741;domainName