Im trying to set up testing on a software application developed in Delphi. In one area of the GUI there is a window which is layered with objects. A user can put TLabels, TEditBoxes etc on the window itself but these are overlayed with a TGridBox object. Unfortunately Silktest only appears to pick up the gridbox object as this is the top layer of items but is set to transparent so that the others can be seen. Is there any way that I can change Silktest to 'see' more than the top layer?
Thanks for the reply but im not sure what you mean by your explanation? The issue I have is that silktest picks up the overlying TGrid object but cannot see underlying objects. Could you expand on your explanation of the solution you think may work?
I suggest you look in the SilkTest help under 4Test Reference | Statements | recording to see what I am talking about.
When the recording keyword is used, statements that fall within its scope do not have to satisfy the OPT_REQUIRE_ACTIVE, OPT_VERIFY_ACTIVE, PT_VERIFY_CLOSED, and OPT_VERIFY_EXPOSED properties. In other words, an object can be overlayed by another and SilkTest will still be able to click on it.
Here's a quick example:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">
</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">If you cannot click on HiddenObject normally, putting the Click statement under the recording keyword might make it work.