Skip to content

Data Driven CUIT: Passing passwords from CSV file

by on August 14, 2012

So you have several user name and passwords that you want to run your test with, and complete the test with each one in a loop.

Data Driven testing is the way to go with this. I haven’t yet fully got into this area, but intend to fully soon. Something I found out though that will be greatly useful for the future is this.

If you are storing plain passwords in a CSV file, you have to first encrypt it using Playback.EncryptText() to use it on a Password box of a login prompt

From → Coded UI Test

Leave a Comment

Leave a comment

NE1 Atoll

The Official blog of NE1 Games

Selenium for .Net using C# language

Adventures in Coding, gaming and other fun things in my life

Coded UI 101 - Understanding Coded UI Tests

Adventures in Coding, gaming and other fun things in my life