Tags » VBScript

QTP Interview Questions

  1. How to declare a variable in VBScript or QTP ?

    Using the Dim statement, the Public statement, and the Private statement

  2. How do you enforce variable declaration in VBScript/QTP ?

  3. 1,338 more words
Test Automation

RoboCopy from within VBScript

Dim objShell, objSource, objDestination, objCommand

Set objShell = CreateObject(“Wscript.Shell”)

objSource = InputBox(“Enter Source”)
objDestination = InputBox(“Enter Destination”)

objCommand = “RoboCopy.Exe ” & Chr(34) & objSource & Chr(34) & ” ” & Chr(34) & objDestination & Chr(34) & ” /e /r:1 /w:2″


“.Net Developer – VBScript, SQL Server, Visual Basic” for 03-06 months Contract position in Detroit, MI.

Job Title: “.Net Developer – VBScript, SQL Server, Visual Basic”

Job Location: Detroit, MI.

Job Duration: 03-06 months

Job Nature: Contract, Contract-to-Hire (CTH)

Client Domain: … 84 more words


Implementing try-catch functionality in QTP/UFT

Hello friends,

In this post we will discuss about how we can generate the same try catch behavior in VBS/UFT, which comes inbuilt in Java or .Net and which is available all other automation testers. 349 more words

QuickTest Pro

Detecting Admin Rights

Earlier today I was thinking about ways of testing if a script is running with admin rights.

Here’s the method I used to use in VBScript: 360 more words