Votes
Answers
Views
Question
0
votes
1
answer
48
views
asked 10 years ago by
updated 10 years ago by
We all know that any test run values added to DataTable (i.e. DataTable.Value("xyz") = 1) are volatile and can only be retrieved in the test report. I need to be able to set run time values in to the test DataTable Permanently so after the test the values are saved with in the test itself.
2
votes
1
answer
46
views
asked 10 years ago by
updated 10 years ago by
I build big automation scripts with many different actions. I build so many actions because I use a lot of input and output data. Is there a way to directly access the local action sheets in the DataTable? The way it is now, I have to horizontally scroll through many sheets to find the right one.
2
votes
1
answer
42
views
asked 10 years ago by
updated 10 years ago by
We're importing an Excel worksheet into a QTP datatable and that works fine. After importing, adding a datatable parameter causes the row count to be 65536?? DataTable.ImportSheet spreadsheetLocaion , 1, "DataFile" dataFileCount = DataTable.GetSheet("DataFile").GetRowCount 'Returns 1...
2
votes
1
answer
34
views
asked 10 years ago by
updated 10 years ago by
I'm trying to use my data table to pass data in my script and then use that data to pick a value from a list that drops down. The value looks good and I see it's in the list, but when I run the test it just sits there and doesn't select the value I'm wanting. I checked the spelling and it looks okay...
1
vote
1
answer
133
views
asked 11 years ago by
updated 11 years ago by
I need to understand the proper syntax for retrieving the value of a cell from a specific column and row of a DataTable that has been populated from a comma-delimited file. I found some sample code from a QTP source online, but when I execute it, I get the following run-time error: "Type mismatc...
2
votes
1
answer
100
views
asked 11 years ago by
updated 11 years ago by
I have a test called CustomerInfo that has multiple reusable actions that we use in other tests. In my reusable action GetCustomerInfo, I'm using the following code to set which row I want to work with: DataTable.GetSheet("GetCustomerInfo").SetCurrentRow 2 When I call that action from my mai...
5
votes
1
answer
123
views
asked 11 years ago by
updated 11 years ago by
I have been wondering if there is a limit to the number of datatable sheets in QTP/UFT.
2
votes
1
answer
20
views
asked 12 years ago by
updated 12 years ago by
We're putting account codes in the datatable to be used for account lookup in our application. The problem is, some of the account codes have 0's at the beginning and those 0's are being cut off when we put them into the datatable. How can we get the datatable to retain the 0's?
2
votes
1
answer
24
views
asked 12 years ago by
updated 12 years ago by
I want to use one of my reusable actions in various different tests, but I want to use different data in the datatable for each test. Do I have to make multiple reusable actions to use different data?
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top