How to display & maximize the browser window when Selenium test starts ?

View: New views
4 Messages — Rating Filter:   Alert me  

How to display & maximize the browser window when Selenium test starts ?

by R-24 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

When I run my test using Selenium RC, I want to display & maximize the browser so that I can see the test in action, just like demo.
Is there anyway I can do this programmatically ? Because during test, the browser always stays minimized until I click & maximize it manually. I've checked windowMaximize and windowFocus method but I can't find the right window name to pass as parameter.

Any help would be greatly appreciated.


Regards,

Setya

---------------------------------------------------------------------
To unsubscribe, e-mail: selenium-dev-unsubscribe@...
For additional commands, e-mail: selenium-dev-help@...


RE: How to display & maximize the browser window when Selenium test starts ?

by Nelson Sproul :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[This should be posted to selenium-users, not selenium-dev.]

A blank string should be used to match the default app window.  

Note that windowMaximize doesn't do a true "maximize" operation; rather
it just resizes the window to the largest possible size.

Nelson

-----Original Message-----
From: Setya [mailto:forum-selenium-dev@...]
Sent: Tuesday, April 24, 2007 4:58 AM
To: selenium-dev@...
Subject: [selenium-dev] How to display & maximize the browser window
when Selenium test starts ?

Hi all,

When I run my test using Selenium RC, I want to display & maximize the
browser so that I can see the test in action, just like demo.
Is there anyway I can do this programmatically ? Because during test,
the browser always stays minimized until I click & maximize it manually.
I've checked windowMaximize and windowFocus method but I can't find the
right window name to pass as parameter.

Any help would be greatly appreciated.


Regards,

Setya

---------------------------------------------------------------------
To unsubscribe, e-mail: selenium-dev-unsubscribe@...
For additional commands, e-mail: selenium-dev-help@...


Notice:  This email message, together with any attachments, may contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: selenium-dev-unsubscribe@...
For additional commands, e-mail: selenium-dev-help@...


Re: How to display & maximize the browser window when Selenium test starts ?

by R-24 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear friend:
Welcome to our website, we are the wholesaler company which  can offer you Laptops,Digital
Cameras,Videos,  GPS,  Cellphone,  Mp3,  Mp4, electronic guitar,  Game Console  and  many  
otherelectronic products. We can offer you not only high quality products but also the best
price in theworld.The more you buy the cheaper we can offer you. we have our own websiteand
warehouse. We havecustomers all over the world. we are just the wholesale supplier that can
deal Large orders and getthe job done.Sticking to the principle of "Quality First and
Reputation First", we ensure you of 100%qualified products. web: http://www.bobsel.com   
MSN:  bobsel888@...

---------------------------------------------------------------------
To unsubscribe, e-mail: selenium-dev-unsubscribe@...
For additional commands, e-mail: selenium-dev-help@...


Re: How to display & maximize the browser window when Selenium test starts ?

by BoBoMonkey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Read the post Maximize browser window on my blog. I have just the code you want.

R-24 wrote:
Hi all,

When I run my test using Selenium RC, I want to display & maximize the browser so that I can see the test in action, just like demo.
Is there anyway I can do this programmatically ? Because during test, the browser always stays minimized until I click & maximize it manually. I've checked windowMaximize and windowFocus method but I can't find the right window name to pass as parameter.

Any help would be greatly appreciated.


Regards,

Setya

---------------------------------------------------------------------
To unsubscribe, e-mail: selenium-dev-unsubscribe@openqa.org
For additional commands, e-mail: selenium-dev-help@openqa.org