Google home page can be automated using descriptive programming in VBScript. This can be done by using the ‘Google Home’ object. The object can be found in the ‘Object Repository’ tab.
To automate the google home page, we need to first identify the elements on the page. We can do this by using the ‘Inspect Element’ tool. Once we have identified the elements, we need to create a script that will automate the actions we want to perform on the page.
The script can be written in any text editor. We can use the ‘Notepad’ or ‘Microsoft Word’ to write the script. The script should be saved with a ‘.vbs’ extension.
Once the script is ready, we can run it by double-clicking on the script file. The script will automatically open the google home page and perform the actions we have specified in the script.
Other related questions:
When using descriptive programming which is the proper syntax?
There is no one “proper” syntax for descriptive programming, as it can be done in many different ways depending on the specific situation. However, some common elements of descriptive programming include using clear and concise variable names, comments, and code organization.
How is descriptive programming used in UFT?
There is no one definitive answer to this question, as the use of descriptive programming in UFT can vary depending on the specific needs of the test automation engineer. However, some common uses for descriptive programming in UFT include creating custom object repositories, using object identification techniques to improve object recognition, and creating custom methods and functions.
What is descriptive programming in selenium?
Descriptive programming is a method of programming that uses natural language to describe the steps that a computer should take to complete a task.
What are the properties you would use for identifying a browser & page when using descriptive programming?
There are a few properties you could use to identify a browser and page when using descriptive programming:
1. The name of the browser
2. The title of the page
3. The URL of the page
4. The HTML source code of the page
- A Complete Guide to Descriptive Programming in QTP (UFT)
- QTP – Descriptive Programming – Tutorialspoint
- Descriptive Programming – UFT Automation Testing
- To get no. of buttons on Google homepage using Static …
- Descriptive Programming in QTP and Database Connection in …
- UFT/QTP Descriptive Programming – AUTOMATION TUTORIAL
- Standalone Scripts | Apps Script – Google Developers