UFT does not keep data when accessing library (qfl file)

87 Views Asked by At

I'm running an UFT test.

My test uses a data sheet (in the Action code):

DataTable.ImportSheet "C:\UFT-DATA\something.xlsx","someotherthing","Global"

I use this datasheet to populate some variables:

Dim Yay
Yay=DataTable.Value("Yay","Global")

Then I'm using this variable in a function:

doescoolstuff(Yay)

This function is defined in a .qfl library which uses the comparison feature:

FileContent("blabla.pdf").Check CheckPoint("blabla.pdf")

And in this checkpoint I have:

DataTable("Yay", dtGlobalSheet)

The problem is... I don't know how this dtGlobalSheet should be populated. As a matter of fact, my variable in the Action section isn't taken into account. In debug mode, it just disappears from the Data tab.

Does anyone have a tip?

Thanks in advance.

0

There are 0 best solutions below