| || |
Corelation of system generated data.
I have recorded the scripts and need to correlate the system generated data before i run the scripts.Do any one have an answer for this?.Help me out.
Re: Corelation of system generated data.
Corelation can be done in two ways:
1. By creating Roles in CorelationStudio
2. By manual corelate the unique field.
if your output is like
/n/t/ name="objectId" /n/n/r value=12345 /n/n </div>
Here we are going to cature record which is unique on the base of objectId.
Steps to perform corelation.
1. create a statement before where you exactly getting the response of server
"LB=/n/t/ name="objectId" /n/n/r value=",
"RB= /n/n </div>",
This statement will save a paramter OBJECTID and now we are ready to replace this object id to corelate.
So in Submit_Data_ method you should replace value of objectId with this created OBJECTID