How to test Panel\'s change?
There are two panels: Index panel and Detail panel.
Basiclly,the label of Detail panel will change if you click the different item of Index panel.The thing is that I can record this 'click' of Index panel,but how can I test whether the label of Detail panel is shown right or not by TC3(VBScript)
Re: How to test Panel\'s change?
Firstly, you need to identify the object.property that contains the caption/text you will be validating (if you are not sure as to the what the object.property is then spy it with the Finder Tool from the Object Properties window. Next you will need to develop logic (this will surely mimic the AUT logic for setting the caption/text value...maybe you can discuss this with the developer) for what the caption/text should be after each click event (is it directly related to the item clicked on from the "Index Panel", is there a date/time component, etc...). Once you know what the caption/text should be you simply validate the value using the object.property method after each click event.
[ 07-13-2004, 01:45 PM: Message edited by: kadams ]