Share
Go down
bala_2020
Posts : 2
Join date : 2012-11-03

Selenium IDE - Firefox refresh confirmation dialog

on 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 Crying or Very sad

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
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

Re: Selenium IDE - Firefox refresh confirmation dialog

on 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.

_________________
Thanks
Tarun K
Free Selenium Training
bala_2020
Posts : 2
Join date : 2012-11-03

Re: Selenium IDE - Firefox refresh confirmation dialog

on 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
Sponsored content

Re: Selenium IDE - Firefox refresh confirmation dialog

Back to top
Permissions in this forum:
You cannot reply to topics in this forum