Verify the text field name has * in it to show its mandatory field?

4 posts, 0 answers
  1. Etl
    Etl avatar
    7 posts
    Member since:
    Oct 2018

    Posted 01 Nov Link to this post

    Need to verify or confirm the field is displayed with * in the field name 

    thanks 

  2. Etl
    Etl avatar
    7 posts
    Member since:
    Oct 2018

    Posted 01 Nov Link to this post

    Anyone?
  3. Ivaylo
    Admin
    Ivaylo avatar
    778 posts

    Posted 02 Nov Link to this post

    Hello Etl,

    I assume you are talking about a web application here. Nevertheless, please note that building the verification depends a lot on the implementation. For example one of the most popular implementations of this scenario is with a span element in the label as in the example provided below:

    <div class="form-group"> <!-- Email field -->
            <label class="control-label requiredField" for="email">Email<span class="asteriskField">*</span></label>
            <input class="form-control" id="email" name="email" type="text"/>
        </div>

    In this case the verification can be done quite easily with the recorder as shown in the screenshot attached.

    If your scenario differs than the one provided above, please provide more detailed information so we can assist you further.

    Looking forward to hearing from you.

    Regards,
    Ivaylo
    Progress Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  4. Etl
    Etl avatar
    7 posts
    Member since:
    Oct 2018

    Posted 02 Nov in reply to Ivaylo Link to this post

    Thanks, I figured it out the other day. But thank you for the explanation 
Back to Top