window « selenium « Java Testing Q&A

Home
Java Testing Q&A
1.Development
2.FindBugs
3.HTMLUnit
4.hudson
5.junit
6.performance
7.plugin
8.profile
9.selenium
10.Tools
11.unit test
Java Testing Q&A » selenium » window 

1. Accessing properties of window with Selenium    stackoverflow.com

The page I am trying to test sets the value of "global variables". From the Firebug, I can access those as properties of the window object (e.g. window.foo). From Selenium however, typeof ...

2. Control Download confirmation popup window using selenium script    stackoverflow.com

I wrote test case to click on download button. How to go to download confirmation pop up window and select save or open option, and click ok and come back ...

3. Open firefox window in selenium with firefox addons loaded?    stackoverflow.com

when I run my test in selenium, the newly opened firefox window is opened without my installed addons like xpathchecker. Is it possible to setup selenium so that it will use ...

4. about doing UI test using selenium-rc for internet explore 7 under window vista    stackoverflow.com

Excuse me, may I ask if any one have tried to use selenium rc to do UI test for Inernet Explore 7 under window vista? I have tried to do that. But ...

5. Selenium IDE focus event doesn't fire unless window is active    stackoverflow.com

I added this code to my web page:

<input id='argh' type='text' onfocus='this.value=7'>
Unless the browser window is active, the focus event does not seem to fire (using the 'focus' command) from Selenium:
# [info] ...

6. How to resize Firefox window when Selenium is running?    stackoverflow.com

I am using Selenium Remote Control and I hate when it starts running the tests when the actual Firefox window is so small. I want it full screen so ...

7. Open a new browser session in a different window in Selenium    stackoverflow.com

I am new to Selenium and just started to use it. I want to open a new browser session in a different window from my script and do not know how ...

8. Selenium RC popup window question    stackoverflow.com

My webpage submits information to a page and the response returns a popup window. Does anyone have an idea about how I can validate the information in the popup window? Popup window ...

9. Selenium not opening virtual browser window on Linux    stackoverflow.com

I am using Selenium to conduct user interface tests with JUnit, in a Maven project. The project is located on a Linux box running IEs4Linux and Wine to allow us to ...

10. How do I maximize the browser window using WebDriver (Selenium 2)?    stackoverflow.com

Is there a way to maximize the browser window using WebDriver (Selenium 2)?

11. declare window in selenium with browsermob    stackoverflow.com

I am using browsermob and selenium for creating scripts to run on a site. I am trying to grab all of the elements on the page with a certain name. My ...

12. In a multi-monitor display environment, how do I tell Selenium which display to open a new window in?    stackoverflow.com

Sorry if this has been asked and answered. I did a search but came up empty.

13. IE and Selenium: window.createPopup()    stackoverflow.com

I've been playing with Selenium lately, trying to create tests for an IE only application. Things were progressing (though slowly as without the recorder plugin I had to resort to trial ...

14. How do I make Selenium RC to not move the browser window?    stackoverflow.com

Is there a way to specify where Selenium RC spawn the browser window? When I run my test script, Selenium RC opens 2 windows in the browser, the Selenium RC window ...

15. Selenium 2/Webdriver - how to double click a table row (which opens a new window)    stackoverflow.com

I'm using C# with Selenium 2.0 / Webdriver and I'm trying to simulate a double click on a table row that opens a new browser window. I have two problems:

  1. After locating ...

16. Selenium href blank New Window test    stackoverflow.com

So, using Selenium, I want to test links on a page and see if they open a new window. They are NOT javascript links, just a basic href "target=_blank". I want ...

17. Selenium does not close browser window with log    stackoverflow.com

When I run test in Selenium 2, I end with selenium.close(); selenium.stop();. In previous version it closed both the windows with tested application and ...

18. 'window.Sizzle is not a function' error when using CSS locator    stackoverflow.com

