So you can use VbScript to move and copy files around on your computer. But if the specific file or folder does not exist, you are going to get an error. So in this tutorial I am going to show you how to check before this error occurs. First we need to start with a […]
Category: VbScript

13. VbScript | Internet Explorer – HTML Automation
So today we are going to talk about Automating user activities on Internet Explorer, but this time using HTML instead of Sendkeys. Just like with QTP/UFT software testing tools, we are going to directly put the user input straight into the HTML code of a website. Let’s start with a base-script that simply opens the […]

12. VbScript | Internet Explorer: Sendkeys Automation
Remember to try the code on your own so that you retain what you learn. Ask if something doesn’t make sense! So this tutorial will be about automating VbScript using Internet Explorer. Internet Explorer is special compared to other browsers because Internet Explorer is built into Windows, and can be called by the CreateObject function. […]

11. VbScript | Subroutines
Today we are going to talk about Subroutines in VbScript. Subroutines are used to store a bunch of codes inside a document and recall it to use it whenever you want. … Subroutines store scripts inside the “sub” tag; like this: Sub Greeting msgbox “hello” End Sub If you run a file with only subroutines, […]

10. VbScript | Script Directory
Try the codes for yourself to memorize the material. Ask if you have any questions. So today we are going to talk about the Script Directory. Say we have a file that is located on the desktop, but we don’t know exactly what the directory (address in other words) is. So we are going use […]