Print Page | Close Window

How to use Constant Variables in DD

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=412
Printed Date: 23May2024 at 6:45am


Topic: How to use Constant Variables in DD
Posted By: jack45
Subject: How to use Constant Variables in DD
Date Posted: 31Mar2007 at 4:06am
I have a excel that has many directories. Whenever I try to use the constant Variables and use .SetText() in the same time, Silk test literally writes out the constant variable instead of the value.

Anyways to make it work?



Replies:
Posted By: jack45
Date Posted: 31Mar2007 at 4:20am
Are you using it like this? Either should work...

STRING sVariable

SetText(sVariable)

or

SetText("{sVariable}")



Print Page | Close Window