maximizing browser
Posted: Mon May 02, 2011 4:09 pm
Hello,
I am a new user of Ranorex, and a new member of this Forum.
We have 2 development licences and 2 floating run time licenses. So the testcases we record, will need to run on different machines... One of our issue is that sometimes, a browser will not open maximised.
Of course, I can record the click on the maximised button for one test in particular. And it worked.
But I would like to systematically maximise browsers when they open...
So my question is:
- In some automation application, we have an option in the setting, that permit us to always maximise the browser, I didn't find this setting in Ranorex 3.1... By any chance, is there such a setting in Ranorex?
If not, can you give me a snippet of C# code, that will always work, regardless of the repository. I woul like to make it a function, that I would call systematically everytime we start a browser!
Thanks,
Michel
I am a new user of Ranorex, and a new member of this Forum.
We have 2 development licences and 2 floating run time licenses. So the testcases we record, will need to run on different machines... One of our issue is that sometimes, a browser will not open maximised.
Of course, I can record the click on the maximised button for one test in particular. And it worked.
But I would like to systematically maximise browsers when they open...
So my question is:
- In some automation application, we have an option in the setting, that permit us to always maximise the browser, I didn't find this setting in Ranorex 3.1... By any chance, is there such a setting in Ranorex?
If not, can you give me a snippet of C# code, that will always work, regardless of the repository. I woul like to make it a function, that I would call systematically everytime we start a browser!
Thanks,
Michel