Techno Logica


Tuesday, October 21, 2008

Quality Center Login Page - Using HTML & VBScript

Quality Center Login Page - Using HTML & VBScript


Quality Center - Login
QC Url
UserName
Password
Domain
Project
mail to: sunny.deb@gmail.com | http://technologicaguru.blogspot.com




Check out the file : QCDemo.html
Right-Click and View the Source.

Thursday, October 9, 2008

QTP Programming - Set & Remove Environment Variables

The Below Code Sets Environment Variables:

Dim
objWshShell, WshEnv, strEnvName, strEnvValue

strEnvName = "User_Name"
strEnvValue = "Sunny"

' create the WScript.Shell object
Set objWshShell = CreateObject("WScript.Shell")

' access the User Environment property
Set WshEnv = objWshShell.Environment( "User" )

' create and set the custom variable
WshEnv( strEnvName ) = strEnvValue


Remove a specified User environment variable

' access the User Environment property
WshEnv.Remove sVarName

Test Automation Life Cycle