Forum Discussion
3 Replies
- Marsha_RChampion Level 3
You could set up a variable that contains the name of the data sheet and iterate through the names if they are similar.
Another option would be to set up an additional spreadsheet with the names of the data sheets and read through them that way. Might be easier because you could have useful names on them too.
- tristaanogreEsteemed Contributor
I'm assuming that these spreadsheets are all in the same drive folder location? What you could do is use aqFileSystem.FindFiles to bring back an iterative list of the spreadsheets and then loop through that to do the comparisons.
- NisHeraValued Contributor
It's possible as per tristaanogre $ Marsha_R and it's easier with automation tests rather than manually.
But one other thing you have to be aware,
if the way of entering data defferent from each other (spread sheets) you may have to write test accordingly (and comparatively complex)
you may do like
DDT.ExcelDriver(yourVariable+"\\.xlsx","sheet1",true); do { test code gos here...or just call a test to enter data } while (!(DDT.CurrentDriver.EOF())); DDT.CloseDriver(DDT.CurrentDriver.Name);
yourVariable = filepath and name
Related Content
- 5 years agounderqualified
- 3 years agogoogleid_114550
Recent Discussions
- 5 hours agoSvetaG