Micro Focus QTP (UFT) Forums
help with Global Sheet - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: help with Global Sheet (/Thread-help-with-Global-Sheet)



help with Global Sheet - jove1776 - 01-20-2011

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.