Micro Focus QTP (UFT) Forums
Javatree - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions)
+--- Thread: Javatree (/Thread-Javatree)



Javatree - srinivas - 10-22-2008

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