UFT Run time added Data table

Function Importsheets()
uploadfile = "check.xls"
'fname = "K:\QA\check.xls"
Datasheet = "Search"

'ADDING THE SHEETS TO DATATABLE (YOU CAN GIVE YOUR OWN NAME TO SHEETS)
DataTable.AddSheet sheet1
Datatable.DeleteSheet "Action1"
DataTable.DeleteSheet "Global"
wait 5
'IMPORTING THE SHEETS TO DATATABLE
DataTable.ImportSheet fname,sheet1,Datasheet

End Function

Comments

Popular posts from this blog

UFT File Types and File Extensions

QTP/UFT Version History

Synchronization in UFT