Micro Focus QTP (UFT) Forums
Function to Close DataTable - 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: Function to Close DataTable (/Thread-Function-to-Close-DataTable)



Function to Close DataTable - prabhu656656 - 09-02-2009

Hi,

Is there a function that would close the Data Table.

I searched for DataTable Object in QTP Help but could not find the relevant function.

Thank You


RE: Function to Close DataTable - basanth27 - 09-02-2009

What is your exact requirment to close the datatable ? How did you find that it is open ?


RE: Function to Close DataTable - prabhu656656 - 09-02-2009

Hi Basanth,

Our requirement is - we have to close the OR and Datatable before we start with another run.

This is just to ensure that previously loaded files/OR are not used hence we close them and then latter on load the relavent again.


RE: Function to Close DataTable - basanth27 - 09-02-2009

Datatable is inherent to QTP. If you close the test, the datatable would close automatically.