FAQ
Hi All,

I'm using
selenium standalone server - 2.25.0
IE - 8.0.7601.17514 64-bit edition
IEDriverServer.exe - 2.28.0 (64 bit)
OS - Windows 7 professional
Java - SDK7

I'm using below code to launch IE and to run a simple test.

@Test
public void test() throws InterruptedException {

WebDriver driver = null;
DesiredCapabilities ieCapabilities = null;

ieCapabilities = DesiredCapabilities.internetExplorer();
if (ieCapabilities != null) {
driver = new InternetExplorerDriver(ieCapabilities);
}
driver.get("http://www.yebhi.com/");

driver.findElement(By.xpath("//div/ul/li/a/div/span")).click();
driver.findElement(By.xpath("//div[80]/a")).click();
driver.findElement(By.xpath("//div[4]/div/div[2]/div/div[4]/a"))
.click();

driver.findElement(By.xpath("//div[5]/div[4]/div/div[4]/a")).click();

driver.switchTo().frame(2);
driver.findElement(By.id("txtMoblogin")).clear();
driver.findElement(By.id("txtMoblogin")).sendKeys("ghfghghf");
Thread.sleep(5000);
driver.findElement(By.id("txtMobPass")).clear();
driver.findElement(By.id("txtMobPass")).sendKeys("hfghgh");
Thread.sleep(5000);
driver.findElement(By.id("btnLogin")).click();
}

I'm able to launch and run but facing a problem. The actual problem is
while running *the browser continuously maximizing and minimizing until the
test suite get finished*. I don't know weather it is a bug or not. I'm
struggling with this one for more than a month. If it is a bug please help
me to resolve this issue.



--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/pPfEsNMYD5EJ.
To post to this group, send email to webdriver@googlegroups.com.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.

Search Discussions

  • Mark Collin at Jan 17, 2013 at 6:11 pm
    Sounds like it's taking screenshots.

    On 17/01/2013 05:15, manigandanspec@gmail.com wrote:
    Hi All,

    I'm using
    selenium standalone server - 2.25.0
    IE - 8.0.7601.17514 64-bit edition
    IEDriverServer.exe - 2.28.0 (64 bit)
    OS - Windows 7 professional
    Java - SDK7

    I'm using below code to launch IE and to run a simple test.

    @Test
    public void test() throws InterruptedException {

    WebDriver driver = null;
    DesiredCapabilities ieCapabilities = null;

    ieCapabilities = DesiredCapabilities.internetExplorer();
    if (ieCapabilities != null) {
    driver = new InternetExplorerDriver(ieCapabilities);
    }
    driver.get("http://www.yebhi.com/");

    driver.findElement(By.xpath("//div/ul/li/a/div/span")).click();
    driver.findElement(By.xpath("//div[80]/a")).click();
    driver.findElement(By.xpath("//div[4]/div/div[2]/div/div[4]/a"))
    .click();
    driver.findElement(By.xpath("//div[5]/div[4]/div/div[4]/a")).click();

    driver.switchTo().frame(2);
    driver.findElement(By.id("txtMoblogin")).clear();
    driver.findElement(By.id("txtMoblogin")).sendKeys("ghfghghf");
    Thread.sleep(5000);
    driver.findElement(By.id("txtMobPass")).clear();
    driver.findElement(By.id("txtMobPass")).sendKeys("hfghgh");
    Thread.sleep(5000);
    driver.findElement(By.id("btnLogin")).click();
    }

    I'm able to launch and run but facing a problem. The actual problem is
    while running *the browser continuously maximizing and minimizing
    until the test suite get finished*. I don't know weather it is a bug
    or not. I'm struggling with this one for more than a month. If it is a
    bug please help me to resolve this issue.



    --
    You received this message because you are subscribed to the Google
    Groups "webdriver" group.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/webdriver/-/pPfEsNMYD5EJ.
    To post to this group, send email to webdriver@googlegroups.com.
    To unsubscribe from this group, send email to
    webdriver+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/webdriver?hl=en.
    --
    You received this message because you are subscribed to the Google Groups "webdriver" group.
    To post to this group, send email to webdriver@googlegroups.com.
    To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
  • Jim Evans at Jan 17, 2013 at 8:13 pm
    Exactly so. Asked and answered here:
    http://stackoverflow.com/questions/14373371/ie-is-continously-maximizing-and-minimizing-when-test-suite-executes
    On Thursday, January 17, 2013 10:29:22 AM UTC-5, Mark Collin wrote:

    Sounds like it's taking screenshots.


    On 17/01/2013 05:15, manigan...@gmail.com <javascript:> wrote:

    Hi All,

    I'm using
    selenium standalone server - 2.25.0
    IE - 8.0.7601.17514 64-bit edition
    IEDriverServer.exe - 2.28.0 (64 bit)
    OS - Windows 7 professional
    Java - SDK7

    I'm using below code to launch IE and to run a simple test.

    @Test
    public void test() throws InterruptedException {

    WebDriver driver = null;
    DesiredCapabilities ieCapabilities = null;

    ieCapabilities = DesiredCapabilities.internetExplorer();
    if (ieCapabilities != null) {
    driver = new InternetExplorerDriver(ieCapabilities);
    }
    driver.get("http://www.yebhi.com/" <http://www.yebhi.com/>);

    driver.findElement(By.xpath("//div/ul/li/a/div/span")).click();
    driver.findElement(By.xpath("//div[80]/a")).click();
    driver.findElement(By.xpath("//div[4]/div/div[2]/div/div[4]/a"))
    .click();

    driver.findElement(By.xpath("//div[5]/div[4]/div/div[4]/a")).click();

    driver.switchTo().frame(2);
    driver.findElement(By.id("txtMoblogin")).clear();
    driver.findElement(By.id("txtMoblogin")).sendKeys("ghfghghf");
    Thread.sleep(5000);
    driver.findElement(By.id("txtMobPass")).clear();
    driver.findElement(By.id("txtMobPass")).sendKeys("hfghgh");
    Thread.sleep(5000);
    driver.findElement(By.id("btnLogin")).click();
    }

    I'm able to launch and run but facing a problem. The actual problem is
    while running *the browser continuously maximizing and minimizing until
    the test suite get finished*. I don't know weather it is a bug or not.
    I'm struggling with this one for more than a month. If it is a bug please
    help me to resolve this issue.



    --
    You received this message because you are subscribed to the Google Groups
    "webdriver" group.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/webdriver/-/pPfEsNMYD5EJ.
    To post to this group, send email to webd...@googlegroups.com<javascript:>
    .
    To unsubscribe from this group, send email to
    webdriver+...@googlegroups.com <javascript:>.
    For more options, visit this group at
    http://groups.google.com/group/webdriver?hl=en.

    --
    You received this message because you are subscribed to the Google Groups "webdriver" group.
    To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/0fRBogZK3N0J.
    To post to this group, send email to webdriver@googlegroups.com.
    To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupwebdriver @
categorieswatir
postedJan 17, '13 at 10:06a
activeJan 17, '13 at 8:13p
posts3
users3
websitewatir.com

People

Translate

site design / logo © 2017 Grokbase