How to fill out and submit a web form using LabVIEW

Almighty Forum,
This question will require knowledge not only of LabVIEW, but also of HTML, JavaScripting, and possibly more.  I don't know about you, but I have an on-line account for pretty much everything: Bank, Credit Card, Savings, ETrade, 401K, Roth IRA, etc.  About once a day I want to go and check on everything (because I'm an anal engineer), but it takes so freaking long to navigate and login to each site.  Even after favoriting all the links and using cookies to save my "username", I still have to type in my password, hit enter, and wait for each site.  This takes time, time is money, and money is why I'm doing this in the first place; so, I need a better solution.  And since I stand by LabVIEW, I want a LabVIEW solution. 
The solution in my head is something like this.  I have one front panel with an embedded IE browser (in an ActiveX container).  On the side of the browser I have my "favorite" toolbar.  When I click on a button in the toolbar, it takes me to the site and automatically logs me in.  Simple.  Now once that is working I could make a single app with no browser interface that simply went out and queried all my sites for the important values and displayed them on the front panel.  But not to get ahead of myself, I'll stick with my first goal for now.  Baby steps.
So here is what I have now.  I can load www.bankofamerica.com into my browser and automatically enter my "online ID" and "passcode".  I just can't seem to figure out how to submit the form.  I realize that I could just simulate a mouse click on the coordinates of the Sign In button, but that would not be nearly elegant enough for me to have pride in this application. 
If you run the VI that I'm posting, and click Submit Info, you are taken to a error page saying something along the lines of "We're temporarily unable to process this request.  Please try again."  Now this would probably make sense with the "dummy" ID and passcode that is being used in this VI, but I get the same thing when I use my real information.  I'm beginning to think that this is something BOA has done to prevent people from logging in programmatically.  That would probably make sense to deter potential hackers.
There's got to be a way...  can you help?  This might take some time, but think how it could help streamline you in the long-run
PS:  I down-converted the VI to 7.0 format for anybody stuck in 2003
Thanks,
Travis H.
Travis H.
LabVIEW R&D
National Instruments
Attachments:
Bank of America Login - test.vi ‏179 KB

Otman wrote:
Simply stated, you want to hit some button on your app and instantly see all your accounts no matter where from, is that correct?
Hi Otman,
Actually, my first goal is to be able to hit a single button that automatically logs into a single account.  For example, when Bank of America Login - test.vi (attached above) is run, it should automatically:
1) Navigate to www.bankofamerica.com
2) Programmatically enter the "Online ID" and "Passcode"
3) Submit the form and log in
Its step 3 that I'm having trouble with.  Again, see the VI attached to my first post for a good example of what I'm talking about.
Thanks,
Message Edited by Travis H. on 11-16-2005 10:27 PM
Travis H.
LabVIEW R&D
National Instruments

