Forum Discussion

yuga_mannava's avatar
yuga_mannava
New Contributor
14 years ago

JAVA ID is changing randomly for a single object

hi,

this is yugandhar.



iam using the testcomplete8 trail version .



for java swing object(jtextarea). with out closing the object the objects ID is continuously changing .



in the previous versions of testcomplete the ID will be same.



how can i make it as a constant ID for jtextarea for a single run.

1 Reply

  • Hi,



    This happens because IDs in your application are dynamic. To avoid problems, recognize objects in your application by properties which have stable values (such as text). You can use custom properties by using Name Mapping or Find (see the "Name Mapping" and "Find Method" help topics).