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 / uday
here the question is how to find the max and min. lengths
the webedit accepts?
To find the max length of the web edit, try with "max
length" property.
temp=browser("Browser").Page("Page").WebEdit("username").GetROProperty("max
length"). It works.
I am not sure about the min. legth.
Thanks,
Uday.
Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
What is different command used in command Prompt while using QTP?
How to test background color and dynamic images during run time can you put the check point for moving objects?
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)
On what document base Descriptive programming is written if build is not yet ready ?
Hoe can we do retesting using functions please give the code for it using login page
how do u plan test automation?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
How you can replace string in qtp?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
Hi Samrat, Thank u very much, what u said it is right.