Forum Discussion
Are you trying to save the message text or compare it or...?
- Vivek7210 years agoContributor
Hi Marsha
I created a function which can be used for positive testing (where data is expected to be shown in the grid) and negative testing (data is not expected to be shown in the grid). I use Log.Message and Log.Error consecutively. Now I need to replace those log functions with variable so I don't need to go into script every time based on what type of message I need.
Thanks for response!
- Marsha_R10 years agoChampion Level 3
I experimented a little and kept running in circles trying to evaluate those strings as objects and back again.
Instead of passing in "Log.Message" and "Log.Error", could you pass in "M" or "E" and then choose the log statement inside the code?
- Vivek7210 years agoContributor
Hi Marsha,
Sorry, Doesn't work that way either.
Thanks a lot for suggestions. Hoping to find solution!
Related Content
- 3 years agoMarkSchofer
- 12 months agorhu
Recent Discussions
- 3 days agoMW_Didata