gurmeet_kaur
13 years agoOccasional Contributor
Capture out parameter value in Keyword test w.r.t. webservice testing
I am creating a Keyword Test for testing the web service.
I have a method in webservice having 2 out paramaters say,
createService(object abc,string strName,out objectabc,out stringID).
Now, this method gets executed successfully and i can see the output in my application.
but i want to use stringID and objectabc(which are out paramaters) in further steps of my keyword test script but not able to get these value.
I have created a local variable of type string and passed this as a paramater stringID in my createService Method.
I have used webservice checkpoint here.
Also, if I run this method without using keyword test i.e. using Script only , all the values are available there.
I just want to know a way how i can capture these out paramaters and can store the value in local variable OR Project level variable.
I have a method in webservice having 2 out paramaters say,
createService(object abc,string strName,out objectabc,out stringID).
Now, this method gets executed successfully and i can see the output in my application.
but i want to use stringID and objectabc(which are out paramaters) in further steps of my keyword test script but not able to get these value.
I have created a local variable of type string and passed this as a paramater stringID in my createService Method.
I have used webservice checkpoint here.
Also, if I run this method without using keyword test i.e. using Script only , all the values are available there.
I just want to know a way how i can capture these out paramaters and can store the value in local variable OR Project level variable.