| || |
how to use values(varibles) from the file
Plaee can ypu help me on this part. Iam having really hard time .
1. i have an registartion page user needs to enter fname, lastname, email id and password ( twice) . this is the test scenarion
i created a variable for each field and value source has given from file .
But i have recorded script for this entire activity .
the cookies will have the deaflut user info.. but i cannot read. do we need to change this.. there will be lot ..
Do i need to change the user info any where in the script ...
please any advice for me
How can use these values??
plaese help me ? any other source...?
Thanks for help
Re: how to use values(varibles) from the file
By reading ur query i understood that you are not able to read values from a file. You have four fields ok those are fname, lastname, email id and password then you have to create four files and use MUTEX LOCKING.
For ex: I have created two files one for LOGIN and other for PASSWORD. When you create the file declare them as follows:
CHARACTER*512 LOGIN, FILE ="FILE1", SCRIPT
CHARACTER*512 PASWD, FILE ="FILE2", SCRIPT
After that just use as follows:
Acquire Mutex "LOGIN"
RELEASE Mutex "LOGIN"
I think you will solve your problem by using this.