pchandraprakash
7 years agoNew Contributor
Access Aliases/NameSpace data through CSV file.
I'm storing the aliases in a CSV file and then I want to call the same through CSV Data Driver to perform data driven testing.
Contents of my CSV file:
"LabelObject","LabelName" Aliases....
- 7 years ago
The Alias is stored in your CSV file as a string. So, you can't just use it as an object without evaluating the string into an object.
So... change your declaration of s1 to
var s1 = eval(driver.Value("LabelObject"));