- bala_2020
- Posts : 2
Join date : 2012-11-03
Selenium IDE - Firefox refresh confirmation dialog
Mon Nov 05, 2012 6:36 am
Hi All,
I am new to selenium, before posting this message I tried googling but ended in vein
Issue:
In a web-site which is secured with SSL certificate (https), I have to login and navigate pages and in particular page I need to refresh using the command (refresh / refreshAndWait), as you all know Firefox will prompt with confirmation dialog with the message "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier." 'Cancel / Resend' buttons. with Resend button as selected, i need to automate the click of 'Resend' button (or) Enter key like (\\13) but not able to find a way.
Please help.
Regards,
Bala
I am new to selenium, before posting this message I tried googling but ended in vein
Issue:
In a web-site which is secured with SSL certificate (https), I have to login and navigate pages and in particular page I need to refresh using the command (refresh / refreshAndWait), as you all know Firefox will prompt with confirmation dialog with the message "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier." 'Cancel / Resend' buttons. with Resend button as selected, i need to automate the click of 'Resend' button (or) Enter key like (\\13) but not able to find a way.
Please help.
Regards,
Bala
Re: Selenium IDE - Firefox refresh confirmation dialog
Tue Nov 06, 2012 2:34 pm
Did you try keyPressAndWait -
- Code:
keyPressAndWait(locator, keySequence)
Generated from keyPress(locator, keySequence)
Arguments:
locator - an element locator
keySequence - Either be a string("\" followed by the numeric keycode of the key to be pressed, normally the ASCII value of that key), or a single character. For example: "w", "\119".
Simulates a user pressing and releasing a key.
- bala_2020
- Posts : 2
Join date : 2012-11-03
Re: Selenium IDE - Firefox refresh confirmation dialog
Thu Nov 08, 2012 9:42 pm
Thanks Tarun,
As I mentioned earlier ASCII value for enter key is '\\13' but I can't get hold of the locator. since screen refresh is a browser event and as per firefox security confirmation dialog pops-up and locator I am not able to get.
Please let me know if there is a way?
Regards,
Bala
As I mentioned earlier ASCII value for enter key is '\\13' but I can't get hold of the locator. since screen refresh is a browser event and as per firefox security confirmation dialog pops-up and locator I am not able to get.
Please let me know if there is a way?
Regards,
Bala
- How to Handle Modal dialog window issue (Using Selenium IDE) in Firefox 3.0
- Warning: Unresponsive script on Firefox 11, Firefox 12, Firefox 13 on selenium-server-standalone-2.x
- how to display Yes No confirmation box in Selenium RC with C# language.
- How to handle download dialog using Selenium IDE?
- How to capture the dialog box values using the selenium IDE
Permissions in this forum:
You cannot reply to topics in this forum