Could someone please explain to me how including inc-files works.
My AUT consists of several areas for different business divisions. I wanted to structure my window declarations and tests like that:
All common windows in the frame.inc.
All windows for division A in A.inc which include frame.inc (use "frame.inc").
All windows for division B in B.inc which include frame.inc (use "frame.inc").
All tests for division A in A.t which include A.inc (use "A.inc").
All tests for division B in B.t which include B.inc (use "B.inc").
Somehow this does not work. All new declaration are put in A.inc no matter which testfile I work in. Test from A.t use declaration from B.inc they shouldn’t know about.
What u can do ,
1) Check whether ur .inc files are located in ur project folder or not.if they are in some other folder copy these files to ur project folder.
2) instead of metioning only the file name use logical path of ur .inc files for e.g. use "C:\Program Files\Borland\SilkTest\Projects\My_project\my_fram e.inc"