Test Case In Expression Rule.CDT Input in test Case

Hi All,

I am having a requirement of having a test case in expression rule. The expression rule is used to have a CDT type input and the output is also the same CDT type but only with values which have the specified data.

When I am making test case and giving Expression value in Input of CDT to chck test case. It is howing error in input as (open bracket; coma error).

Can anyone help me out how can I put my cdt value in expression rule input.

Thanks in advance

  Discussion posts and replies are publicly visible

Parents
  • I suppose going through following screenshots you will get idea how to do it.

     

     

    In the above I have created sample CDT and forming same CDT with some sample data i.e. returned by the rule

  • Thank you very much that is running fine now :)
Reply Children
  • You are welcome. What was the exact issue and what you did to solve it?
  • It was giving error bcs for type cast. Firstly I am using type!CDT_Name() then it is giving the error when I used 'type!{cdt namesapce}CDT Name'(). then it is running fine