ex: "Welcome {0}" there {0} would be the data value
11 Answers, 1 is accepted
Can you provide some more details on your exact scenario, which Telerik product are you using and what exactly you would like to achieve.
Regards,Marin
Telerik
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
I have a data driven web test where I wanted to validate the exact contents of a label. The problem is that I cannot verify the exact text as the value changes with each user.
So I would like to build a string (string format) to build the value to compare with as below.
Support for string builder in data driven tests without having to use coded steps.
@Daniel, thank you for your input, we really appreciate it.
@Andrew, did the referred thread help you. If you need additional assistance please do not hesitate to contact us again.
Hope to hear from you soon.
Boyan Boev
Telerik
but what we are looking for as Daniel has said is support for sting builder in data driven tests
What do you mean by supporting string builder? You can build a string outside of the verification and then use it for the verification.
In order to assist you best please give us some more detailed information, what exactly do you want to achieve.
Hope to hear from you soon.
Boyan Boev
Telerik
but it would be nice to just set the expected string value as so:
ex: "Welcome {0}"- there {0} would be the data value
just like you can do with the .net telerik controls
You can data bound a verification without a coded step (see the attached screen shot). Please also read this article.
However to build strings, use a string builder you have to use coded steps.
Thank you for your understanding.
Boyan Boev
Telerik
As you can do things like this in telerik .net controls.
We will definitely consider its implementation for future versions of the product.
If you need additional help please do not hesitate to contact us.
Boyan Boev
Telerik