Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Selenium IDE - Firefox refresh confirmation dialog

View previous topic View next topic Go down

Selenium IDE - Firefox refresh confirmation dialog

Post by bala_2020 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

bala_2020

Posts : 2
Join date : 2012-11-03

Back to top Go down

Re: Selenium IDE - Firefox refresh confirmation dialog

Post by tarun3kumar 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

tarun3kumar
Master
Master

Posts : 186
Join date : 2012-02-14

http://seleniumtests.com

Back to top Go down

Re: Selenium IDE - Firefox refresh confirmation dialog

Post by bala_2020 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

bala_2020

Posts : 2
Join date : 2012-11-03

Back to top Go down

Re: Selenium IDE - Firefox refresh confirmation dialog

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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