Is there any way to generate "Random date value" to test a "date picker" in the "angualr 4 web application" using "Protractor".
Asked
Active
Viewed 221 times
0
-
Possible duplicate of [Elegant method to generate array of random dates within two dates](https://stackoverflow.com/questions/9035627/elegant-method-to-generate-array-of-random-dates-within-two-dates) – Gunderson Oct 30 '17 at 17:25
-
1Protractor is just a node app. There are plenty of ways to generate random dates in node/javascript, see [this question](https://stackoverflow.com/questions/9035627/elegant-method-to-generate-array-of-random-dates-within-two-dates) – Gunderson Oct 30 '17 at 17:29
-
+1 for the point that protractor is an NodeJs/ JavaScript app.I see lot of places people label plain JavaScript/NodeJs problems as Protractor issue. – Vishal Aggarwal Nov 03 '17 at 11:35