Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with Global Sheet
#1
Solved: 10 Years, 9 Months ago
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading Global Sheet's DataTable Value Bhuvana 0 1,468 01-05-2020, 10:03 PM
Last Post: Bhuvana
  Error as Global Not defined while trying to retrieve value from Datatable siddharth1609 0 844 09-11-2019, 02:52 PM
Last Post: siddharth1609
  On Saving Script in QTP 11 my Global Data Sheet data is removed M Adnan Iftikhar 0 2,044 06-02-2015, 09:19 PM
Last Post: M Adnan Iftikhar
  global object which can be called in any action excellentpawan123 2 2,573 04-01-2015, 07:34 PM
Last Post: babu123
  Sometimes there is Global datasheet. utestqa 0 2,466 10-02-2013, 07:09 PM
Last Post: utestqa

Forum Jump:


Users browsing this thread: 1 Guest(s)