Hi Any one have idea, how to create a disctory objects in Silk Test.
My Problem is:
for example i have some constant values,for this constant value when were i open my project it will only loads at the time of opening project.my constant files should not appears in project folders(like any script,profile,include etc....)
Note:I don't have enterested to put all constants in ini file also
Please let me know how to create Disctory objects in Silk Test
The way I'm doing it right now is this:
<font class="small">Code:</font><hr /><pre>
const string cstr1 = "blah"
window Constants con
and then in the code I just use con.<con name>
The problem that I'm facing right now is that I have a lot of constants and it's hard to keep track of them and I don't want to create a new window. But, if you have only a handful, this might work out for you.
do u have any idea, how to store the constant values in the registry. for example
i have one constant value like Username="test" now i want store this value into the registry during the scriptexcution again i need to access this value from registry passing the value any login function.
once the execution is over, i need to delete the value from regstry.
Do you really have to modify the registry? The reason why I'm asking is Windows Vista. I'm sure that at some point in time you will have to switch over to Vista and test your product there... Vista is very strict in terms of what user is trying to do and most likely it will not allow you to modify registry that easily...