Micro Focus QTP (UFT) Forums

Full Version: help with Global Sheet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have a small issue. I have two tests:

test1 and test2

test 1 has 3 or 4 actions
test 2 has 4 actions

test2 calls an existing reusable action from test 1

test 2 works perfectly ok and can write to the global datasheet.

However, when running the test1 I can't write data to the global data sheet as it says that the columns don't exits. Right enough they don't when I check the datasheet.

Do I need to manually create these columns on the test 1 (as they are on test 2 global sheet) and all subsequent tests I create that use these values?

Or

Have i done something else wrong?

Ok I figured out the issue, I had to set the datatable location to the location of the folder of test 2.

In the file->settings->resources tab.

What is the best practise here? Is it to have the global sheet in its own directory? I dont want to get myself in more trouble in the future so some guidance would be appreciated.