**
[main] ERROR net.serenitybdd.core.Serenity - No alert is present (WARNING: The server did not provide any stacktrace information)
**
My Question is exactly similar to this one "Firefox alert box not detected with Selenium WebDriver"
But I am not able to find the solution.Even I have tried all kind of waits, changed firefox versions & tried the solution mentioned in the shared link. But, either I am not able to implement it or its not working.
So, guys need urgent help this is the only thing blocking me with my automation project.
Issue: When doing this task manually pop up comes up when I click on update button & its working fine.
But, when i do same action using automation pop-up shows & immediately closes automatically within a fraction of seconds & serenity throws error that No Alert not found. Also, alert window that appears during automation is bit different than the one found during manual execution. Please, refer to the link shared above if you want to see the difference in windows.
public void i_click_update_button() throws InterruptedException {
btn_update.waitUntilClickable().click(); // clicks the button & pop-up comes
}
public void Accept_POP_UP() throws InterruptedException {
getAlert().accept(); // code to accept the alret. I have already tried implementing wait & everything. problem is pop-up comes & immediately closes automatically
}Please, guys need help..! First time posting a question..!! Thanks in advance..!!
--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Does it happen if you use Chrome instead?
On 7 December 2016 at 06:26, Jatin Kaushik <jatin...@gmail.com> wrote:
Hi Guys,Anyone...any suggestions..!!FF version is 46 & Selenium jar is 2.53..!!
On Tuesday, December 6, 2016 at 12:41:25 PM UTC+5:30, Jatin Kaushik wrote:**
[main] ERROR net.serenitybdd.core.Serenity - No alert is present (WARNING: The server did not provide any stacktrace information)
**
My Question is exactly similar to this one "Firefox alert box not detected with Selenium WebDriver"
But I am not able to find the solution.Even I have tried all kind of waits, changed firefox versions & tried the solution mentioned in the shared link. But, either I am not able to implement it or its not working.
So, guys need urgent help this is the only thing blocking me with my automation project.
Issue: When doing this task manually pop up comes up when I click on update button & its working fine.
But, when i do same action using automation pop-up shows & immediately closes automatically within a fraction of seconds & serenity throws error that No Alert not found. Also, alert window that appears during automation is bit different than the one found during manual execution. Please, refer to the link shared above if you want to see the difference in windows.
public void i_click_update_button() throws InterruptedException { btn_update.waitUntilClickable().click(); // clicks the button & pop-up comes } public void Accept_POP_UP() throws InterruptedException { getAlert().accept(); // code to accept the alret. I have already tried implementing wait & everything. problem is pop-up comes & immediately closes automatically }Please, guys need help..! First time posting a question..!! Thanks in advance..!!
--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-use...@googlegroups.com.
To post to this group, send email to thucydid...@googlegroups.com.
I have tried with Chrome and it works fine. Issue is only with Firefox.
On Tuesday, December 6, 2016 at 12:41:25 PM UTC+5:30, Jatin Kaushik wrote:
--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.
Does it happen if you use Chrome instead?
On 7 December 2016 at 06:26, Jatin Kaushik <jatin...@gmail.com> wrote:
Hi Guys,Anyone...any suggestions..!!FF version is 46 & Selenium jar is 2.53..!!
On Tuesday, December 6, 2016 at 12:41:25 PM UTC+5:30, Jatin Kaushik wrote:**
[main] ERROR net.serenitybdd.core.Serenity - No alert is present (WARNING: The server did not provide any stacktrace information)
**
My Question is exactly similar to this one "Firefox alert box not detected with Selenium WebDriver"
But I am not able to find the solution.Even I have tried all kind of waits, changed firefox versions & tried the solution mentioned in the shared link. But, either I am not able to implement it or its not working.
So, guys need urgent help this is the only thing blocking me with my automation project.
Issue: When doing this task manually pop up comes up when I click on update button & its working fine.
But, when i do same action using automation pop-up shows & immediately closes automatically within a fraction of seconds & serenity throws error that No Alert not found. Also, alert window that appears during automation is bit different than the one found during manual execution. Please, refer to the link shared above if you want to see the difference in windows.
public void i_click_update_button() throws InterruptedException { btn_update.waitUntilClickable().click(); // clicks the button & pop-up comes } public void Accept_POP_UP() throws InterruptedException { getAlert().accept(); // code to accept the alret. I have already tried implementing wait & everything. problem is pop-up comes & immediately closes automatically }Please, guys need help..! First time posting a question..!! Thanks in advance..!!
--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-use...@googlegroups.com.
To post to this group, send email to thucydid...@googlegroups.com.
desiredCapability.setCapability(CapabilityType.UNEXPECTED_ALERT_BEHAVIOUR, UnexpectedAlertBehaviour.IGNORE);