Can anyone tell me the command/method to close all the browsers before invoking the application. I have tried Browser.CloseOthers(), but it closes all the browsers except one. So can anyone of you suggest a method to class all the browsers.
You can use the following application state to close all the browsers first. then invokes the application.
appstate MyBaseState() basedon none
// Close all other browsers first
// Close the current browser
// Invoke the Main Window of your application
Note: You can create other application states based on "MyBaseState".
Try and fail, but don't fail to try
If you have bothered to go to the second page of the forum you would have got the solution, forget searching the forum.
It is working. Thank you very much Mr.Krishna.
Can you please tell me how to set the page after logging in (home page) as default base state.
Login to the application and when the page after login is opened click on Recovery system to make that page as the default base state.
Thank you Mr.Pradeep.