Print Page | Close Window

How to declare constant variables in silk !!!

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: SilkTest @ OneStopTesting
Forum Discription: SilkTest is an automation tool for testing the functionality of enterprise applications in most versions of Windows, Sun Solaris 9 & 10, and Red Hat Enterprise Linux WS 2.1 & 3.0.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=2801
Printed Date: 03Jun2024 at 2:45pm


Topic: How to declare constant variables in silk !!!
Posted By: tanushree
Subject: How to declare constant variables in silk !!!
Date Posted: 12Oct2007 at 6:16am
Step1:
const STRING sLogFileName="C:\ResultFile-{FormatDateTime(GetDateTime(),"dd-mm-yyyy")}.txt"

Step2:
HANDLE hFile
hFile = FileOpen ("{sLogFileName}", FM_APPEND, NULL)



Print Page | Close Window