title: Selenium - Pop Up window
body: <p>I am testing the Router UI using selenium. I am using cisco routers. I am pinging a website and the router opens a pop up window showing the Ping statistics. The selenium ide is recording the popup window as " Ping table " but when i am running it the ide shows an error.</p>
  
  <p>I want to verify and validate the data in the pop up window . i tried  " select window " , get win ids " , win names , nothing seems to be working. I am using python in selenium .</p>
  
  <p>code below </p>
  
  <pre><code>    sel.open("/Diagnostics.asp")
      sel.click("ping_button")
      sel.wait_for_page_to_load("30000")
      sel.click("ping_button")
      sel.wait_for_page_to_load("30000")
  </code></pre>
  
  <p>-------   it fails for all the steps below </p>
  
  <pre><code>    sel.wait_for_pop_up("PingTable", "30000")
  </code></pre>
  
  <p>------  pop up window -----> ping table ------------</p>
  
  <pre><code>    sel.select_window("name=PingTable")
  
  
  self.failUnless(sel.is_text_present("5 Packets transmitted, 5 Packets received, 0% Packet loss"))
  </code></pre>
  
  <p>nothing seems to work ......</p>