How To write script in QTP For Field Validation Example:
password Field is accepting A range 8-20 characters
only.How to write script?

Answer Posted / max

Replace micFail with micPass in Ganesh Kumar's Answer.
(See below the last part of his answer, ... now modified)

Else
Reporter.ReportEvent micPass,"Check for the Feild
validation","The Feild is not accepting lesserthan or
Greater than the Boundary value"

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you do batch testing in wr & is it possible to do in qtp, if so explain?

608


How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

2514


how to prepared for first for the first interview?

1784


How to add synchronisation points in qtp?

569


What are the common defects found in your project? (in qtp interview)

1604






What is ObjectParamater?

1565


In qtp, how you can use xpath to identify objects?

596


Explain the benefits of quick test pro(qtp)?

556


How to handle the exceptions using recovery secnario manager in quicktest professional?

615


Which environments does qtp support?

664


What is QTP testing process?

611


What is the syntax for how to call one script from another?

545


what is error and fault in terms of software quality?

1445


Explain how you can replace string in qtp?

592


Explain types of descriptive programming?

576