Execute java script using run .net script activity


  • hi all,

    Please help me to find the mistake that i did in executing the java script using run .net script activity.

    I am trying my first script over here. 

    Please find the code below that i used :-

    function sum()
    var x,y,z;
    x = 6;
    y = 4;
    result  = (x+y);

    I published the variable result as a integer and it is running successfully but the output is 0(Zero).

    Any help will be greatly appreciated.

    Pls find the screenshots for error reference :-

    Thanks & Regards Automation Developer (@.!.@) ^

    Monday, March 20, 2017 11:53 AM


All replies