I created above testcase (in a script file .t and this file is not included in frame.inc file using use statement) and executed successfully.
If i include this script file in the frame.inc file using use statement (use c:\test1.t) then executed above testcase. it is passed successfully but it is not displaying any value, which it should display.
Why are you you adding a test script file to the Frame.inc?
The Frame.inc shouldn't hold this information. You can use it to reference you include files if you want but generally it holds information on your recovery system (application home page generally for web apps).You do not need to include your test scripts at all in the Frame.inc
My project is a big one, In that i have a lot script files and .inc files. So i have included all the files in the frame file using use statement. Because i have to access functions from different inc files which possible only if include in inc file.
I also work on a major project (4 years running) and what I have done is create one include file called includefiles.inc and reference every include file I declare in here (use ".\common\Case\Cases.inc"). Then in the Frame.inc I reference this include file. So that all the include files are managed within one file and referred once from within the Frame.inc.
So in your Frame.inc you would only have one refernce such as