Window size: Registry entries beat RunApplication setting
Posted: Wed Aug 27, 2014 4:55 pm
Hi,
I have a problem using the RunApplication method. I'd like to start my AUT maximized and for this purpose I set 'bool maximized' to 'true'. Everything works fine as long as the application was most recently closed in maximized state. If this is not the case, the AUT first gets started maximized, but then is set to the main window sizes which are stored in the registry under "CurrentUser\Software\CompanyName\ProductName\ProductVersion\Windows".
This problem only occurs within Ranorex (5.0.3). When I e.g. use a script to start the application maximized via COM, everything works fine - no matter what window state was given before. Does anyone have a clue what could solve this?
I have a problem using the RunApplication method. I'd like to start my AUT maximized and for this purpose I set 'bool maximized' to 'true'. Everything works fine as long as the application was most recently closed in maximized state. If this is not the case, the AUT first gets started maximized, but then is set to the main window sizes which are stored in the registry under "CurrentUser\Software\CompanyName\ProductName\ProductVersion\Windows".
This problem only occurs within Ranorex (5.0.3). When I e.g. use a script to start the application maximized via COM, everything works fine - no matter what window state was given before. Does anyone have a clue what could solve this?