Eranda10274
(Eranda Weerasingha)
1
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.
SohamM95
(Soham Majumdar)
2
@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
SrijitaB
(Srijita Banerjee)
4
Hi @Eranda10274,
Can you pass the property reference as string? Like @countInPageList(pyWorkPage.TempUser.EmailID,“.EmailID”,pyWorkPage.CaseData.AdditionalUser)
Eranda10274
(Eranda Weerasingha)
5
hi @RameshSangili
Thank you for answering my question. it was working now.
Thank you.
Eranda.