Forum Discussion
rraghvani
6 months agoChampion Level 3
So the example is not working?
I suggest you try something very simple to output a value, e.g.
function search_with_loop() {
DDT.ExcelDriver("C:\\Temp\\Book2.xlsx", "Sheet1");
DDT.CurrentDriver.DriveMethod("SearchPerson.search_for_existing_record");
}
function search_for_existing_record() {
Log.Message(DDT.CurrentDriver.Value("Person ID"));
}
The message "...requested name or ordinal" usually indicates that the column name is not correct or not formatted correctly. You have the following, the latter, does not have an underscore.
DDT.CurrentDriver.Value("Last_Name")
DDT.CurrentDriver.Value("Person ID")
Related Content
- 2 years ago
- 8 years ago
- 7 years ago
Recent Discussions
- 4 days ago
- 4 days ago