Some months ago, I wanted to know how to click on a particular link in a page by its name, no the XPath: Selenium IDE: Click on a particular item by ...

19. How can we do the resizing the window in Windows through Selenium RC    stackoverflow.com

I tried resizing the window but unable to re-size the windows explorer through Selenium RC . If i resize the window the objects under the frame should also gets resized . ...

20. Selenium RC on Mac and Firefox 3.6.13 - AUT window does not launch    stackoverflow.com

I have been using Selenium RC 1.0.3 to run some functional tests for my AUT. All these days i have been running the tests on Windows with various browsers and Safari ...

21. Unable to find popup window    stackoverflow.com

I am having an issue with finding a popup window in some selenium test code. I am looking at the screen on the test runner and there are two IE ...

22. How to close the pop up window in selenium running?    stackoverflow.com

I wanna close the pop up window (known window name), and back to the original window. What shall I do? If I can't get a constant of the close button in window. ...

23. Window title is null, how can I select using selenium.selectwindow()    stackoverflow.com

In my application some of the pages doesn't have titles, just displaying "Mozilla Firefox" and I want to do some operations on that page. I tried to get the titles using selenium.GetAllWindowTitles(), ...

24. Not able to handle iframe and new window activity    stackoverflow.com

I am not able to handle Iframe popups. In my application when i click on some buttons or link then open iframe pop up. activity which i do on that iframe ...

25. Cannot get focus on new opened tab with selenium IDE    stackoverflow.com

I'm trying to create some web test with selenium IDE. But I have one problem when I click on a javascript link it opened a new tab. I need perform some ...

26. Selenium IDE will not detect a popup window on its own, but will if I click the command?    stackoverflow.com

I currently have a test in Selenium IDE that I recorded to click a link that makes a popup. When the test case plays back, it won't detect the window. If ...

27. How to open new window in browser selenium IDE    stackoverflow.com

Here is my piece of code it is not working. |open | http://www.google.com | | |type | q | selenium ide fourm | |clickAt | btnG | | |openWindowAndWait | http://seleniumforum.forumotion.net/ ...

28. How to hide firefox window (Firefox WebDriver)?    stackoverflow.com

When I execute multiple test simultaneously, i don't want to keep firefox browser window visible.. i can minimize it using selenium.minimizeWindow() but i don't want to do it. Is there any way ...

29. Session cookie cleared when open new window with webdriver    stackoverflow.com

I'm using Webdriver, Internet Explorer 7 and Windows Vista. When I click on a link that opens a new window through a JavaScript function using window.open(url), the window opens but instead of ...

30. Selenium-rc window causes permission denied message in IE    stackoverflow.com

Iam m testing with Selenium-rc 1.0.3 and I am getting a permission denied error message in IE when I run my IDE script from the command line I am trying to run ...

31. How do I prevent Selenium RC from stealing window focus while my tests are running?    stackoverflow.com

I know I'm probably in a small minority, but I have to use my machine at the same time my tests are running. The thing that always gets in my way ...

32. How to pick the particular link from in pop window    stackoverflow.com

When I click on Search button new pop window is opened, in that window I want pick the particular link. If using below command its hard coded because I want take ...

33. How to handle popup window in Selenium?    stackoverflow.com

I'm new to selenium, i'm trying to do basic programming for login page, when i enter a wrong password i get pop up box saying invalid password or username with ok ...

34. Can not use the selenium to catch the pop-up attachment uploading window in hotmail    stackoverflow.com

Hi all: I know many questiones have already been raised relating to how to catch pop-up windows using the Selenium. Actually, I know to the key API slectWindows in handling pop-up windows. But ...

35. How to use selenium storeValue in another window    stackoverflow.com

I need to create a following testcase in selenium and seek help 1.Open a site http://foo.bar in browser 2. log to site 3. select some content and store in ...

36. Handling Child window which auto-refreshes main window    stackoverflow.com

