I am testing a .Net application and in my project I have extensions for .Net and Internet Explorer 7 enabled (I need to have the IE extension enabled because the application contains some HLTM forms).
When I run a test case based on the default base state, I see that the recovery system opens IE instead of running the .exe of the .Net application.
I assume that the default base system should open the main window defined in the frame instead of the browser.
How can I force it to do it? Should I somehow indicate that .Net is the "main" extension?
The definition of the main window in my frame is as follows:
<font class="small">Code:</font><hr /><pre> [-] window MainWin MyApp
[-] multitag "MyApp*"
[ ] "$C:\...\MyApp\MyApp.exe"
[ ] const sDir = "C:\...\MyApp"
[ ] const sCmdLine = "C:\...\MyApp\MyApp.exe"
[ ] const wStartup = MyAppLogon
[ ] //Invoke method re-defined to include logon window
[ ] derived::Invoke()
[ ] MyAppLogon.SetActive ()
[ ] MyAppLogon.OK.Click()
The logon screen is defined as follows:
window DialogBox MyAppLogon
[ ] tag "Welcome to MyApp"
[ ] parent MyApp
Hi Moisčs Marbą,
You can do it by changing const wMainWindow = MyApp in the frame file.
I hope this helps you.
Try and fail, but don't fail to try
I already have const wMainWindow = MyApp in my frame file, right before the main win declaration.
It looks as if the SilkTest recovery system ignores this definition.