| || |
UFT API VuserID
can anyone had used VuserID in UFT API test? I am trying to write a custom event code where I need to generate a unique file using VuserID and I get an error that VUserID is not a variable. anyone used vuserId envrionment variable in their api scripts?
Think like a developer. Use a random number + the thirteen digit Epoch timestamp, such as
Thanks James. that's one way to generate unique number. I am looking for a way to access and use the value of VuserID in UFT API code. I tried using the "VUserID" environment variable like Environment.value ("VuserID") but it did not recognize that.
Last edited by ram-nat; 01-27-2014 at 09:46 AM.
Have you tried creating a parameter of type "VuserId"???