how to write function to validate the number of characters
entering into the text box?
Answer Posted / bfakruddin
dialog("text:=Login").winedit("attached text:=Agent Name:").set "Baba"
text=dialog("text:=Login").winedit("attached text:=Agent Name:").getroproperty("text")
Function length(text,le)
le=len(text)
End Function
Call length(text,le)
msgbox le
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Explain about tristate constants in vbscript?
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.
Difference between dim,public and private variables in vb script?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
Which constant is used for print and display functions and works as same as pressing enter key?
When does ‘on click of button’ event gets triggered in the vbscript language?
Explain about the extension .hta?
Description.Create
Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks
who will create the object?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
Anyone have qtp11.0 crack?
Mention how to create a cookie using vbscript?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans