• Retrieve values from Quality Center Test Lab and Defects tab using OTA

    Getting the Number of Passed, Failed, No Run and Not Completed Test cases We can make use of the Filter as given below to get…...

    Read More
  • More Methods For PathFinder

    Most of us are aware of the Locate method available for PathFinder object, but there are more useful and unfamiliar methods associated with PathFinder Object.…...

    Read More
  • QC Test Lab results update using OTA

    The below OTA code creates a run for a test and steps for it. This is very helpful to upload your local execution results to…...

    Read More
  • SWF Edit Native Properties & Methods

    Font Details Confirming whether textbox’s font is bold or not

    Getting applied font name Retrieving Font size Text Selection Selecting all text…...

    Read More
  • Mask Input Value

    Since this is the very first article in this blog, we would like to start it with well known masking input value technique using Dot…...

    Read More
  • Clicking WPF Button

    We can automate Windows Presentation Foundation (WPF) applications using QTP with WPF-Addin. But is it possible to automate without addin? Yes, it is possible. Microsoft…...

    Read More
  • Line Count

    We all know how to count number of lines in a text file. We can use any one of the below methods to do that.…...

    Read More
  • Capturing Screen Region

    Using QTP we can capture an object or Desktop using CaptureBitmap method. How to capture a region of screen? It can be done using System.Drawing.Graphics.CopyFromScreen…...

    Read More
  • Splitting a String Using Regular Expression

    .Net Regular Expression engine is more powerful than VBScript Regular Expression engine. RegEx is one of the classes of .Net Regular Expression engine. Using the…...

    Read More
  • Sending an Email

    Sending an email using VBScript can be done using Collaboration Data Object (CDO) messaging. But it is supported only in Windows 2000, Windows Server 2003,…...

    Read More
  • Drawing Shapes in Images

    When we capture screenshots, we might need to draw some shape over the screenshot to highlight some errors or some object. In such cases, we…...

    Read More
  • Selecting WPF Checkbox

    In this article, we will see how to select WPF Checkbox using TogglePattern class which is available in UI Automation pattern. Code

    Synopsis Once…...

    Read More
  • Generating Random File Name

    Sometimes we may need to generate a random file name. In VBScript we can use Scriptlet.TypeLib to generate GUID for random data, but length of…...

    Read More
  • Setting Value in WPF Textbox

    As a continuation to the previous WPF automation article. In this topic, we will see how to set value in WPF Textbox. Let’s see how…...

    Read More
  • Downloading a File

    Downloading a file is very simple in .NET and only few lines are required. Code

    Synopsis Once the above code is run, the file…...

    Read More
  • Checking Remote Computer Availability

    There might be a case where we have to connect to remote computer. In such case, before connecting to the remote computer, How to confirm…...

    Read More
  • Power of StringBuilder Class

    What is StringBuilder class? We had this question few years back. We googled it for QTP implementation and found the below article from AdvancedQTP (Our…...

    Read More
  • Array List

    ArrayList is one of the collections in .Net which implements the IList interface; it has more advantages than traditional array. . ArrayList size is increased…...

    Read More
  • Date and Time

    please put a short text here please put a short text here please put a short text here please put a short text here please put a short text…...

    Read More
  • Balloon Tool Tip Trick

    Sometimes we need to know which is step being executed currently by QTP. Using automatic timeout message box, we can get that information, but QTP…...

    Read More
  • Get Special Directories

    How to get Desktop, MyDocuments, ProgramFiles & Temp directories path at runtime? This is possible using DotNetFactory and WScript. DotNetFactory

    WScript ...

    Read More
  • String Dictionary

    StringDictionary is a Hash Table; it is designed to accept only strings. It could be used to handle large amounts of strings and retrieves item…...

    Read More