Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Mandatory fields validation

$
0
0
Hello Tiago,

Test Studio can only test one input field at a time. Verifying that an input field is not empty requires one line of code, like this:

Assert.IsTrue(Pages.TryitEditorV230.FrameIframeResult.Text.Value.Length > 0);

You will need to design a test that has N verifications like this, where N is the number of input fields you want to validate. I've attached a sample test as a demonstration.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>