ryno022604
14 years agoOccasional Contributor
DDT Keyword not working...
I am having a little trouble setting up my DDT to work with keyword testing. I followed a tutorial video and set it up in the same manner but it isn't working for me. The only difference I can see is I am using Delphi and he used JScript. My test is setup like this:
Call an Object Method: DDT, CSVDriver, Path to excel sheet.
Program opens and logs in
While Loop with Code Expression, DDT.CurrentDriver.EOF() equal to False
Navigates to add a customer
Enters in information (Account Number, Name, Address...)
Close with another Call to Object Method: DDT.CurrentDriver, Next
The spreadsheet is saved as a CSV file. The test will run fine until the part to add in the information from the spreadsheet. When I try to debug it takes me to the While Loop but I am not sure what is setup wrong. Any help would be greatly appreciated!
Thank you for your time,
Ryan Christensen
Call an Object Method: DDT, CSVDriver, Path to excel sheet.
Program opens and logs in
While Loop with Code Expression, DDT.CurrentDriver.EOF() equal to False
Navigates to add a customer
Enters in information (Account Number, Name, Address...)
Close with another Call to Object Method: DDT.CurrentDriver, Next
The spreadsheet is saved as a CSV file. The test will run fine until the part to add in the information from the spreadsheet. When I try to debug it takes me to the While Loop but I am not sure what is setup wrong. Any help would be greatly appreciated!
Thank you for your time,
Ryan Christensen