| || |
Window ID for java objects
There are 2 parts to this question: I am testing a standalone java application using java 1.3 on NT4.0. I would like to know what property of the java components that SilkTest is reading to determine the Caption for the window identifier. If I can get the answer then I can have a java developer make the necessary change to the code. I currently get "" as the caption. I cannot use the index or the window id as they are not constant from window to window.
A second part to the question is the same component, which is an image for a button, has a button id property which I can capture. Is there any way to use this button id property as a window identifier. I hope someone can help as I currently have 4 cases outstanding with Segue Support on java issues which they have not been able to answer or even let me know they are working on them. Thanks for your help.
Kevin Evans, CQA CSTE
Re: Window ID for java objects
Why aren't the Window ID constant? They are supposed to be different from Window to Window. It is when they're the same in each window that is a problem.
My advice is to use Window id 1st then index 2nd and the location 3rd in the multitag.
properties may be able to help in identifying the object... Here's how...
I'm guessing at this though, but I have done it before I think way in the past.
You create a class and in the class the tag is a function call to get the property
you change the objects you need to have these tags as what you think their properties should be. (The class has to inherit from the window class)