Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I am working with a web-based booking system.
I'd like to write a script that will spare me repetitive manual actions that I do everyday.
I am new to such kind of programming, and I was hoping you could tell me a bit about this type of programming.
What language / tool should I learn?
Could it be that some website are non-controllable by scripts?

I am a C, C++, C# programmer.

Thanks a lot!

What I have tried:

I am new to writing a script to control websites.
Posted
Updated 15-Oct-17 10:44am
Comments
Richard Deeming 17-Oct-17 14:45pm    
You probably want to start with Selenium[^], which will let you automate a web browser.

1 solution

I guess you are looking for PHP 5 Tutorial[^]
This site is a good tutorial for most web related techniques: W3Schools Online Web Tutorials[^]
[Update]
Quote:
These are the actions:
- Fill a date field by picking a date from calendar
- click on buttons to navigate through the website
- Fill fields which once you click on them, a navigation bar is opened where you have to choose an option

This is your own site, you don't need to do this. You have access to behind code and data storage. You can directly update the database.

If you really need automation, have a look here:
Five apps for task automation - TechRepublic[^]
 
Share this answer
 
v2
Comments
Member 13408460 16-Oct-17 14:19pm    
Hey PP
Thanks a lot!
I began reading PHP 5 Tutorial on W3Schools
I jumped forward just to see where it deals with website automation, but I didn't see there any examples or info about things like: click on a website button, scroll up/down, etc.
Does the tutorial cover such actions?

May I also ask please, do you think that PHP is better than Java for automate repetitive website tasks?
(Click a button, clicking Calendar Fields where you need to pick a date from a calendar, etc).

I also wonder please, is there any tool that could translate a web tasks into a PHP (or other language), so I could easily learn how to write PHP code to perform each task?
Patrice T 18-Oct-17 13:34pm    
PHP is server side language and it allow you to dynamically generate/customize site pages.
"spare me repetitive manual actions that I do everyday"
can you describe the kind of actions?
Member 13408460 19-Oct-17 7:32am    
Hi PP,
Thanks!
These are the actions:
- Fill a date field by picking a date from calendar
- click on buttons to navigate through the website
- Fill fields which once you click on them, a navigation bar is opened where you have to choose an option
Member 13408460 18-Oct-17 12:17pm    
PP,
It seems like you are very quick on giving solutions, but not on responding to the comments on them
Patrice T 18-Oct-17 13:28pm    
I didn't got the notification of your previous message.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900