Quantcast
Viewing all articles
Browse latest Browse all 12134

Creating a Parameter in a Java Record Replay script

Hi there

 

I recorded a script using the Java Record Replay Protocol. I am able to compile and run the script successful.

 

However when parametise the UserName in the script i get errors:

 

_char_array1 = new char[] {'P', 'H', 'E', 'E', 'w', 'o', 'r', 'd', '1'};  // IDLSequence
        _activityusersessiondto1 = _sellitservicelocator1.login("F3142884", (char[] _char_array1, "12.50.11.999");

 

I right clicked and created a parameter

_sellitservicelocator1.login("<USERNAME>",

_sellitservicelocator1.login("{USERNAME}",

 

Both lines do not get the parameter from the parameter list. It users the Paramter name instead. USERNAME.

 

Any help in this regard will be helpful.

 

Thanks


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>