Hi All,

How to handle java script authentication alert popup where is I need to
type username and password. How to handle this in selenium.


Thanks
Vipin

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Simon Stewart at Sep 26, 2012 at 4:23 pm
    This is the issue that you need to be tracking:

    http://code.google.com/p/selenium/issues/detail?id=34

    Simon
    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair wrote:
    Hi All,

    How to handle java script authentication alert popup where is I need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to
    selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Shobhit at Oct 5, 2012 at 5:23 am
    Hi Simon,

    May I know what is the purpose of the below method

    driver.switchTo().alert().authenticateUsing(arg0)
    On Wednesday, September 26, 2012 9:48:34 PM UTC+5:30, Simon Stewart wrote:

    This is the issue that you need to be tracking:

    http://code.google.com/p/selenium/issues/detail?id=34

    Simon
    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair wrote:
    Hi All,

    How to handle java script authentication alert popup where is I need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.com<javascript:>.
    To unsubscribe from this group, send email to
    selenium-user...@googlegroups.com <javascript:>.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/RKtgJiwCRAwJ.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Krishnan Mahadevan at Oct 5, 2012 at 7:57 am
    Shobhit,
    Where did you get a reference to the authenticateUsing() method ? I cant
    find it in Selenium 2.25.0 for sure !

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive, fattening
    or in love with someone else!"
    My Scribblings @ http://wakened-cognition.blogspot.com/

    On Fri, Oct 5, 2012 at 9:18 AM, Shobhit wrote:

    Hi Simon,

    May I know what is the purpose of the below method

    driver.switchTo().alert().authenticateUsing(arg0)
    On Wednesday, September 26, 2012 9:48:34 PM UTC+5:30, Simon Stewart wrote:

    This is the issue that you need to be tracking:

    http://code.google.com/p/**selenium/issues/detail?id=34<http://code.google.com/p/selenium/issues/detail?id=34>

    Simon
    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair wrote:
    Hi All,

    How to handle java script authentication alert popup where is I need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to
    selenium-user...@**googlegroups.com.
    For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>.
    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to
    selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/selenium-users/-/RKtgJiwCRAwJ.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Gaurav Chaturvedi at Oct 5, 2012 at 8:30 am
    Please try with autoIt script.


    On Fri, Oct 5, 2012 at 1:27 PM, Krishnan Mahadevan wrote:

    Shobhit,
    Where did you get a reference to the authenticateUsing() method ? I cant
    find it in Selenium 2.25.0 for sure !

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive, fattening
    or in love with someone else!"
    My Scribblings @ http://wakened-cognition.blogspot.com/


    On Fri, Oct 5, 2012 at 9:18 AM, Shobhit wrote:

    Hi Simon,

    May I know what is the purpose of the below method

    driver.switchTo().alert().authenticateUsing(arg0)
    On Wednesday, September 26, 2012 9:48:34 PM UTC+5:30, Simon Stewart wrote:

    This is the issue that you need to be tracking:

    http://code.google.com/p/**selenium/issues/detail?id=34<http://code.google.com/p/selenium/issues/detail?id=34>

    Simon

    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair <vipin....@gmail.com>
    wrote:
    Hi All,

    How to handle java script authentication alert popup where is I need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to
    selenium-user...@**googlegroups.com.
    For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>.
    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to
    selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/selenium-users/-/RKtgJiwCRAwJ.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to
    selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Aparna at Oct 5, 2012 at 11:37 am
    Hello Krishnan,

    As per Shobhit code, this method is available under Alerts interface.
    But this method is in Beta mode.

    On Friday, October 5, 2012 1:28:22 PM UTC+5:30, Krishnan wrote:

    Shobhit,
    Where did you get a reference to the authenticateUsing() method ? I cant
    find it in Selenium 2.25.0 for sure !

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive, fattening
    or in love with someone else!"
    My Scribblings @ http://wakened-cognition.blogspot.com/


    On Fri, Oct 5, 2012 at 9:18 AM, Shobhit <sgup...@gmail.com <javascript:>>wrote:
    Hi Simon,

    May I know what is the purpose of the below method

    driver.switchTo().alert().authenticateUsing(arg0)
    On Wednesday, September 26, 2012 9:48:34 PM UTC+5:30, Simon Stewart wrote:

    This is the issue that you need to be tracking:

    http://code.google.com/p/**selenium/issues/detail?id=34<http://code.google.com/p/selenium/issues/detail?id=34>

    Simon

    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair <vipin....@gmail.com>
    wrote:
    Hi All,

    How to handle java script authentication alert popup where is I need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to
    selenium-user...@**googlegroups.com.
    For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>.
    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.com<javascript:>
    .
    To unsubscribe from this group, send email to
    selenium-user...@googlegroups.com <javascript:>.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/selenium-users/-/RKtgJiwCRAwJ.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/rMdtIrnRMn8J.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Krishnan Mahadevan at Oct 5, 2012 at 11:47 am
    Aparna,

    That's wierd, coz I dont see it here :

    http://code.google.com/searchframe#2tHw6m3DZzo/trunk/common/src/java/org/openqa/selenium/Alert.java

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive, fattening
    or in love with someone else!"


    On Fri, Oct 5, 2012 at 5:07 PM, Aparna wrote:

    Hello Krishnan,

    As per Shobhit code, this method is available under Alerts interface.
    But this method is in Beta mode.

    On Friday, October 5, 2012 1:28:22 PM UTC+5:30, Krishnan wrote:

    Shobhit,
    Where did you get a reference to the authenticateUsing() method ? I cant
    find it in Selenium 2.25.0 for sure !

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"
    My Scribblings @ http://wakened-cognition.**blogspot.com/<http://wakened-cognition.blogspot.com/>

    On Fri, Oct 5, 2012 at 9:18 AM, Shobhit wrote:

    Hi Simon,

    May I know what is the purpose of the below method

    driver.switchTo().alert().**authenticateUsing(arg0)

    On Wednesday, September 26, 2012 9:48:34 PM UTC+5:30, Simon Stewart
    wrote:
    This is the issue that you need to be tracking:

    http://code.google.com/p/**selen**ium/issues/detail?id=34<http://code.google.com/p/selenium/issues/detail?id=34>

    Simon

    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair <vipin....@gmail.com>
    wrote:
    Hi All,

    How to handle java script authentication alert popup where is I need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to
    selenium-user...@**googlegroups.**com.
    For more options, visit https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>.
    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to selenium-user...@**
    googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/**
    msg/selenium-users/-/**RKtgJiwCRAwJ<https://groups.google.com/d/msg/selenium-users/-/RKtgJiwCRAwJ>
    .
    For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
    .

    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to
    selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/selenium-users/-/rMdtIrnRMn8J.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Manoj Hans at Oct 5, 2012 at 12:05 pm
    but krishnan here u can see..;)

    http://selenium.googlecode.com/svn/trunk/docs/api/java/index.html


    --Manoj Hans
    On Friday, October 5, 2012 5:18:09 PM UTC+5:30, Krishnan wrote:

    Aparna,

    That's wierd, coz I dont see it here :


    http://code.google.com/searchframe#2tHw6m3DZzo/trunk/common/src/java/org/openqa/selenium/Alert.java

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive, fattening
    or in love with someone else!"



    On Fri, Oct 5, 2012 at 5:07 PM, Aparna <naik....@gmail.com <javascript:>>wrote:
    Hello Krishnan,

    As per Shobhit code, this method is available under Alerts interface.
    But this method is in Beta mode.

    On Friday, October 5, 2012 1:28:22 PM UTC+5:30, Krishnan wrote:

    Shobhit,
    Where did you get a reference to the authenticateUsing() method ? I cant
    find it in Selenium 2.25.0 for sure !

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"
    My Scribblings @ http://wakened-cognition.**blogspot.com/<http://wakened-cognition.blogspot.com/>

    On Fri, Oct 5, 2012 at 9:18 AM, Shobhit wrote:

    Hi Simon,

    May I know what is the purpose of the below method

    driver.switchTo().alert().**authenticateUsing(arg0)

    On Wednesday, September 26, 2012 9:48:34 PM UTC+5:30, Simon Stewart
    wrote:
    This is the issue that you need to be tracking:

    http://code.google.com/p/**selen**ium/issues/detail?id=34<http://code.google.com/p/selenium/issues/detail?id=34>

    Simon

    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair <vipin....@gmail.com>
    wrote:
    Hi All,

    How to handle java script authentication alert popup where is I need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to
    selenium-user...@**googlegroups.**com.
    For more options, visit https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>.
    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to selenium-user...@**
    googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/**
    msg/selenium-users/-/**RKtgJiwCRAwJ<https://groups.google.com/d/msg/selenium-users/-/RKtgJiwCRAwJ>
    .
    For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
    .

    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.com<javascript:>
    .
    To unsubscribe from this group, send email to
    selenium-user...@googlegroups.com <javascript:>.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/selenium-users/-/rMdtIrnRMn8J.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/Ccrne1FXmoEJ.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Krishnan Mahadevan at Oct 5, 2012 at 12:12 pm
    Seems like I was looking at the wrong place :)

    http://code.google.com/searchframe#2tHw6m3DZzo/trunk/java/client/src/org/openqa/selenium/Alert.java

    That makes me wonder... how are there two Alert.java interfaces, and how is
    this one different from

    http://code.google.com/**searchframe#2tHw6m3DZzo/trunk/**
    common/src/java/org/openqa/**selenium/Alert.java<http://code.google.com/searchframe#2tHw6m3DZzo/trunk/common/src/java/org/openqa/selenium/Alert.java>

    Does that mean, that this new method has been added only to the "java"
    client bindings ?

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive, fattening
    or in love with someone else!"


    On Fri, Oct 5, 2012 at 5:35 PM, Manoj Hans wrote:

    but krishnan here u can see..;)

    http://selenium.googlecode.com/svn/trunk/docs/api/java/index.html


    --Manoj Hans
    On Friday, October 5, 2012 5:18:09 PM UTC+5:30, Krishnan wrote:

    Aparna,

    That's wierd, coz I dont see it here :

    http://code.google.com/**searchframe#2tHw6m3DZzo/trunk/**
    common/src/java/org/openqa/**selenium/Alert.java<http://code.google.com/searchframe#2tHw6m3DZzo/trunk/common/src/java/org/openqa/selenium/Alert.java>

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"


    On Fri, Oct 5, 2012 at 5:07 PM, Aparna wrote:

    Hello Krishnan,

    As per Shobhit code, this method is available under Alerts interface.
    But this method is in Beta mode.

    On Friday, October 5, 2012 1:28:22 PM UTC+5:30, Krishnan wrote:

    Shobhit,
    Where did you get a reference to the authenticateUsing() method ? I
    cant find it in Selenium 2.25.0 for sure !

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"
    My Scribblings @ http://wakened-cognition.**blogs**pot.com/<http://wakened-cognition.blogspot.com/>

    On Fri, Oct 5, 2012 at 9:18 AM, Shobhit wrote:

    Hi Simon,

    May I know what is the purpose of the below method

    driver.switchTo().alert().**auth**enticateUsing(arg0)

    On Wednesday, September 26, 2012 9:48:34 PM UTC+5:30, Simon Stewart
    wrote:
    This is the issue that you need to be tracking:

    http://code.google.com/p/**selen****ium/issues/detail?id=34<http://code.google.com/p/selenium/issues/detail?id=34>

    Simon

    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair <vipin....@gmail.com>
    wrote:
    Hi All,

    How to handle java script authentication alert popup where is I
    need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to
    selenium-user...@**googlegroups.****com.
    For more options, visit https://groups.google.com/**grou****
    ps/opt_out <https://groups.google.com/groups/opt_out>.
    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to selenium-user...@**
    googlegroups.**com.
    To view this discussion on the web visit https://groups.google.com/d/*
    *ms**g/selenium-users/-/**RKtgJiwCRAw**J<https://groups.google.com/d/msg/selenium-users/-/RKtgJiwCRAwJ>
    .
    For more options, visit https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
    .

    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to selenium-user...@**
    googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/**
    msg/selenium-users/-/**rMdtIrnRMn8J<https://groups.google.com/d/msg/selenium-users/-/rMdtIrnRMn8J>
    .
    For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
    .

    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to
    selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/selenium-users/-/Ccrne1FXmoEJ.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Krishnan Mahadevan at Oct 5, 2012 at 12:13 pm
    And digging in further I noticed that only AndroidAlert implements this
    method and its implementation throws an UnSupportedOperation exception.


    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive, fattening
    or in love with someone else!"


    On Fri, Oct 5, 2012 at 5:42 PM, Krishnan Mahadevan wrote:

    Seems like I was looking at the wrong place :)


    http://code.google.com/searchframe#2tHw6m3DZzo/trunk/java/client/src/org/openqa/selenium/Alert.java

    That makes me wonder... how are there two Alert.java interfaces, and how
    is this one different from

    http://code.google.com/**searchframe#2tHw6m3DZzo/trunk/**
    common/src/java/org/openqa/**selenium/Alert.java<http://code.google.com/searchframe#2tHw6m3DZzo/trunk/common/src/java/org/openqa/selenium/Alert.java>

    Does that mean, that this new method has been added only to the "java"
    client bindings ?

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive, fattening
    or in love with someone else!"


    On Fri, Oct 5, 2012 at 5:35 PM, Manoj Hans wrote:

    but krishnan here u can see..;)

    http://selenium.googlecode.com/svn/trunk/docs/api/java/index.html


    --Manoj Hans
    On Friday, October 5, 2012 5:18:09 PM UTC+5:30, Krishnan wrote:

    Aparna,

    That's wierd, coz I dont see it here :

    http://code.google.com/**searchframe#2tHw6m3DZzo/trunk/**
    common/src/java/org/openqa/**selenium/Alert.java<http://code.google.com/searchframe#2tHw6m3DZzo/trunk/common/src/java/org/openqa/selenium/Alert.java>

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"


    On Fri, Oct 5, 2012 at 5:07 PM, Aparna wrote:

    Hello Krishnan,

    As per Shobhit code, this method is available under Alerts interface.
    But this method is in Beta mode.

    On Friday, October 5, 2012 1:28:22 PM UTC+5:30, Krishnan wrote:

    Shobhit,
    Where did you get a reference to the authenticateUsing() method ? I
    cant find it in Selenium 2.25.0 for sure !

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"
    My Scribblings @ http://wakened-cognition.**blogs**pot.com/<http://wakened-cognition.blogspot.com/>

    On Fri, Oct 5, 2012 at 9:18 AM, Shobhit wrote:

    Hi Simon,

    May I know what is the purpose of the below method

    driver.switchTo().alert().**auth**enticateUsing(arg0)

    On Wednesday, September 26, 2012 9:48:34 PM UTC+5:30, Simon Stewart
    wrote:
    This is the issue that you need to be tracking:

    http://code.google.com/p/**selen****ium/issues/detail?id=34<http://code.google.com/p/selenium/issues/detail?id=34>

    Simon

    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair <vipin....@gmail.com>
    wrote:
    Hi All,

    How to handle java script authentication alert popup where is I
    need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to
    selenium-user...@**googlegroups.****com.
    For more options, visit https://groups.google.com/**grou****
    ps/opt_out <https://groups.google.com/groups/opt_out>.
    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to selenium-user...@**
    googlegroups.**com.
    To view this discussion on the web visit https://groups.google.com/d/
    **ms**g/selenium-users/-/**RKtgJiwCRAw**J<https://groups.google.com/d/msg/selenium-users/-/RKtgJiwCRAwJ>
    .
    For more options, visit https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
    .

    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to selenium-user...@**
    googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/**
    msg/selenium-users/-/**rMdtIrnRMn8J<https://groups.google.com/d/msg/selenium-users/-/rMdtIrnRMn8J>
    .
    For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
    .

    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to
    selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/selenium-users/-/Ccrne1FXmoEJ.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Manoj Hans at Oct 5, 2012 at 12:22 pm
    I m not sure but it may be..


    On Friday, October 5, 2012 5:42:39 PM UTC+5:30, Krishnan wrote:

    Seems like I was looking at the wrong place :)


    http://code.google.com/searchframe#2tHw6m3DZzo/trunk/java/client/src/org/openqa/selenium/Alert.java

    That makes me wonder... how are there two Alert.java interfaces, and how
    is this one different from

    http://code.google.com/**searchframe#2tHw6m3DZzo/trunk/**
    common/src/java/org/openqa/**selenium/Alert.java<http://code.google.com/searchframe#2tHw6m3DZzo/trunk/common/src/java/org/openqa/selenium/Alert.java>

    Does that mean, that this new method has been added only to the "java"
    client bindings ?

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive, fattening
    or in love with someone else!"



    On Fri, Oct 5, 2012 at 5:35 PM, Manoj Hans <hman...@gmail.com<javascript:>
    wrote:
    but krishnan here u can see..;)

    http://selenium.googlecode.com/svn/trunk/docs/api/java/index.html


    --Manoj Hans
    On Friday, October 5, 2012 5:18:09 PM UTC+5:30, Krishnan wrote:

    Aparna,

    That's wierd, coz I dont see it here :

    http://code.google.com/**searchframe#2tHw6m3DZzo/trunk/**
    common/src/java/org/openqa/**selenium/Alert.java<http://code.google.com/searchframe#2tHw6m3DZzo/trunk/common/src/java/org/openqa/selenium/Alert.java>

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"


    On Fri, Oct 5, 2012 at 5:07 PM, Aparna wrote:

    Hello Krishnan,

    As per Shobhit code, this method is available under Alerts interface.
    But this method is in Beta mode.

    On Friday, October 5, 2012 1:28:22 PM UTC+5:30, Krishnan wrote:

    Shobhit,
    Where did you get a reference to the authenticateUsing() method ? I
    cant find it in Selenium 2.25.0 for sure !

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"
    My Scribblings @ http://wakened-cognition.**blogs**pot.com/<http://wakened-cognition.blogspot.com/>

    On Fri, Oct 5, 2012 at 9:18 AM, Shobhit wrote:

    Hi Simon,

    May I know what is the purpose of the below method

    driver.switchTo().alert().**auth**enticateUsing(arg0)

    On Wednesday, September 26, 2012 9:48:34 PM UTC+5:30, Simon Stewart
    wrote:
    This is the issue that you need to be tracking:

    http://code.google.com/p/**selen****ium/issues/detail?id=34<http://code.google.com/p/selenium/issues/detail?id=34>

    Simon

    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair <vipin....@gmail.com>
    wrote:
    Hi All,

    How to handle java script authentication alert popup where is I
    need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to
    selenium-user...@**googlegroups.****com.
    For more options, visit https://groups.google.com/**grou****
    ps/opt_out <https://groups.google.com/groups/opt_out>.
    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to selenium-user...@**
    googlegroups.**com.
    To view this discussion on the web visit https://groups.google.com/d/
    **ms**g/selenium-users/-/**RKtgJiwCRAw**J<https://groups.google.com/d/msg/selenium-users/-/RKtgJiwCRAwJ>
    .
    For more options, visit https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
    .

    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to selenium-user...@**
    googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/**
    msg/selenium-users/-/**rMdtIrnRMn8J<https://groups.google.com/d/msg/selenium-users/-/rMdtIrnRMn8J>
    .
    For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
    .

    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.com<javascript:>
    .
    To unsubscribe from this group, send email to
    selenium-user...@googlegroups.com <javascript:>.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/selenium-users/-/Ccrne1FXmoEJ.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/lHEigpBMa5cJ.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Manoj Hans at Oct 5, 2012 at 12:51 pm
    ya krishnan u r right...:)
    On Friday, October 5, 2012 5:46:44 PM UTC+5:30, Manoj Hans wrote:

    I m not sure but it may be..


    On Friday, October 5, 2012 5:42:39 PM UTC+5:30, Krishnan wrote:

    Seems like I was looking at the wrong place :)


    http://code.google.com/searchframe#2tHw6m3DZzo/trunk/java/client/src/org/openqa/selenium/Alert.java

    That makes me wonder... how are there two Alert.java interfaces, and how
    is this one different from

    http://code.google.com/**searchframe#2tHw6m3DZzo/trunk/**
    common/src/java/org/openqa/**selenium/Alert.java<http://code.google.com/searchframe#2tHw6m3DZzo/trunk/common/src/java/org/openqa/selenium/Alert.java>

    Does that mean, that this new method has been added only to the "java"
    client bindings ?

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"


    On Fri, Oct 5, 2012 at 5:35 PM, Manoj Hans wrote:

    but krishnan here u can see..;)

    http://selenium.googlecode.com/svn/trunk/docs/api/java/index.html


    --Manoj Hans
    On Friday, October 5, 2012 5:18:09 PM UTC+5:30, Krishnan wrote:

    Aparna,

    That's wierd, coz I dont see it here :

    http://code.google.com/**searchframe#2tHw6m3DZzo/trunk/**
    common/src/java/org/openqa/**selenium/Alert.java<http://code.google.com/searchframe#2tHw6m3DZzo/trunk/common/src/java/org/openqa/selenium/Alert.java>

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"


    On Fri, Oct 5, 2012 at 5:07 PM, Aparna wrote:

    Hello Krishnan,

    As per Shobhit code, this method is available under Alerts interface.
    But this method is in Beta mode.

    On Friday, October 5, 2012 1:28:22 PM UTC+5:30, Krishnan wrote:

    Shobhit,
    Where did you get a reference to the authenticateUsing() method ? I
    cant find it in Selenium 2.25.0 for sure !

    Thanks & Regards
    Krishnan Mahadevan

    "All the desirable things in life are either illegal, expensive,
    fattening or in love with someone else!"
    My Scribblings @ http://wakened-cognition.**blogs**pot.com/<http://wakened-cognition.blogspot.com/>

    On Fri, Oct 5, 2012 at 9:18 AM, Shobhit wrote:

    Hi Simon,

    May I know what is the purpose of the below method

    driver.switchTo().alert().**auth**enticateUsing(arg0)

    On Wednesday, September 26, 2012 9:48:34 PM UTC+5:30, Simon Stewart
    wrote:
    This is the issue that you need to be tracking:

    http://code.google.com/p/**selen****ium/issues/detail?id=34<http://code.google.com/p/selenium/issues/detail?id=34>

    Simon

    On Wed, Sep 26, 2012 at 6:50 AM, Vipin Nair <vipin....@gmail.com>
    wrote:
    Hi All,

    How to handle java script authentication alert popup where is I
    need to type
    username and password. How to handle this in selenium.


    Thanks
    Vipin


    --
    You received this message because you are subscribed to the
    Google Groups
    "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.** com.
    To unsubscribe from this group, send email to
    selenium-user...@**googlegroups.****com.
    For more options, visit https://groups.google.com/**grou****
    ps/opt_out <https://groups.google.com/groups/opt_out>.
    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to selenium-user...@**
    googlegroups.**com.
    To view this discussion on the web visit
    https://groups.google.com/d/**ms**g/selenium-users/-/**RKtgJiwCRAw**
    J <https://groups.google.com/d/msg/selenium-users/-/RKtgJiwCRAwJ>.
    For more options, visit https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
    .

    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.**com.
    To unsubscribe from this group, send email to selenium-user...@**
    googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/*
    *msg/selenium-users/-/**rMdtIrnRMn8J<https://groups.google.com/d/msg/selenium-users/-/rMdtIrnRMn8J>
    .
    For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
    .

    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.com.
    To unsubscribe from this group, send email to
    selenium-user...@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/selenium-users/-/Ccrne1FXmoEJ.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/uVWU13O3344J.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Aparna at Sep 27, 2012 at 5:59 am
    Till this issue is fixed, we can use some workout..please go through
    following post

    http://destinationqa.blogspot.in/2012/08/handling-authentication-in-selenium.html

    On Wednesday, September 26, 2012 11:21:33 AM UTC+5:30, Vipin wrote:

    Hi All,

    How to handle java script authentication alert popup where is I need to
    type username and password. How to handle this in selenium.


    Thanks
    Vipin
    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/7wdVMC096d8J.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Frank Escobar at Oct 5, 2012 at 1:02 pm
    Try this:
    Http://username:password@url
    e.g.
    Http://frank:123456@myweb.com

    El sep 26, 2012 5:51 a.m., "Vipin Nair" <vipin.nair10@gmail.com> escribió:
    Hi All,

    How to handle java script authentication alert popup where is I need to
    type username and password. How to handle this in selenium.

    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to
    selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Manoj Hans at Oct 5, 2012 at 1:02 pm
    @frank--i think we all know that we can handle like this
    Http://username:password@url.....:P
    but now we r just talking about driver.switchTo().alert().authenticateUsing(arg0)
    this only...;)



    On Friday, October 5, 2012 6:26:08 PM UTC+5:30, Frank Escobar wrote:

    Try this:
    Http://username:password@url
    e.g.
    Http://frank:123456@myweb.com

    El sep 26, 2012 5:51 a.m., "Vipin Nair" <vipin....@gmail.com <javascript:>>
    escribió:
    Hi All,

    How to handle java script authentication alert popup where is I need to
    type username and password. How to handle this in selenium.

    Thanks
    Vipin


    --
    You received this message because you are subscribed to the Google
    Groups "Selenium Users" group.
    To post to this group, send email to seleniu...@googlegroups.com<javascript:> .
    To unsubscribe from this group, send email to
    selenium-user...@googlegroups.com <javascript:>.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/6gjrnnY5GeMJ.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupselenium-users @
categoriesselenium
postedSep 26, '12 at 5:51a
activeOct 5, '12 at 1:02p
posts15
users8
websiteseleniumhq.org

People

Translate

site design / logo © 2022 Grokbase