Enter user name and password

I've started first workflow. I would like to automate the process of cleaning out my email periodically from my ISP. There is a web based method.
The workflow works fine until I get to the page where I have to enter my user name in one field and password in a second.
At this point in the workflow I am using the Watch Me Do action. It works fine, even goes as far as recognizing the log in button action after entering the password. But it returns an error because it does not actually record the entry of the password. It gets everything else.
I could pause for user entry but I'd like to be able to make this automatic, without my intervention.
Does anyone have a suggestion?
thanks,
donald

You can't script an authentication dialog (it's a security kind of thing) - you will need to look for another method to authenticate. Perhaps the shell script curl could be used.

Similar Messages

  • AppleScript: Waiting for a user to enter user name and password

    I'm currently working on an AppleScript designed to automate binding a computer to Active Directory and another script to install a login certificate. While you can create a UNIX shell script for the Active Directory binding, I found that you have to have your user name and password in the script itself and this system will be deployed by multiple people.
    So instead I'm doing an GUI Automation AppleScript of Directory Utility. What I'd like to do is have the script to wait for the admin user (who will be remoting in by ARD) to enter their Network user and password, click okay and then continue the script to quit the program and then run a self-destruct (which I'd also appreciate any advice about doing in AppleScript)
    Here's the script so far, which I've set up successfully:
    activate application "Directory Utility"
    tell application "System Events"
      click text field 1 of row 1 of table 1 of scroll area 1 of group 1 of group 1 of window "Directory Utility" of application process "Directory Utility"
      click button 1 of group 1 of group 1 of window "Directory Utility" of application process "Directory Utility"
      click text field 2 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "EXAMPLE.COMPANY.com"
      click UI element 3 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click radio button "Administrative" of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click checkbox "Allow administration by:" of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 1 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExamplePS NA"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 2 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleNA"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 3 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleNATemps"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 4 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleTeam 1"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 5 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleTeam 2"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 6 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleTeam 3"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 7 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleDesktop Admins"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 8 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleDomain Admins"
      click button "Bind…" of sheet 1 of window "Directory Utility" of application process "Directory Utility
    <<WAIT LINE HERE FOR NETWORK ADMIN AND AND PASS, THEN USER WILL CLICK OKAY, THEN CONTINUE SCRIPT>>
    <<QUIT ACTIVE DIRECTORY>>
    <<SELF-DESTRUCT>>
    end tell
    It isn't a real command prompt like if you're changing System Preferences or something. It's a specialized prompt specifically for Directory Utility. However, I do need to know how to make AppleScript wait for a password for a standard Password Prompt for adding a certificate to the login keychain through Keychain Access. I've also done pretty much the same thing as above for that script.
    Any tips would be GREATLY appreciated.

    Yeah, I know GUI Scripting is not the best way, but I couldn't find a successful variable system for the following script. The other issue is that I'd prefer to send this by ARD and have ARD ask for a User Name and Password, but I've found there's no way to do that. Then again, I can't send the AppleScript purely remotely either.
    What I mean by self-destruct is simply I only want the Active Directory binding script to run once upon login to the primary admin user and then delete itself so it doesn't get run again. The login certificate script I want to run once on each new user who logs in (so I'll likely be putting it in the "User Template") and then delete itself so it doesn't run the next time they log in. I can't figure out any way to hit those buttons through a shell script.
    Here's the original UNIX shell script: (This is what I'm using temporarily until I figure out a solution that doesn't require my user name and password to be embedded)
    #! /bin/bash
    MACNAME=$(scutil --get ComputerName)
    dsconfigad -add "CORP.DOMAIN.NET" \
    -username USER \
    -password PASS \
    -computer $MACNAME \
    -mobile disable \
    -mobileconfirm disable \
    -localhome enable \
    -useuncpath enable \
    -shell /bin/bash \
    -ou OU=Macs,CN=Computers,DC=corp,DC=DOMAIN,DC=net \
    -force \
    -localpassword "PASSWORD" \
    -groups "GROUPS"
    And here is the Certificate Installation AppleScript
    activate application "Keychain Access"
    tell application "Finder" to open POSIX file "/FolderName/Certificate.crt"
    delay (3)
    tell application "System Events" to tell process "Keychain Access"
      click button "Add" of window "Add Certificates"
      click button "Always Trust" of group 3 of sheet 1 of window "Keychain Access"
    end tell
    Thanks for the help. I really appreciate it. This is a rather new field for me and most of my knowledge comes from Google Searches and about a billion tabs trying to find answers.

  • Automatic login in mavericks not working. I still have to enter user name and password

    I upgraded the original Hard Drive to SSD drive.  After the upgrade, I can no longer automatically log in.  I now have to enter my user name and password.  I tried resetting automatic login in Users and Groups but it doesn't work in Mavericks.

    Hello,
    To find out if it's system wide or user specific, try this...
    Open System Preferences>Users & Groups, unlock the lock, click on the little plus icon, make a new admin account, log out & into the new account.
    Does it work in the new account?
    How about these?
    Reset Password 10.7, 10.8...
    http://reviews.cnet.com/8301-13727_7-20087723-263/how-to-run-the-password-reset- utility-in-os-x-10.7-lion/
    Then Reset your Keychain...
    http://support.apple.com/kb/TS1544
    https://discussions.apple.com/thread/5225064?tstart=0

  • Firefox goes to my mail immediately after I enter user name and password. I dont have time to check the save password box even tho it does flash by.

    When I enter my username and password for my mail, firefox does not give me time to check the save password box even tho I see it flash by. All other sites work fine and passwords are saved. How can I slow it down so I can enter the check to save password?

    this is the address bitbroadband.com and then I have to enter my username and password then hit submit. that is when it flashes by but does not stop and no icon in left corner of address bar. This is google mail provided by my internet procider

  • When I enter my user name and password for my e-mail account, the page won't open

    My e-mail account page won't open after I enter my user name and password on the log-in page. I have vcrified with Suddenlink that my user name and password are correct.

    Thanks Peter.
    Partial success in that I have been able to get mails onto the iPad  - however....
    Progress from a previous 'rumage' on problem discussions.    I have succeded in setting up the iPad so that it receives emails from the sky address under 'MAIL' on the iPad.    However trying to open in the 'usual' way   -  safari - then sky  -  then email  -  enter user name and password  -  I get the same result  -  it just returns to the log in menu for sky email with user name and password blank. 
    I had a previous problem with the sky mail ceasing to show recent mails, frozen in time on the iPad.   Somehow by trying some reset instructions I was able to 'unlock' the iPad and all was OK until it 'froze' again.    This time I clearly screwed up attempts to unlock, resulting in not being able to access email accounts via the Sky site !!

  • PL/SQL Function to check user name and password

    Hi,
    I am new to PL/SQL. I have a table that stores user name and password. I want to write a PL/SQL function that checks if the entered user name and password is correct, by validation against the values in the table... Can someone help me with the code? Both user name and password is varchar2

    First of all, I believe you mean a procedure that would check the application username and password. Fot, if you mean a PL/SQL procedure, that runs in the database, and that means it has to be executed after the client application is connected to the database.
    Maybe you need a procedure like this:
    procedure check_pass(p_user varchar2, p_pass varchar2) is
    pragma autonomous_transaction;
    v_passwd varchar2(200);
    begin
    select passwd into v_passwd
    from password_table
    where user_name=p_user;
    if v_passwd!=p_pass then
    update password_table set
    last_unsucc_logon=sysdate
    ,unsucc_logon_n=nvl(unsucc_logon_n,0)+1
    where user_name=p_user;
    commit;
    raise_application_error(-20101,'Invalid username/password!');
    end if;
    exception
    when no_data_found then
    raise_application_error(-20101,'Invalid username/password!');
    end;
    Study this piece of code and see if this will do.

  • How to call CallbackHandler to input user name and password?

    Hello,
    I am new to CallbackHandlers. I wrote a small Swing application. I want this Swing application to display a login page so that user can enter user name and password, and then provide this to my CallbackHandler class.
    Here is what I did in my Swing main method
        public static void main(String[] args) {
            try {           
                LoginContext lc = new LoginContext("Login",
                        new MyCallbackHandler());
                lc.login();
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                new TestCVTApplication();
    ..Here is what I did in my CallbackHandler
    public class MyCallbackHandler implements javax.security.auth.callback.CallbackHandler {
        private String username;
        private String password;
        public MyCallbackHandler() {
        public void handle(Callback[] callbacks) throws java.io.IOException, UnsupportedCallbackException {       
            for (int i = 0; i < callbacks.length; i++) {
                if(callbacks[i] instanceof NameCallback){
                    NameCallback ncb = (NameCallback)callbacks;
    ncb.setName(username);
    if(callbacks[i] instanceof PasswordCallback){
    PasswordCallback pcb = (PasswordCallback)callbacks[i];
    pcb.setPassword(password.toCharArray());
    Would you let me know what I am missing?
    Thanks,
    Mustafa                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    The code you posted never assigns values to the private username and password fields of the MyCallbackHandler class. So when its handle method is invoked it simply assigns nulls to the values in the callback objects.
    Or is there code elsewhere you did not show? Are you certain that your callback is invoked at all?
    - Tim

  • No place to enter login name and password

    After recent update there is text boxes to enter user name and password for signing in with the skype name but they are read only. Even mouise can not point to any of those controls.What is going on?I am using skype long time and this is the first I see anything like that.Is it usual microsoft attempt of humor?

    What version of Windows are you on (XP, Vista, Windows 7, Windows 8 )? Is it 32-bit or 64-bit? http://support.microsoft.com/kb/827218 What is the version of Internet Explorer installed on your computer? In Internet Explorer go to Help -> About Internet Explorer. P.S. Please, don’t say that you are not using Internet Explorer. This is irrelevant. Skype depends on Internet Explorer. 

  • Enter your Single Sign-On user name and password to sign in

    Hi,
    Could anybody tell me the user and password by default for administering SSO ? I think the user is orasso but I am not sure ...
    From:
    http://localhost:7777/pls/orasso/orasso.home
    I click on Login
    And here I get the message: Enter your Single Sign-On user name and password to sign in
    Here I have to use the user/password I don't know :(
    Thanks for your help,
    Paul

    You also may want to look at DAS to manage the users of your applications:
    http://download-west.oracle.com/docs/cd/B14099_19/idmanage.1012/b14086/toc.htm

  • On Yahoo Mail...and ONLY Yahoo Mail..I get a 404 error after entering my user name and password. This doesn't happen with IE, just Firefox, and just Yahoo Mail. Yahoo was absouletly no help whatsoever; can you solve the mystery? Thanks

    On Yahoo Mail...and ONLY Yahoo Mail..I get a 404 error after entering my user name and password. This doesn't happen with IE, just Firefox, and just Yahoo Mail. I tried uninstalling and reinstalling FF; no change. Yahoo was absolutely no help whatsoever; can you solve the mystery? Thanks

    HI Emmet,
    thanks so much for your posts back. I really appreciate it and yes that does help to know that you could not get it working.
    I did have some success, in removing the SSL Authentication checkbox in the smtp server settings - I found that this allowed my friend to be able to send mail from the mail app via his sbcglobal (yahoo) account.
    So that did help but of course the messages do not have ssl encryption and I'm not sure how big a deal that is for an individual. He is able to receive mail but unless the SSL authentication box is unchecked, he cannot send.
    i hope that helps anyone out there also!
    Thanks also for the tip about sparrow - yes I have heard of it and it is very popular, he may end up using that in the end.    
    Thanks again, much appreciated.
    Felix    

  • After Upgrade Cloud Control from 12.1.0.3 to 12.1.0.4 the user name and password have to be entered more than once

    Hi everybody,
    we recently upgraded our Cloud Control from 12.1.0.3 to 12.1.0.4.
    Now we have the following, a little bit strange behaviour.
    Everytime we want to log into Cloud Control we have to enter our password more than once.
    Sometimes even more than twice.
    It alawys says user name and password are required
    Does anybody has the same problem?
    I didn't found anything on MOS. So any advice or answer is appreciated.
    Greetings,
    Daniel

    Hi Daniel,
    We have seen similar issue when we use non-certified browsers for accessing 12c console
    Use certified versions of IE with EM 12.1.0.4 Cloud Control. for instance, Microsoft Internet Explorer 10.*, 9.*, 9 and 8 versions only.
    This document can help you to understand the Certified Browsers:
    <<Doc ID 1912367.1>> EM12c : Supported Browsers and Adobe Flash Players list
    Regards,
    Rahul

  • I upgraded to lion. I now have the spinning wheel on the startup screen when I try to enter my user name and password. I tried shutting down and restarting, no luck

    I upgraded to lion. I now have the spinning wheel on the startup screen when I try to enter my user name and password. I tried shutting down and restarting, no luck

    Reinstalling Lion Without the Installer
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alterhatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Continue button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.

  • I'm on a web site that requires a user name and password to enter the site., but Firefox has never asked me if I want to save this info. Is it possible to do this even though Firefox never asked me?

    This is the only site that Firefox has not asked me to save user name and password.

    The website may be using autocomplete=off to prevent Firefox from saving the name and password.
    You can remove autocomplete=off with a bookmarklet to make Firefox save the name and password.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered
    See also:
    *Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • Firefox will not save my user name and password for one of my sites. How can I fix this problem. It is getting annoying having to reenter every time I check this site. Is there a solution.

    I had my user name and password saved for my library site. My grandson hit something and now the saved user name and password are gone. It asks me every time to enter it and it is getting annoying. How do I fix this. I want Firefox to remember these codes.

    You can create a bookmark with the JavaScript code via a right-click on the "Remember Password" link on the squarefree.com website and choose "Bookmark This Link" and select the "Bookmarks Toolbar" as the destination folder for easy access.
    * https://www.squarefree.com/bookmarklets/forms.html#remember_password
    You need to use the "Remember Password" bookmarklet before or after filling the name and password field on the website with the <u>login form</u>, but before submitting the login form by clicking a button on the web page.
    If the site is using autocomplete="off" then you see a number not equal to 0 (i.e. attributes were removed) in the pop-up alert from the bookmarklet and Firefox should offer to remember the name and password via a drop down dialog of the key icon that will appear on the location bar (Firefox 4+) or via an info bar at the top (Firefox 3).

  • Time Capsule won't accept my user name and password for access - Help!

    Hi all,
    My Time Capsule seemed to stop working one day and I had to do a hard reset with the little button at the back. After that it worked and I restored my wireless network settings but now I can't access the Time Capsules hard drive with Time Machine.
    When I try to choose it as my Backup Disk in the Time Machine preferences it says "Enter your user name and password so Time Machine can access the file server "Our Time Capsule" (the name of my time capsule). However, every time I try to enter my password I get "Sorry, you entered an invalid username or password".
    I've already tried several resets of the Time Capsule and I've also tried logging on my computer as the Root user and changing my administrator account password back and forth but no go.
    Help! and Thanks.

    Norman & Harry,
    Consider the following:
    *_Time Capsule Keeps Asking Me For a Password_*
    It will be important to know what is going on, or what you are doing when it asks for the password. Is it asking for a password only when Time Machine attempts a backup? Consider this:
    It is NOT your username and password it wants when you try accessing the Time Capsule. (I know... it SAYS "username and password") But it means the Time Capsule's Name and Password.
    You will find that by launching Airport Utility.
    Select the TC on the left.
    Click "Manual Setup".
    Click the "Time Capsule" Tab.
    You will see "Time Capsule Name:" and "Time Capsule Password".
    Make sure “Remember password in keychain" is checked.
    That is the information you need to enter when it asks for "username & password."
    *I Don’t Remember What My Time Capsule Password Is*
    You can see what your current TC password is by going into Keychain.
    Open your Keychain and select "login" from the Keychains pane in the top left. Highlight "Passwords" in the Category pane from the lower left.
    Sort all the items by Kind. Note everything labeled "Airport...". How many do you have listed? There should only be one "Airport base station password" for each base station that you have active. Also, there should only be one "Airport network password" for each network you have created. If there are more than these, then delete all but the ones with the most recent Modification date.
    To see what passwords are being stored, double-click your Time Capsules' entry. A new window will appear.
    Put a check beside "Show Password". You may be asked for your own Admin password so enter that.
    Now the Password field will display the password you entered into Airport Utility for your Time Capsule
    *It Still Won’t Accept the TC Name and Password*
    Launch Airport Utility --> Manual Setup.
    Select "Disks" in the tool bar above.
    Click the "File Sharing" tab.
    Is "File Sharing" checked? It should be.
    What is selected beside "Secure Shared Disks"? If it says "With Accounts" or "With a Disk Password" then the system will ask you for a password every time it mounts the TC hard disk. If you switch it to "With Time Capsule Password" then use the password you designated earlier in the “Time Capsule" tab. It should only ask you once and then never again - because you had checked "Remember password in keychain".
    If you have made any changes then click "Update".
    Let us know if this resolves your issue.
    Cheers!

Maybe you are looking for