<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by balajis: How to test a setup in silk test?
How do i include the setup.exe in test frame? <HR></BLOCKQUOTE>
I would set it as a variable or constant in the frame file, then use "start()" method to begin your test.
i.e.: in your frame file have the path:
[ ] // CONSTANTS
[ ] string sInstallExe = "C:\Temp\setup.exe"
in your test case:
[ ] Agent.SetOption (OPT_VERIFY_UNIQUE, FALSE)
[ ] MainWin ("*").Start(sInstallExe)
[ ] Agent.SetOption (OPT_VERIFY_UNIQUE, TRUE)
//Note - using start like this is a bit of a hack, but it works. Since there is no MainWin for setup.exe, we use a wildcard, and turn the agent option to verify if the object is unique off. Then we turn it back on in case you need to use that Agent option later.
I would then set the default base state to the first window of the install program, and capture the windows one by one in the frame file.
Hope that helps.
------------------ Beware of bugs in the above code; I have only proved it correct, not tried it."