| || |
how to get extracted value in to variable
i know how to extraction rule in vsts .but in my scenario i have to extract text value in to variable in the next test i have to compre that text for ex: login username after sucessfull login verifying the correct user name with login name for this purpose i want to store extracted value in to varible how to get this? plz help for my solution
Re: how to get extracted value in to variable
if you want to pass values between separate web tests, you can either combine the two tests into one web test and reference the context parameter name between the requests or
you can do this through code (either by custom extraction rule, custom webtest request plugin, or coded webtest).
This can be done by writing the extracted value to a text file or sql table and then reading it in the next web test.