Skip to main content
Question

Do we have a method instead of writing contains in parameters of Tester and how can insert excel file inside Parameter as Input

  • February 14, 2020
  • 6 replies
  • 18 views

soly
Contributor
Forum|alt.badge.img+3
  • Contributor
  • 70 replies

I am confused a little bit about Tester

So I have two questions about tester :

At first :i have attribute and I want to write for the same attribute around 15 field ,if contains then pass .

As example same attribute ,if contains v ,passed .

 

So I have to write 15 times for same attribute , and it is too much ,is there easy way to give tester once a time to pass .if conditions occur .

 

Second Question :

I have around 100 field ,in Attribute named building ,I want From tester to check if Name includes as example sam , then pass with another attributes but I does not want to change the name of building every time from the parameter inside tester , I have too many names for building and I want to do excel file out my workspace but as input file inside my code and I change everytime in excel file ,the name of building that I want to pass with another attributes then I got my result only include this building name and another Attributes.

 

Thanks in advance

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

Forum|alt.badge.img
  • 104 replies
  • February 14, 2020

For the first question, you could use a ListBuilder that combines the 15 attributes into a list and then a ListSearcher to find the value in any of the 15 listed attributes.


soly
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • 70 replies
  • February 14, 2020

For the first question, you could use a ListBuilder that combines the 15 attributes into a list and then a ListSearcher to find the value in any of the 15 listed attributes.

Thanks for reply . i will try ur method if u can guide me also for the second question ,i will be thankful .


Forum|alt.badge.img
  • 104 replies
  • February 14, 2020

Thanks for reply . i will try ur method if u can guide me also for the second question ,i will be thankful .

I'm afraid the second question needs a bit more clarification and some examples. :-)


soly
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • 70 replies
  • February 14, 2020

I'm afraid the second question needs a bit more clarification and some examples. :-)

Could’ I ask ,if tester is the transformer that I should use in this case for the second question ,or Which transformer should I use?


Forum|alt.badge.img+2
  • 1891 replies
  • February 14, 2020

@soly Does StringSearcher with a regex using OR (|) work for you?

 


soly
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • 70 replies
  • February 15, 2020

@soly Does StringSearcher with a regex using OR (|) work for you?

 

it works great.thanks alot