How to check error scenarios which one is working

hello everyone,

I had a requirement to type the error scenarios(i.e error1 or error 2 or error3) using ‘|’ if error1 fails likewise we need to proceed error2,error3.Please find the below excel constant sheet

config.xlsx (7.8 KB)

Hi @raghuramk,
Could you please show an example or describe it better. It’s hard to understand what do you mean.

hi @Pablito,

I had a scenario suppose variable = error1|error2|error3.I need to test the 3 Scenarios( i.e 1.error1,2.error2,3.error3) based on ‘|’ which error scenario is working or else after testing these 3 scenarios we need to throw an error. Can you explain me how to write a code for this.

I’m not sure if I got this right but if you want to test scenario based on data written together in one excel cell then you need to grab text and use for example regex to extract each of the value divided by “|” character.