Using Selenium RC (.NET client & server v2.0b3 with Google Chrome) and using selenium v1 instructions (not webdriver), I'm trying to automate the following behavior: Scenario:

My main window has a list of ...

37. How can i pass parameter with popup window    stackoverflow.com

I need to open a popup with parameter here am using,

selenium.click("img_id")

selenium.open("http://www.olio.combankcustomerlist.action?bankId=116&branchId=33&customerId=1&readOnly=false&display=5")
I want to pass these parameters also When i use this: selenium.click("img_id") I am getting http://www.olio.combankcustomerlist.action?bankId=116&branchId=null&customerId=null&readOnly=false&display=5" Branch id will be null, How can i ...

38. Selenium RC single window - how to maximize client frame    stackoverflow.com

I am testing an application to test that must run in Selenium's single window mode. Multi window mode is not an option. The problem is Selenium's frame takes a big chunk of ...

39. Selenium RC:Unable to select window with title    stackoverflow.com

While trying to put focus on new page using title. I am receiving below error. I did not find any id or name in source code.

Error

Exception in thread "main" com.thoughtworks.selenium.SeleniumException: Unable to ...

40. Cannot execute a Selenium IDE test case for a Pop Window    stackoverflow.com

Hi can any one please help me with this script please. I cannot run a test case for pop window with selenium IDE. here is the following script i am using to run ...

41. Multiple Window problem in SELENIUM IDE    stackoverflow.com

HI, I am using Selenium IDE for recording test cases. In a particular test case, I need to work on two windows simultaneously but the selenium IDE does not record when I ...

42. Selenium 2: Store webdriver instance id of open window to create new webdriver instance with this id    stackoverflow.com

This question is about the Java API of Selenium 2 RC2, used with Firefox 4. Let's say i have a WebDriver instance open and made some interactions in that browser window, like ...

43. Browser window gets closed when i click Save on Pop    stackoverflow.com

I click on save button which is on a pop up. After that pop is closed and main window is refreshed. But won clicking on save button on pop up through selenium automation ...

44. How to force selenium to detect open window?    stackoverflow.com

js gets downloaded to browser cache. js contains functionA that constructs the url and calls the window.Open to open the url. i call the functionA to open the window. selenium doesnt detect the ...

45. Select a tab in Selenium by window name    stackoverflow.com

I can open new tabs with openWindow(url,windowID) in Selenium(Java) but I can not switch back to them. I have tried with selectWindow and selectPopup but nothing happened. I have studied that ...

46. Switching focus to a Popup window and taking a screenshot    stackoverflow.com

I'm writing a testscript in selenium 2 that takes a screenshot of a popup. The popup window is a pdf. After clicking the link, I'm using the code

