Welcome to Automation section of Ultimate timepass
Here you can find lots of day to day useful automation code samples mainly related to VB script, VBA , Quicktest Professional and Test Partner.
You can also find good collection of automation code related to integration with various QA automation tools like Quality center, ALM and Microsoft test management etc.
Please select your desire section from below links.
Article related to Quicktest Professional (QTP) Web based automation:-
- Close Opened Browsers Except QC
- GET COUNT AND NAMES OF ALL OPEN BROWSERS
- Get No of links in a page- Descriptive programming
- Drag and Drop the files into application
- Function to click on menu (Mimic the user action)
- Function to display type ahead list in a dropdown
Article related to Excel automation with Quicktest Professional (QTP). These code could be used VBA applications also.
- Read Excel using ADODB connection
- To Delete Columns from a Excel sheet
- Delete Rows From excel sheet
- Excel sorting
- Save as a Password Protected Excel sheet
- Open a Password Protected excel and save as unprotected
- Find a value in Excel Sheet
- Create and update a excel File at given path
- To Query a Excel Sheet as a database
Articles related to XML automation with Quicktest Professional (QTP)
Articles related to VB script automation with Quicktest Professional (QTP)
- To type keyboard input onto the open window
- Set a default Printer
- To Verify an Application launch
- Create MS Word, Edit and Print a blank page
- Create a MS Access(.mdb) database file
- Import a XML file to MS Access database
- Connect to SQL Server
- Connect to MS Access DB
- Create a Text File at given path
- Read a text file and store data in a variable
- Get number of pages in pdf