+ Reply to Thread
Results 1 to 25 of 25

Auto Login In Web Application

  1. #1
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Smile Auto Login In Web Application

    Hi ,

    I have designed a small Vba script to get auto login a web application.this script is able to browse my Url but not able to enter my username and password and gives me some automation error."The Object invoked has Disconnected from its client".
    Attached Files Attached Files
    Last edited by malviya_anil77; 07-07-2011 at 01:49 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Auto Login In Web Application

    Hello malviya_anil77,

    Try using this script. Change the user name and password to what you will be using. They are marked in bold text.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    Thanks For your spontaneous reply.this script having same issue it is able to open url but not getting username and password.


    Thanks

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Auto Login In Web Application

    Hello malviya_anil77,

    The script ran fine for me. It filled in the user name, password, and clicked the submit button. I am running 2003 but it should run with 2007 as well..

  5. #5
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    please find the error snap which I am getting.by the way i 'll have to filled my username and password on the place of "Me" and "Password" am i right? and also i am running in 2007.

    Thanks
    Attached Images Attached Images
    Last edited by malviya_anil77; 07-08-2011 at 12:11 AM.

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Auto Login In Web Application

    Hello malviya_anil77,

    The error message seems to indicate that your browser does not support the Busy property. Which version of Internet explorer are you using? I tested the code using Internet Explorer 6.0.

  7. #7
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    Hi Ross,


    I am using Internet Explorer 7.0.For your information i have checked this script in 2003 as well, the same error it getting there.


    Thanks

  8. #8
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Auto Login In Web Application

    Hello malviya_anil77,

    I will do some research on Explorer 7.0 but I doubt the Busy method has been changed or removed in that version. Perhaps it is issue with a firewall.

  9. #9
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Auto Login In Web Application

    For reference, I can run the code just fine in Windows 7 Professional with IE 9 and Office 2007. It fills in the user name, password and clicks submit.

  10. #10
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Auto Login In Web Application

    Hello Paul,

    Thanks for testing the code. That pretty well confirms that the issue is either a firewall problem or to do with security access.

  11. #11
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    Hi Ross,

    Good Morning,

    I have tested this script in windows vista and XP with different LAN,but the problem is still the same. Its not getting username and password.

    Can you please come on chat so that we can interact effectively or i can share my desktop by using Teamviewer.

    THANKS

  12. #12
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    Hi Ross,

    Can you Please look at this...?

  13. #13
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Auto Login In Web Application

    Script works fine for me on Win 7, IE9.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  14. #14
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    Can I Get the solution for Windows Vista.

    Thanks

  15. #15
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Auto Login In Web Application

    I don't think it would be any different.

    Dom

  16. #16
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    Can you Please show me by any communication way like skpee or team viewer, how it is working in Win 7, because i have checked in win 7 as well its not working.

    Thanks

  17. #17
    Registered User
    Join Date
    06-22-2011
    Location
    location
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Auto Login In Web Application

    Script works fine for me too on Win 7, IE8.

  18. #18
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    If its working for you too then i think it should ran for me as well.can u please show me via any medium like skype, or team viewer.

    Thanks for your testing

  19. #19
    Registered User
    Join Date
    06-22-2011
    Location
    location
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Auto Login In Web Application

    i tried to upload a movie but it's big, i can send you an email to see it.
    tim

  20. #20
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    Hi DOM,

    I really apologize for this mistake.but how can i get the solution or how will i know that what mistakes i am doing.

    Please suggest.....

    Thanks
    Last edited by malviya_anil77; 07-18-2011 at 06:49 AM.

  21. #21
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Auto Login In Web Application

    I wouldn't publish your email on the forum unless you really like receiving lots of spam. I'd suggest editing your post to remove it and sending via PM.

    Dom

  22. #22
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    Hi Ross,

    Thank you so much i appreciate your efforts,Now I am extremely agree with your solution.

    As i have tested that script which have made for me it works with all the IE versions exclude IE 7.0.

    But we are constraint to use the IE 7.0 as we have windows vista and can't upgrade it.

    so can you please modify it so that we can use it in IE 7.0. For your information as i m already using one script which are running in IE 7.0 for same kind of application, but i am not able to get solution by just edit it.

    Thanks
    Attached Files Attached Files

  23. #23
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Auto Login In Web Application

    Quote Originally Posted by malviya_anil77 View Post
    but how can i get the solution or how will i know that what mistakes i am doing.
    If you stick to the advice in the forum rules you won't go far wrong. Sorry but I'm unable to help with this particular problem.

    Dom

  24. #24
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    Thanks DOM for your suggestion.hope Ross might get solution for this issue.

  25. #25
    Registered User
    Join Date
    10-14-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Auto Login In Web Application

    Hi Ross,

    I Didn't get any solution to Login in IE 7.0 for that URL,I already have designed one script which is running in IE 7.0 and doing login for different Url."script is attached for reference".

    Can you please check it once why i am not able to login by this script in cockpit URL.

    Thank's
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1