Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

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 Today at 3:23 am


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