The title says it almost all.
There are tools like AutoHotKey and AutoIt that allow one to send text to fill up on-line web forms and process the the POST answer.
I know that Rebol can do the latter. But what about the former?
There's a script I wrote which was to look at web forms, extract the various variables, and allow you to POST the form, and then capture the output. This was just a test prior to figuring out how to automate the login to Stackoverflow which has since been done.
Related
I'm planning to create a simple program that would automate the process by searching the dynamic list inputted and provided by the user and export it to Excel file.
The challenge is How to create UI using Automation Anywhere Application, that would accept adding the input value from the user like same controls in .Net (buttons, textbox, messagebox, etc...)
Does anyone knows how to attain it?
Automation anywhere does not provide the functionality to create a UI, as the technology makes use of the existing infrastructure, highlighting the non intrusive nature of the Robotic Process Automation or (RPA) tool.
I'm sure you will be able to create a simple UI using VBA/VB.net which should get the work done. ( Like the one below)
Using the UI you can use the plethora of commands in the Automation Anywhere command library to interact with your UI and automate the process.
I know this is an old post, hope that helps !!
i once saw a friend of mine whom was very good at visual basics and asp as well as c#. At the time i had no need to learn VB as i found php enough for my needs. While now since ive been in developing for a longer time i see why people use c#. It has its special place. My question relates to one of these special cases.
However i need your help to figure out how it was done.
What my friend did:
I had a wordpress site at the time. Because of our clients, we didnt want them to login backend and fill in the fields in the CMS. We wanted a deployed executable exe that the clients could install on pc and fill in the required data in simple forms that wont confuse them. Once the form was complete they would post the data to the wordpress cms in the background not visible to them. Using a webbrowser in the exe is what i recall my friend doing.
What i want to do:
I want clients to fill run an exe. They would then need to add login details to validate themselves. Once they logged in i want a very simple form that provides the necessary fields that the cms needs to fill in which will complete the post needed to render their page or profile on the actual website. In other words i want VB to connect to my website from a exe using forms to fill in data rather than going to the cms on a normal chrome or explorer browser.
I know you wondering why i want this. It seems like one hell of a work around. Well im a php developer whom needs a exe. I want to be able to package the exe physically in our portfolio when we hand it to clients. It becomes part of our presentation and welcome pack when joining out system.
This will help us when it comes to clients whom are not able to navigate a complex cms. If we make the cms to simple and old fashioned ( what clients generally are used to ) then we would have developed an outdated application in 2015 haha. Hence we want the best cms with modern features for the future, yet still need the old fashioned forms and simple structured date capturing clients are used to.
What you can help me with:
If i had a login, title and mobile number as the fields in my cms. The title had an ID named title and mobile number has an ID named Mobile. How can i do exactly what my friend did to login, and fill out forms then post the filled out form to my website cms that makes the post live. Please assist,:)
Kind regards
Basic solution will be using a webbrowser control with visibility=hidden. Now Just change the value of some elements and invoke submit(). If you can't understand i will explain in details.
I'm trying to make a VB.NET application that can take some text in (via Text Box) and then search that text in Google, and take the resulting URLs from Google.
So my questions are:
How do I make it search Google?
How do I make it take the found URLs from Google?
And any ideas represented through code would be appreciated, I know I some how have to rip the URLs from google, but how?
It sounds like you want to use the Google search engine but have everything located inside your application. In this case, Google provides an API that will allow you to do this without doing web scraping or other hacks. You can read more about it and see examples (in .NET but usually C#) here:
http://code.google.com/p/google-api-for-dotnet/
Here is an example of how to do this in your code:
http://www.c-sharpcorner.com/UploadFile/mem_1910/1st08162006033511AM/1st.aspx
I am interested in writing a script that goes to a website and clicks a link at a certain time. How do I go about doing something like this?
You should use selenium http://seleniumhq.org/
You can control it using anyone of the language you specified in the tags.
You can start to browse from
http://seleniumhq.org/projects/remote-control/
"clicking a link" could have two meanings:
Actually clicking the link in a browser, or just doing an HTTP GET that would result from it. This could be as simple as software that runs on your desktop and simulates a click at a certain point, to something as complicated as Selenium for automation of website interactions.
If you just need to do the GET request that clicking the link would do, anything would do. Unix systems typically include wget and curl, which take a url to request. Or if you want to process the data, you can do this in most programming languages. For example, in python you could do urllib2.urlopen('http://stackoverflow.com') and then do whatever you want with the data. Perl has an equivalent.
Are you familiar with cURL?
A client is asking how to create an interactive PDF form with functionality that allows the values entered into the form to be processed on the server.
From what I've read, the best way to do this is to program the submission by embedding javascript into the PDF file via Acrobat, then writing code on the server side to handle the submission.
Does anyone have experience doing this sort of thing? Is the best way to do this indeed by using javascript in the pdf file and using that to post the form values to the server-side form processing method?
If you do that, is there any way to pass back values to the PDF file that the form processed successfully?
We have used the DynamicPDF viewer from ceTE software.
http://www.cete.com/
If the requirement is just to pull data out of PDF form fields, Javascript may not necessarily be required. Javascript can certainly be used with form fields to handle certain requirements (oftentimes auto-calculation and validation), but it might be overkill for just setting and getting data.
There are APIs that will set and get data from PDF form fields pretty easily. One toolkit that does so is EasyPDF SDK, which has a PDFDocument class designed for exactly this:
http://www.pdfonline.com/easypdf/epsdk_manual/index.htm?page=reference%2Fpdfdocumentsdk%2Fpdfdocument%2Fdescription.htm
Whether it will work for your needs will depend largely on whether the PDF has already been created or not. If it's already been created with fillable form fields, then EasyPDF SDK can be used to read data from the fields and insert data into them. But if you don't have the PDF template created yet, then you'd need Adobe tools like Acrobat Professional to do that first.
I will disclaim that I am part of the engineering team for EasyPDF SDK, so I have a vested interest in the tool. But it's nifty and easy to use, and is geared for server side deployment, so feel free to check it out at http://www.pdfonline.com if you feel so inclined. Hope this helps.