In QTP/UFT, Set DataTable(variable, dtGlobalSheet) assigns values from the data table to test parameters during data-driven testing. This method reads the specified column from the global data sheet and applies it to the named variable, enabling test iteration with multiple datasets.