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
How are arrays declared in the vbscript language?
What is the event handling in vbscript?
after medical test,when will be the police verification
Explain the string concatenation function in vbscript?
What are class properties?
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
What is the difference between for loop and while loop?
Explain about the extension .hta?
What is the output of a + b in vbscript if a = 5 and b = 10?
How to take whole text output from screen of Bitmap Application.
How can constants be declared in the vbscript language?
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
What is the use of option explicit in vbscript?
How will you get a combined string from array of string in vbscript?