I want to set the data table option to other location and specify an excel sheet in the the resource section of test setting in QTP using VB script.
Can any body help me in this.I was able to set the folder path by below code.
Set QTPapp= CreateObject("quicktest.Application")
QTPapp.Visible = True
QTPapp.folders.add ("C:\Program Files\HP\QuickTest Professional\Tests")
i looked over this forum but didnt get a solution
Data Table is related to the TEst and not QTP options. So you need to open the test and then use the Test Object in AOM to access the property for DataTable access
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **
ohh k thanks Tarun for the info.So you mean to say the data table options need to be set once i opened my test script right?
Yes, the datatable options are Test level settings and not tool level, which is why the option is available under File/Settings rather than Tool options.
-- Here to Learn and share ---
ok thanks for the info