Question: how to check a email_id using regular expression and what will be the regular expression for email_id?
Answer: Before i come to regural expression i would like to focous why we need regural expression the main motive is that irespective of the lable of a particular object it is going to identitfy the object ,hense we are not suppose to get the fail status while running the script so in win runner we are going to represent the regular expression as !and completed with.* as in QTP we have to make the e mail id in RG so first we have to check the format it is somthing like [email protected] then we use the format because it is a valid format
Question:
how to check a email_id using regular expression and what will be the regular expression for email_id? Answer:
Before i come to regural expression i would like to focous why we need regural expression the main motive is that irespective of the lable of a particular object it is going to identitfy the object ,hense we are not suppose to get the fail status while running the script so in win runner we are going to represent the regular expression as !and completed with.* as in QTP we have to make the e mail id in RG so first we have to check the format it is somthing like [email protected] then we use the format because it is a valid format Source: CoolInterview.com