Set Active Problem in slik test
In my application i have a dialog appear as About dialog. Where i have to check the Build no etc. in it.
I have scripted when it opens it has to Set active first
But in most cases while execution, silk test throws error saying that About dialog is not found.
Kindly suggest me is there any way i can make it active and continue with rest of the test cases
Re: Set Active Problem in slik test
If SilkTest is generating an error about "not found" when attempting to SetActive(), it points to the declaration being incorrect.
If you execute a About.bExists call, does it return TRUE? If not, I would recommend looking at your window declaration and verify it is correct.
If it returns TRUE, then I would recommend checking to see if the dialog is active before setting it active.
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">if (!About.bActive)
About.SetActive()</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">