<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: while automation using selenium, popup are not recognized in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-automation-using-selenium-popup-are-not-recognized/m-p/361111#M7615</link>
    <description>&lt;P&gt;Hi, I've been testing SapUI5 with selenium and I switch to pop ups using the following:&lt;/P&gt;&lt;P&gt;driver.switchTo().frame("contentAreaFrame");&lt;/P&gt;&lt;P&gt;
driver.switchTo().frame("isolatedWorkArea"); &lt;/P&gt;&lt;P&gt;I needed both lines to switch into one pop up. I used the selenium ide tool on firefox to get the frame names. Hopefully this helps.&lt;/P&gt;&lt;P&gt;I also used:&lt;/P&gt;&lt;P&gt;for (String winHandle : driver.getWindowHandles()) {
driver.switchTo().window(winHandle);}&lt;/P&gt;&lt;P&gt;// switch focus of WebDriver to the next found window handle (that's your newly opened window) &lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2017 11:05:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-01-09T11:05:00Z</dc:date>
    <item>
      <title>while automation using selenium, popup are not recognized</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-automation-using-selenium-popup-are-not-recognized/m-p/361110#M7614</link>
      <description>&lt;P&gt;I am trying to automate application using Selenium, at runtime popup are not recognized and hence i am unable to identify objects inside the pop up.&lt;/P&gt;&lt;P&gt;Each time the script fails with error element not found.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 11:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-automation-using-selenium-popup-are-not-recognized/m-p/361110#M7614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-27T11:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: while automation using selenium, popup are not recognized</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-automation-using-selenium-popup-are-not-recognized/m-p/361111#M7615</link>
      <description>&lt;P&gt;Hi, I've been testing SapUI5 with selenium and I switch to pop ups using the following:&lt;/P&gt;&lt;P&gt;driver.switchTo().frame("contentAreaFrame");&lt;/P&gt;&lt;P&gt;
driver.switchTo().frame("isolatedWorkArea"); &lt;/P&gt;&lt;P&gt;I needed both lines to switch into one pop up. I used the selenium ide tool on firefox to get the frame names. Hopefully this helps.&lt;/P&gt;&lt;P&gt;I also used:&lt;/P&gt;&lt;P&gt;for (String winHandle : driver.getWindowHandles()) {
driver.switchTo().window(winHandle);}&lt;/P&gt;&lt;P&gt;// switch focus of WebDriver to the next found window handle (that's your newly opened window) &lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 11:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-automation-using-selenium-popup-are-not-recognized/m-p/361111#M7615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-09T11:05:00Z</dc:date>
    </item>
  </channel>
</rss>

