Which dialog box? Which type of dialog box? How are you closing it? Are you using Sleep() in your code to allow time for the dialog to close before moving on? Are you calling SetActive()/SetFocus() in order to 'move over' to MainWindow?
While testing Webpage through automated script, the webpage has few popup links and there by clicking on one of the link, dialogbox is opened. This is a DialogBox, so i used Close() or <Alt-F4> to close the dialogbox and it worked fine after that i want to perform some actions on the main window but i could not able to do it, i called Browser.SetActive() even after it is not recognizing the mainwindow.
I am having the exact same problem, main window is frozen after i close a dialog box. Has anyone found a solution please let me know. I have been trying different things since the past two days and now this is getting to be very frustrating. When I do get active or get Tag of the active window it returns the tag associated with the main window. please someone help...........
This will solve your problem.
Their is problem in setting parent active .
I gone through same problem and now using above code, it is running fine.
Please let me know whether is solved the problem or not.