Protractor - Generating random data for tests
<p>I am running multiple test suits in a shot. Current I am hard coding the data for testing</p>

<p><strong>Example</strong></p>

<pre><code>element(by.name('email')).sendKeys(xxxxxx)
element(by.name('password')).sendKeys('password')
</code></pre>

<p>This email field has a unique key constraint, so each time when I run tests I have to manually change this values. There are many such fields I need to change and it is becoming too hard for me to do manually. How this is normally handled in protractor e2e testing.?</p>

<p>Is there any reliable third party library or any option in protractor to generate mock data for testing. So each time it will be randomly generated like I can get names, valid email strings, phone numbers, other meaningful strings etc from the library.</p>

<p>I am using protractor with jasmine for e2e testing of an angular single page application.</p>

<p>Any help is greatly appreciated.</p>

<p>Thanks!</p>