Login Account Name

How to apply eValid to functional testing of web applications.

Login Account Name

Postby 226GTS » Wed Mar 23, 2011 4:13 pm

I need to look into a website that requires that the login account name is a "one time use"...do you have any slick way of handling that?
226GTS
 
Posts: 1
Joined: Wed Mar 23, 2011 4:01 pm

Re: Login Account Name

Postby eValid » Mon Mar 28, 2011 8:05 am

226GTS wrote:I need to look into a website that requires that the login account name is a "one time use"...do you have any slick way of handling that?

There are a log of ways to handle this kind of situation, but one method that we use regularly is to take advantage of the Reserved Variables feature. That feature provides a variety of "outside world" values to the current script by means of a playback-time parameter of the form $_name.

For example, you could use a string like this: $_Year$_Month$_Day$_Hour$_Minute$_Second in your script, to have eValid supply a string that (for example) would be 201103280902 (the time right now).

Obviously, this is unique because the value returned goes up one second every second.

(There's a limitation here: you can't use this if you want to be launching more than one eValid instance per second, because two of them might then wind up having the same seconds value for $_Second).

Hope that solves the problem.

-- eValid Technical Support
eValid
 
Posts: 2396
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons