Ad Code

Showing posts with the label fileShow all
File system handling using Vbscript in QTP
Ratings:
Platform:
Windows

File system handling using Vbscript in QTP is another example of AOM model that is utilized to suit our needs to write logs especially to generate the customized result files. Scripting.Filesystem object is the claas which i…

File Handling In Linux
Ratings:
Platform:
Windows

File Handling In Linux - 1 File Handling In Linux - 2 File Handling In Linux - 3 File Handling In Linux - 4 File Handling In Linux - 5 File Handling In Linux - 6 File Handling In Linux - 7 File Handling In Linux - 8 File…

Automation Testing with QTP
Ratings:
Platform:
Windows

Description:    ''This example starts QuickTest, opens a new test, and adds a new action, which calls a second action.Then it edits the first action's script to move the call to the second action to a new position i…

Coded UI Automation Testing Walkthrough : Data Parameterization from CSV File
Ratings:
Platform:
Windows

Now we will externalize data from a csv file in the following unit. Just create a csv file using excel sheet as is mentioned below. Though the file location is not at all a point of concern, yet we can avoid the same by keeping …

QTP  File System Operations
Ratings:
Platform:
Windows

I) Working with Drives and Folders a) Creating a Folder Option Explicit Dim objFSO, objFolder, strDirectory strDirectory = "D:\logs" Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFold…

VbScript - Read File
Ratings:
Platform:
Windows

How to read a txt file using the VbScript programming ?    1.      Create a Text File       Create a text file with the following name at the following location.       C:\TestRead.txt       Within the text file, add the …

XML Part 1
Ratings:
Platform:
Windows

The following JavaScript fragment loads an XML document function loadXMLDoc(dname) { if (window.XMLHttpRequest)   {   xhttp=new XMLHttpRequest();   } else   {   xhttp=new ActiveXObject("Microsoft.XMLHTTP");  …

QTP XML Usage
Ratings:
Platform:
Windows

We can create an Object Repository Via XML as Well Function XmlController()     Set doc = CreateObject("Microsoft.XMLDOM")     doc.async = false     doc.ValidateonParse = False     doc.resolveExternals = False …

QTP Descriptive Programming
Ratings:
Platform:
Windows

1. logic or function of counting the no of subfolders under the main folder in tree structure.  counter = 0 Function CountFolders(currentFolder)     for each folder in currentFolder.SubFolders         counter = counter + 1…

QTP,check point Enhancement & Functions
Ratings:
Platform:
Windows

Checkpoint Enhancements . Ability to alter properties of all checkpoints during run-time. E.g. Expected bitmap of a bitmap checkpoint, expected values of a Table/DB checkpoint etc . Ability to create checkpoints at run-time …

Load More That is All
Close Menu