AnsweredAssumed Answered

MultiSelect variable in Test Match

Question asked by RajuD on May 23, 2017
Latest reply on May 24, 2017 by gilta03

Hi All,

 

I am designing a TDoD self service portal where testers will search for the data. In this form we have a field which will accept multiple values. My question is how we will configure that variable in data pool. The variable will give comma seperated values to data pool. How we should configure this in such way that where clause in test match.

 

@if(@or(~Product~=Any,~Product~=~NOVALUE~)@,~NOVALUE~,PRODUCTNAME='~Product~')@

 

The above statement translates into where PRODUCTNAME='P1,P2' which will definitely fails in SQL. 

 

Thanks for your help.

 

Regards,

Raju Devolla.

Outcomes