Similar Messages

  • Java program to automatically fill out and submit a Web form

    I need to write a program to set the fields of a Web form and submit it automatically.
    Can anyone help?
    Thanks in advance!

    heres some code I have been messing about with
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.security.*;
    import java.net.*;
    /** Author :James Charles 20/03/2004
    This module handles the customer booking screen **/
    public class Bookings extends Applet implements ActionListener,   // sets up the initial display screen
    ItemListener
         Choice details;
         TextField name;
         TextField telephone;
         TextField email;
         TextField address;
         TextField postCode;
         Color webPage = new Color(0,128,255);
         Button btnClick;
         String nameOutput =" ",telephoneOutput=" ",emailOutput=" ",addressOutput=" ",postCodeOutput=" ";
         int jobNumber;
         int authorisationCode ;
         Font formEntry = new Font("SanSerif",Font.BOLD,15);
         Font dataDisplay = new Font("SanSerif",Font.PLAIN,16);
         boolean dataEntry = false;
         int position = 2;
         String[] detailsOutput = { "Choose a Subcontractor","Painter & Decorator","Electrician" };
         public void init(){
              readJobNumber(jobNumber);  // reads the las job number from file jobNumber.dat
              Button btnClick = new Button("Submit Details");
              setBackground(webPage);
              add(new Label("                           Name"));
              name = new TextField(30);
              add(name);
              add(new Label("                           Telephone"));
              telephone = new TextField(25);
              add(telephone);
              add(new Label("House No"));
              address = new TextField(3);
              add(address);
              add(new Label("Post Code"));
              postCode = new TextField(8);
              add(postCode);
              add(new Label("E-Mail address"));
              email = new TextField(35);
              add(email);
         public void start(){
              add(new Label("                                                                       Please choice the appropriate Tradesman that you require"));
                        // choice code set up
              details = new Choice() ;
              details.addItemListener(this);
              details.add("Choose a Sub Contractor");
              details.add("Painter & Decorator");
              details.add("Electrician");
              details.select(0);
              add(details);
              btnClick = new Button("Submit Details");
              btnClick.addActionListener(this);
              add(btnClick);
              btnClick.setEnabled(false);
         public void actionPerformed(ActionEvent e) {
              System.out.println("Was in action performed event =" + e);
              dataEntry = true;
              nameOutput = name.getText();
              telephoneOutput = telephone.getText();
              emailOutput = email.getText();
              authorisationCode = (int)(java.lang.Math.random() * 100000);
              if (dataEntry == true){
                   btnClick.setEnabled(false);
                   repaint();
                   System.out.println("In between paint and write");
                   WriteBookings(nameOutput,telephoneOutput,emailOutput);
         public void itemStateChanged(ItemEvent e) {
              position = details.getSelectedIndex();
              System.out.println("Position in itemStateChanged after getSeletedIndex = " + position);
              btnClick.setEnabled(true);
              repaint();
         public void WriteBookings(String nameOutput,String telephoneOutput,String emailOutput)   {               
                       writeJobNumber(jobNumber);
              try{     
                   DataInputStream in = new DataInputStream(new      FileInputStream("CustomerDetails.txt"));
                   char singleChar;          
                   DataOutputStream out = new DataOutputStream(new FileOutputStream("CustomerDetailsNew.txt"));
              /**     try {
                        jobNumber =in.readInt();            // this code reads last job number and increments it
                        singleChar = in.readChar();
                        jobNumber ++;
                        out.writeInt(jobNumber);
                        out.write('\n');
                        while (true){                           // this code
                             singleChar = in.readChar();
                             out.writeChar(singleChar);
                   catch (EOFException e) { }
              out.writeChars(nameOutput);
                    out.writeChar('\t');
              out.writeChars(telephoneOutput);
                    out.writeChar('\t');
              out.writeChars(emailOutput);
              out.writeChar('\t');
              out.writeInt(jobNumber);
              out.writeChar('\t');
              out.writeInt(authorisationCode);
              out.writeChar('\t');
              out.writeChars(detailsOutput[position]);
                    out.writeChar('\n');
              out.close();             
           catch (IOException e){
              System.out.println("Error: " + e);
              System.out.println("Close File"); //*********** End of read/write process, code below renames the new file to the input file
              File fileDelete = new File("CustomerDetails.txt");
              fileDelete.delete();
              try{     
                   DataInputStream in = new DataInputStream(new      FileInputStream("CustomerDetailsNew.txt"));
                   char singleChar;          
                   DataOutputStream out = new DataOutputStream(new FileOutputStream("CustomerDetails.txt"));
                   try {
                        while (true){
                             singleChar = in.readChar();
                             out.writeChar(singleChar);
                   catch (EOFException e) { }
               catch (IOException e){
              System.out.println("Error: " + e);
         public void readJobNumber(int JobNumber) {
                       StringWriter sw = new StringWriter();
                       PrintWriter  pw = new PrintWriter(sw);
              try {
                   //URL ftpUrl = new URL("ftp://j-charles:[email protected]/jobNumber.dat");
                            //InputStream inFile = ftpUrl.openStream();
                   URL ftpUrl = new URL("ftp://jim:evvcece@/jobNumber.dat");
                           InputStream inFile = ftpUrl.openStream();
                   BufferedReader in   =  new BufferedReader (new InputStreamReader (inFile));
                   String line = null;
                   while ((line = in.readLine()) != null) {
                   System.out.println(line);         }
                   in.close();     
                   catch (IOException e) {
                         System.out.println("Reading Job number error " + e);} // catches IO exception
         public void writeJobNumber(int JobNumber) {
              try {
                   URL ftpUrl = new URL("ftp://j-charles:[email protected]/jobNumber.dat");
                           URLConnection conn = ftpUrl.openConnection();
                   conn.setDoOutput(true);
                           OutputStream out = conn.getOutputStream();
                   System.out.println("writing job number" + jobNumber);
                           PrintWriter writer = new PrintWriter(out);
                           System.out.println("Writing to ftp");
                   writer.print(jobNumber);
                   writer.print('\n');
                           writer.close();
                   out.close();
                   catch (IOException e) {
                         System.out.println("Job number error " + e);} // catches IO exception
         public void paint(Graphics g){
              if (dataEntry == true){
                   System.out.println("Calling paint");
                   g.setFont(dataDisplay);
                   g.drawString("Our allocated " +  detailsOutput[position] + " will contact you within 24 hrs", 10,200);
                   g.drawRect(0,260,650,50);
                   g.drawString("Your details are as follows:", 10,280);
                   g.drawString(nameOutput, 10,300);
                   g.drawString(telephoneOutput, 200,300);
                   g.drawString(emailOutput, 400,300);
                   g.drawString( "Job#" + jobNumber, 10,400);
                   g.drawString("Authorisation Code:- " + authorisationCode, 200,400);
                   g.setFont(formEntry);
                   g.drawString("Please keep note of the job number and authorisation code to enable you to use the job tracker screen.",10,450);
              dataEntry = false;
    }

  • Please Help--Can't fill out or submit/save .PDF forms

    Hi-
    Running Safari 5.1.2 on Mac OS 10.6.8 (the latest updates according to software update) and using the Schubert PDF browser plugin. http://www.schubert-it.com/pluginpdf/
    Before updating from Safari 5.0.xxxx I could fill out and submit .PDF forms in Safari without any issues. Now, I cannot. The form comes up but I cannot enter any text into the text fields.
    About a month ago I went through this and had to revert back from a time machine back up because the ability to fill out forms in browser is an everyday necessity for me.
    Does anyone know how to fix this issue?? Please help...

    Ok.. I still cannot get this figured out. I'm baffled and frustrated!!
    I did a deep cache cleaning using Snow Leopard Cash Cleaner, all of your reccomendations, and about an hours worth of reading. I had the schubert-it plug in uninstalled and have gone back to reinstalling it with no luck. I was thinking after all the cache cleaning it might work. Nope..
    I can't beleive this is an issue after an update.. Apple is normally so great with this stuff.
    The com.adobe.reader folder does not exist on my computer.
    This problem occurs with any online form, not just the ones I need to access and submit, and it occurs with the native PDF support in Safari as well as the schubert app.
    Any other ideas? I read on one post where someone fixed it with quicktime, but the video he put up to show how he fixed it was no longer available.
    Carolyn, or anyone else, .. any ideas??

  • Created a form in Forms Central. Exported the PDF with Submit Button Option. When the PDF is filled out and submit clicked, it comes back asking for required fields to be filled but they already are. Any Help?

    b

    Hi;
    OK - I can clarify some things and tell you how to do what your looking for. 
    The desktop FormsCentral application tools are really designed towards create forms that do collect data on FormsCentral servers.  You can still easily create PDFs that do not submit data to FormsCentral, but you'll have to add any alternative submit functionality using the Forms tools in Acrobat.  You can create a PDF without the submit button in either case, signed in/out of the Desktop Application from the "File" - "Save as PDF Form" menu item.  You can then modify the PDF in Acrobat XI Pro by doing a "Save A Copy", when you open the copy you can edit it any way you like, adding a "Submit" button that email's the PDF/Responses back to you...
    Here's how: In Acrobat open the PDF you saved from the FormsCentral Desktop application and go to "File" - "Save a Copy" and choose a location, this will remove the security.  Open up the copy you just created and you can now edit it, here is a YouTube video tutorial using Acrobat XI, he covers the email button in about two minutes, there are lots of tutorials out there but this one is easy to follow:,
    http://www.youtube.com/watch?v=Jql1wp5Gofs
    Thanks,
    Josh Corey
    FormsCentral Team

  • What do I need to fill out and print a PDF form?

    I need to type on this form save and print it, how do I do that?

    Hi nette7,
    To fill in, save, and print your form, you can use the free Adobe Reader. You can download the free Reader from here: PDF reader, PDF viewer | Adobe Reader XI.
    Of course, if you have a full version of Acrobat, you can use that as well. But Reader will definitely give you the tools you need to get the job done.
    Best,
    Sara

  • How to fill out multiples of the same form without having to input e-mail every time?

    I am making a almost check list for my boss while he inspects die cast machines. He would also like to use the form so clients can fill the form out themselves and send them to us. Problem is if my boss is inspecting 10 machines it doesn't make sense if he he has to input his e-mail in the e-mail tab everytime to know that he filled one out on my end.

    Hi,
    You could use a selection field instead, so the user won't need to type the email address each time.  For example,
    https://adobeformscentral.com/?f=oFQeHv8LulqFPP0b36Zq6A
    Hope this help.
    Perry

  • How to track face and allocate lips in face using labview

    My final year project is "Text Input System developed by Lips Image Recognition based on Labview for Serious Disabled".
    In this, image of person's face will be acquired by CCD camera.. Then it has stages like face tracking, lips area allocation and extraction and further processing.
    Then the status of mouth-open or mouth-close will be acquired in binary format as 1 & 0 respectively..This information will be given to MORSE CODE TEXT INPUT SYSTEM which will convert morse code into english text...I am having problem in developing program to track face and allocate lips area...Kindly help...
    Attachments:
    Lips Image Recognition.pdf ‏808 KB

    ok sir...the first program has been developed by me and it contains error...and i am not able to identify the same...
    Attachments:
    Extraction of color planes.vi ‏163 KB
    Changes made in program.vi ‏111 KB

  • How can I embed a form on my website and set up a submit button so that when people fill out and click Submit, the filled form will be emailed to me as an attached pdf file?

    How can I embed a form on my website and set up a submit button so that when people fill out and click Submit, the filled form will be emailed to me as an attached pdf file?
    Thank you!

    Hi;
    That is not a workflow that is supported by the Adobe forms solutions at this time.
    Thanks,
    Josh

  • How Do I Add A PDF That Can Be Filled Out And Submitted To My Email

    I just finished converting an application to PDF using the forms wizard. This works really well as it makes it so they can only fill in the required information and not alter any of the other form. Right now I just have it posted as a downloadable file that they can save fill out and email back in. However what I'm wanting to do is have it where they can just open the PDF in another tab, fill it out and hit submit and have that automatically sent to my email account. What I've done is use:
    <a href="digital_application.pdf">Click To View</a>
    This in essence will open the application in another tab of the browser where they can fill everything out. However thus far their only option is either a "Print" or "Save" button. I'd like to add a "Submit" button somehow to where it's emailed to an account I've set up, or have it save to a file on the server. I don't know if this is something I have to code into the site, or If I can make a button on the PDF itself, or there's an option to make the PDF display a "Submit" button, just need a little help. Thanks!

    You use the 'submit' method to submit the PDF's FDF to web based script page and have that page perform the email function.
    http://www.planetpdf.com/developer/article.asp?ContentID=Web_Hosting_PDFs&gid=6526

  • Form for my visitors to fill them out and submit them via email

    Hello, I need to have several forms in my website and allow my visitors to fill them out and submit them via email, can I use FormCentral?
    This is my website:
    http://aiiav.org/cemetary/forms/
    Thank you
    Juan Pulido

    Hi;
    You could certainly use FormsCentral. 
    FormsCentral allows you to easily create forms that you can distribute either using a web form with a "Submit" button that sends the data back to FormsCentral and is available in your account for you to view and analyze, or you can also distribute the form as a PDF.  The PDF can have a FormsCentral "Submit" button that (same as with the web form) sends the data back to FormsCentral, or can be saved without a Submit button allowing you to add your own Submit button using Acrobat which could be an "Email" submit button (which would email you the form data or the entire PDF).
    If you chose "web forms" you could embed the form into your website for users to fill out right there and submit without having to send via email.  You could have links to each embedded form on your site.
    Here is an overview of FormsCentral, I'd be happy to answer any follow up questions: http://forums.adobe.com/docs/DOC-1413
    One note if you were to use PDF - your current PDF forms are set to open in the web browser.  If you used FormsCentral PDF forms you would want to have a link that downloads the PDF to the users computer so they can fill out in Adobe Acrobat or Adobe Reader, filling out in the web browser, or with any other PDF viewer does not work correctly and is not supported.  You would want to call that out on the download page to ensure users fill out in Adobe Reader.
    Thanks,
    Josh

  • Create a Form in Acrobat Standard that can be filled out AND SIGNED using Free Reader

    I am tasked with creating forms that can be read, filled out and signed and submitted electronically by users that have only the reader software. I am using Acrobat 5 standard. I have not yet found a way to successfully create a form field that would allow users to insert a signature of some sort. This signature does not have to be encrypted, or use the digital signature system Adobe Acrobat has where you create a profile, log in, etc. It could be as simple as the ability to insert a jpeg or other image of their handwritten signature. This is to avoid having to have them fill it out, and then print it and fax or scan it in. It would be great if they could fill it out and then just save it and email it. How would I do this, or is it even possible?
    Thanks,
    JOhn

    With AA5, there is no capability to submit a signature - even electronic. You can create a form that can be filled out, signed in the sense of adding a name and date, and submit to a web site.
    Insertion of images is not part of forms with AA5, but I think has become possible recently. Even so, they reader would also have to be compatible with the feature to be able to use it. If the typing of the name and the date would do, then you can add those fields - sort of the limit with AA5.
    With AA5, they can not save the form with the data. They can submit the data as an FDF file to a web site. If you have control of the client machines, then you can consider e-mail since those issues can be worked out locally. Without control of the clients (like a general form on the web), don't bother with e-mail since there will always be some that have problems.

  • How can I change the behavior of the Green Enter button when filling out a field in a form? Current it submits the entire form, I would like it to tab to the next field instead

    When using Firefox for Andriod:
    When filling out a field on a form, they keyboard has a Green Enter button that submits the entire form. However, there are multiple fields on the page, and I would like it to tab to the next field. At the very least not submit the form.
    Also, is there a way to configure the keyboard that shows up for each html5 input type?

    They keyboard that shows up has the large "Green Enter" go button, a backspace and some arrow keys, but no tab button.

  • I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    What file format did you export it to?

  • Is there a way to create a PDF form that ANYONE can fill out and SAVE with their content?

    Is there a way to create a PDF form that ANYONE can fill out and SAVE with their content? By anyone, I mean someone who can download and use the free Adobe Reader, on either a Mac or PC. I have Acrobat Pro, and would like to be able to create forms that can not only be filled out and printed, but saved and emailed, which is not an option with the forms I have created to date. They can be filled out, but not saved, with Adobe Reader.
    TIA,
    Nancy

    To do what Dave indicated you need to do, it depends on what version of Acrobat you have:
    Acrobat 8: Advanced > Enable Usage Rights in Adobe Reader
    Acrobat 9: Advanced > Extend Features in Adobe Reader
    Acrobat 10: File > Save As > Reader Extended PDF > Enable Additional Features
    Acrobat 11: File > Save as Other > Reader Extended PDF > Enable More Tools (includes form fill-in & save)
    I wonder what it will be next time?

  • How do I drag-and-drop my Web Bookmarks Folder to a external flash drive? I need to move them from one Mac to another Mac.

    '''Moving Firefox URL Bookmarks from one Mac to another'''
    How do I drag-and-drop my web 'Bookmarks Toolbar' folder from one Mac to an external USB zip drive. Unable to network both Macs and use the migration feature. Must do this manually. Thanks!

    Hi RMcMullen,
    You should look at the [[Backing up your information]] Knowledge Base article. It will give you all the information you need to back up everything so you won't lose a thing.
    Hopefully this helps!

Maybe you are looking for

  • How to default values in LOV

    Hi, I have created a page in which I have two different LOVs. My requirement is to default some value in the First LOV i.e. "ALL" and the second LOV which is dependent on the first LOV will gets populated with the values based on the first one on the

  • Problems pasting pages from another document

    Hi guys, I used to copy pages from one ID document to another very easily before. I don't know why i cannot do it now. I have both InDesign CS 6 files. I open them both in two separated windows but when i select copy from page 3 (the short 6 pages Ne

  • ITunes Has taken over my computer. It's like the Sorcerer's Apprentice.

    ITunes won't stop opening of its own accord every few minutes and starts playing the first song on my playlist. I have tried all the usual rememdies and nothing works. I downloaded the latest update that put my music in the Cloud just a couple of day

  • HT5557 How can I delete a book that I no longer want on my IPhone?

    How can I dlete a book that I no longer want on my iphone?

  • Problems with Designer

    Hello!, I have problems with option Capture Design of.. Forms, because i lost some properties of the forms as relations and the way i show the items in Layout Editor from Forms. I have Forms 6.0.8.25.2 and Designer 6.5.95.4.8 installed. Thanks a lot.