is there a way to incorporate the USE statement in a testcase....ie. I want to a particular testcase in a script file which has other testacase but for this particular testcase I want to refer to a different include file...I am able to use the USE statment for the whole script file....but want to do the same for this particular testcase in the file.
thanks for the reply...i will try the If and else statement...and YES both the files have conflicting declarations...which is the reason I would like to use this as part of the one script...not the whole file.
There is a way to do that. You can declare a variable locally. Using some condition, you can initialize this variable to the file you want. For the USE statement, you can use something like this?
filename = "somefile1"
filename = "somefile2"
This is how I solved the similar problem