This question is locked. New answers and comments are not allowed.
I am very new to the WebUI Test world, so please excuse me if this is an obvious question or if I have a conceptual misunderstanding of data driven tests.
I'd like to select a random value from the data tab to be inserted during a test.
Specifically, I have a test that enters 5 donations on a gift page, done in 5 steps. Instead of hard-coding which 5 gift values are entered, I would like to randomly select a value from an array for each gift amount, so that the total gift amount is not always the same.
Is it possible to somehow use the Data tab and the Data Driven Editor to accomplish this? For example, is it possible to enter some sort of select statement in the Data Driven Editor to randomly pick a value from a list on the Data tab? Or can I only enter $(columnIndex) or $(columnName) there? I'm starting to think that this can only be done in a coded step, but I wanted to check here first.
Thanks for any help.
I'd like to select a random value from the data tab to be inserted during a test.
Specifically, I have a test that enters 5 donations on a gift page, done in 5 steps. Instead of hard-coding which 5 gift values are entered, I would like to randomly select a value from an array for each gift amount, so that the total gift amount is not always the same.
Is it possible to somehow use the Data tab and the Data Driven Editor to accomplish this? For example, is it possible to enter some sort of select statement in the Data Driven Editor to randomly pick a value from a list on the Data tab? Or can I only enter $(columnIndex) or $(columnName) there? I'm starting to think that this can only be done in a coded step, but I wanted to check here first.
Thanks for any help.