I try to test a case that has to random a string to input in field by using xebium with fitnesse.
I try to use below command but it doesn't work.
| $fname= | is | storeValue | on | var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXTZ'; var fname = ''; for (var i=0; i<6; i++)var rnum = Math.floor(Math.random()*chars.length); fname += chars.substring(rnum,rnum+1); |
Thank you for attention :)