Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Auto click and auto populate Data

  1. #1
    Junior Member
    Join Date
    Sep 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Auto click and auto populate Data

    Hello All,

    I am working on a project named as "Auto Click and Populate". This is link is like online feedback form / surveys which we program. I have a link with me which is mentioned below and there will be a counter box which will hit the link that much number of times.

    Inputs:

    A text box having this link.
    A numeric box having counter number i.e. the number of times the link should be processed.
    A button named as process which will INITIATE the process.

    Now say if I input 10 into the numeric box; the attached file contain link should be processed 10 times and the question which is coming on the link should be answered randomly out of the options which are present. For ex: When you will hit a link; the first question will be gender in that 3 options are present "Male", "Female" and "Prefer not to answer"; either of 1 out of 3 should be punched automatically and proceed automatically ahead. The punch(es) will be stored in database which is maintained at my end.

    I have done research and till now found the code for auto click only and not for auto process. Please let me know if you need anymore details from my end.
    Attached Files Attached Files
    Last edited by jigarsarsenal; September 26th, 2014 at 11:16 AM. Reason: Forgot attachment


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 697 Times in 679 Posts

    Default Re: Auto click and auto populate Data

    Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

    Can you relate this question to Java somehow? What technology are you using? What code have you written already?

  3. #3
    Junior Member
    Join Date
    Sep 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Auto click and auto populate Data

    Hi,

    I am working on tool named as ConfirmIT in which we program online surveys. I want to generate a tool which will auto click and populate the responses in database. I have 2 options to go with i.e. Javascript and Java. I have written code in javascript. The thing is it doesn't select option randomly on the screen and neither it processes things in background.

    <head>
    <script>
    function autoClick(){
    document.getElementById('linkToClick').click();
    }
    </script>
    </head>
    <body onload="setTimeout('autoClick();',3000);">
    <a id="linkToClick" href="http://survey-na.researchnow.com/wix/p1035711876.aspx?src=98" target="_blank">DEMO</a>
    </body>

Similar Threads

  1. auto generate user id
    By prabakaranselvi in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: July 5th, 2014, 04:26 AM
  2. [SOLVED] auto generate user id
    By prabakaranselvi in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 5th, 2014, 04:24 AM
  3. Auto Select
    By _lithium_ in forum What's Wrong With My Code?
    Replies: 14
    Last Post: May 31st, 2011, 04:55 AM
  4. Auto Fill the TextField
    By malladiG in forum Java Theory & Questions
    Replies: 0
    Last Post: April 6th, 2010, 07:32 AM
  5. Auto contrast and auto brightness
    By oxxxis in forum Java Theory & Questions
    Replies: 0
    Last Post: January 21st, 2010, 03:00 PM