What is an Regular expression doing in VBScript?Tell the
pattern for the email verification.
Answer Posted / reg
Regular expressions enable QuickTest to identify objects
and text strings with varying values.
MyEmail="My_Name01@gmail.com"
Set regEx=new RegExp
regEx.Pattern="^[a-zA-Z][\w\.]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-
]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$"
isValid=regEx.Test(MyEmail)
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Explain how you can replace string in qtp?
Why script error occur in between recording in qtp?
Explain how qtp identifies objects?
How to use checkpoints in qtp ?
Hi Samrat, Thank u very much, what u said it is right.
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
How to handle the exceptions using recovery secnario manager in quicktest professional?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
What are the different attributes used with regular expression?
What is the architecture of your project? Can any one answer for this question plz........
What is the keyword view and expert view in qtp?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
Describe the differences between functions and actions in UFT?
when a test case is written how u test using qtp
Explain different checkpoints in qtp.