Completed
Last Updated: 20 Oct 2016 12:28 by Valentijn
Valentijn
Created on: 06 Sep 2016 12:21
Type: Feature Request
0
RandomString text (for setup/input) later check on that same random string verify
How can I fast and easy have as

Enter text

Random string of 5 charachters

(see attachement)

reason: i'd like to not have to reset the database again and again.


actual goal is:

the random string that was created is the same string i'd want to be checked on if it is filled correctly in the database.
3 comments
Valentijn
Posted on: 20 Oct 2016 12:28
tried option 1, works, but with alternate website.

why not make it easy? (without code)
doing it right from the GUI ?

much much better
ADMIN
Iliyan Panchev
Posted on: 19 Oct 2016 10:58
You can do that in two ways. First one is to extract the random text from a random text generator and to use it in the test after that. This is explained in more details here - http://docs.telerik.com/teststudio/features/recorder/verifications/extraction
The other way is to do it with a coded step - here you can see how to generate random text and use it in code - http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/generate-random-text
Valentijn
Posted on: 06 Sep 2016 12:26
added 2 screenshots to make it more clear...

if this is emplemented an database reset is not needed because each time you test the entry is RandomStringInput ]  so you will not find the output 2x in the ViewData screen :)

if this is very easy and fast possible then
YESSSS  Telerik rulez then big time :)