1. Open the Excel file in Excel.
2. Verify that the first row of data contains the Column headers.
3. Rename the sheet(s) to match the names used in the test script (e.g., Global,
4. Open the test script.
5. Go to Test -> Settings.
6. Select the Resources tab.
7. In the Data table section, select the "Other location" radio button.
8. Click <OK> to close the warning dialog.
9. Enter the full path to the Excel file or browse to the file using the browse button
10. Click <Apply>.
11. Click <OK>.
TrueOrFalse = "Same"
FirstTableCount = DataTable.GetRowCount
SecondTableCount = DataTable.GetRowCount
if (FirstTableCount <> SecondTableCount) then
For I = 1 To FirstTableCount
value1 = DataTable.Value("FirstSheetColumn")
value2 = DataTable.Value("SecondSheetColumn")
if(value1 <> value2) then
Use the Set method instead of SetSecure and parameterize that. This method will
not encrypt the password.
1. Enter the "real" password in the data table.
2. Select the column that contains the password.
3. Right-click on the selected column and select Data -> Encrypt.
c. In the Test Setting window, you will see a section called Data Table iterations.
This is where you can specify the number of iterations. Select the "Run one iteration
only" option to run only with the first row of data. Select "Run on all rows" to iterate
through all rows of data. Select "Run from row x to row y" to specify which rows of
data in the data table to use.
If you want to run on only one row of data, but do not want to use the first row,
select the "Run from row x to row y" option specifying the same row for x and y.
Selecting a cell or row in the Data Table and pressing Ctrl+X or the Delete key on
the keyboard deletes the data from the selected cell or row, but does not delete the
actual cell or row. Thus, if you delete data from a row in the Data Table using one of
these shortcut keys, QuickTest will still run an iteration on that row.
6. If you import a Microsoft Excel table containing a combo box or list cells,
conditional formatting, or other special cell formats, the formats are not
imported and the cells are displayed in the Data Table with fixed values.
If version 22.214.171.12469 ofPdm.dll is found on the system, install a newer version
from:http: //support.microsoft .com/support/kb/art icles/Q293/6/23.A SP. This will be
recognized during installation and QuickTest Professional will instruct you to
download the corrected DLL from the Microsoft site.
The ChildItem method will return an object referencing the checkbox. Follow this
with the GetROProperty method will return the property value specified of the
Set myObj = Browser("Table Example").Page("Table
Example").WebTable("Bats").ChildItem(1, 1, "WebCheckBox", 0)
msgbox myObj.GetROProperty ("checked")
This action might not be possible to undo. Are you sure you want to continue?