try {
File scrFile = ...

47. Selenium IDE gets stuck on clickAndWait command in popup window    stackoverflow.com

How can I automate clicking this anchor tag with Selenium IDE (in Mozilla Firefox of course)? I tried two different approaches, and neither one worked. Would it matter that ...

48. Selenium Test (junit ) get stuck once the test spawns new window    stackoverflow.com

Issue is once the new window is spawn test hangs after the line waitForPageToLoad(3000) and finally times out. Once the test hangs if i manually fire some event in parent window ...

49. Selenium, how to open a link in new window?    stackoverflow.com

Selenium, how to open a link in new window?What I want to do is automate what we do manually by "right click->open in new window".I am aware how to switch to ...

50. How to send KeyStroke in selenium to browser window (without locator)    stackoverflow.com

Can i send KeyStroke in Selenium in Java without using a locator? I want to send KeyStroke to WebBrowser itself, because I don't know element (and its locator), to whom I must ...

51. WebDriver issue - Can't access another window.Error - No such Window found. NoSuchWindowException    stackoverflow.com

Test Environment - Working on writing tests in Selenium web driver in C#.net. And running them via NUnit. TheĀ baseĀ url - http://localhost/OnlineTest/login.aspx Inside of this there is an iframe, inside of ...

52. is it possible to close MS Windows print pop up window using selenium    stackoverflow.com

is it possible to close print pop up window using selenium.. Scenario is, on clicking print icon a pop up opens with preview and on top of it MS Windows Print ...

53. How to get focus to a new popup window which doesnt have name,id or unique title in selenium    stackoverflow.com

I want to get focus or select an window which pop-up's on click to the link and the link has following tags in html

<a target="_restaurant_50" href="/impersonate/50">View Dashboard</a>
if i put window name ...

54. How can I store a dynamic text value in selenium ide and use it later in different window    stackoverflow.com

I am new in selenium and trying to learning. I am creating a script and I got stuck here, I want to store a dynamic value from text message on web ...

55. Selenium: Accessing a window from Selenium when it is opened via JS on the page    stackoverflow.com

I'm using the WebBackedSeleniumDriver (selenium client 2.4.0). Let's say somewhere on the page being tested there is a call

storedVarsWin = window.open('about:blank', 'storedVarsWin');
From Selenium (using the Java API), how do I ...

56. Selenium Test run problem. Firefox window.name="" Chrome window.name="popUpWindow"    stackoverflow.com

Recording a test with selenium IDE it sees the window name as popUpWindow. Playback doesn't find the window. Firebug shows the window.name="" Chrome shows the window.name="popUpWindow" Anyone else seen this behavior? Any idea how ...

57. Selenium - Handling modal (Child Browser) window in Microsoft Dynamics CRM    stackoverflow.com

I am trying automate Microsoft Dynamics CRM application using Selenium RC, I am unable to handle the modal(child browser) windows. Every time Selenium clicks to open modal window ( selenium.selectWindow("windowName")) I ...

58. How to run Selenium tests in Grid in one browser window?    stackoverflow.com

When using only Selenium server it was possible to run the tests in the single browser window with the setting

-java -jar selenium-server-standalone-2.2.0.jar -singleWindow
When switched to grid 2, -singleWindow parameter is ...

59. How do I find the GraphicsDevice where an external process' window is opened    stackoverflow.com

I need to find the GraphicsDevice (e.g. the physical monitor) where an external process has opened its window. To grab screen shots to catch changes WRT older versions. We're talking ...

60. Selenium won't detect new window after clicking link    stackoverflow.com

In my selenium script, I click a link (that is inside a frame or something generated so that a search through the source doesn't return it), which sends me to a ...

61. Selenium: Is the select window is corresponding to session    stackoverflow.com

I want to know how the selenium selectWindow selects the window is it according to session. i.e. If I have two sessions in parallel and both the sessions are selecting pop-up ...

62. How can I view the Javascript Window ID of my window? For use with Selenium select_window()    stackoverflow.com

I am trying to select a newly-opened window using Selenium, and the select_window() method requires its WindowID. I have tried using the window's title, as other places have suggested, and turned on ...

63. Test fails when browser window does not have focus    stackoverflow.com

My Selenium Java Webdriver tests are failing when they start if I don't click on the browser page that is being opened... The following crash is caused from an ElementNotVisibleException, obviously. This was ...

64. Selenium RC is not opening new IE window rather throwing javascript error    stackoverflow.com

I am automating my project using selenium RC-Java-Eclipse, though am new to it. I have 2 tabs in my application, one to enter details and save it, 2nd will open up a ...

65. Handling File Upload window in selenium through AutoIT    stackoverflow.com

  I am doing web automation through selenium c# scripting. In a page when I click a Browse button a File Upload Window gets opened. The selenium cannot handle the ...

66. Selenium fails to show intended window when clicked on a button    stackoverflow.com

I m using selenium webdriver, IE 7, Windows XP. When using web driver to click on a button that opens a new window, intended screen is not opened. New window ...

67. selenium fails to open intended new window    stackoverflow.com

I am trying to automate web based application (asp.net) through selenium web driver. Web application has login page and once I log in, I need to click on a button that ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.