can check special character using @Utilities.countInPageList

hi team,

I am trying to get exist email count is grater than zero in the page list property using like this.

@Utilities.countInPageList(pyWorkPage.TempUser.EmailID,.EmailID,pyWorkPage.CaseData.AdditionalUser)>0

but using this function it not allowed special character like ‘@’. then how can I solved my issue.

thank you.

@Eranda10274

Use @Utilities.countInPageListWhen where you can pass a When rule. In the When write your logic.

@Eranda10274

The second parameter should be a string instead of property

@Utilities.countInPageList(pyWorkPage.TempUser.EmailID,“EmailID”,pyWorkPage.CaseData.AdditionalUser)>0

Hi @Eranda10274,

Can you pass the property reference as string? Like @countInPageList(pyWorkPage.TempUser.EmailID,“.EmailID”,pyWorkPage.CaseData.AdditionalUser)

hi @RameshSangili

Thank you for answering my question. it was working now.

Thank you.

Eranda.