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 a checkpoint? How many check points are there in qtp?
How you can decide which type of object repository you have to use?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
what is supply chain management?
With what extension you can save the list of tests in a file to run in test batch runner?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
What are the two types of repositories available, explain them?
How to check bitmap output value?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
What is the extension of the recovery scenario file in qtp?
What is the architecture of your project? Can any one answer for this question plz........
How can you exit from an action?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
What is a Patch in QTP?