Example
Below code will get the reference of given sheet in QTP
Below code will get the reference of given sheet in QTP
Set curSheet = DataTable.GetSheet("mysheet")
here you can pass numerical index of the sheet as well.
here you can pass numerical index of the sheet as well.
Once you get the reference of the sheet, you can access its methods and properties in QTP
You may find below links very useful if you want to know more about data tables in QTP.
You may find below links very useful if you want to know more about data tables in QTP.
- How to export datatable sheets to excel
- How to import excel-sheet to datatable
- How to read value from cell in datatable in QTP
- Explain setcurrentrow method in qtp
- Datatable object in qtp
- How to export datatable to excel in qtp
- How to get current sheet from datatable
- How to check if parameter exists in sheet in datatable in qtp
- Explain dtsheet object in qtp
- What are the utility objects in qtp
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs