Sandia_National
12 years agoOccasional Contributor
Want the name of the file loaded into DataSource.
Hi All,
Newbie here.
I've successfully used a DataSource loaded up with an Excel spreadsheet. Sweet!
Now, down in another Step, I'd like to know the name of that file. Is it stored away in some property? I'm getting the columns of the spreadsheet just fine.
To make sure I've described it: I Browsed to my .xls file in the DataSource. That filename is displayed in the File: textbox of the DataSource editor. I would like, in a subsequent TestStep of the same TestCase, to know that filename.
Cheers,
--Bob
Newbie here.
I've successfully used a DataSource loaded up with an Excel spreadsheet. Sweet!
Now, down in another Step, I'd like to know the name of that file. Is it stored away in some property? I'm getting the columns of the spreadsheet just fine.
To make sure I've described it: I Browsed to my .xls file in the DataSource. That filename is displayed in the File: textbox of the DataSource editor. I would like, in a subsequent TestStep of the same TestCase, to know that filename.
Cheers,
--Bob