how to write function to validate the number of characters
entering into the text box?
Answers were Sorted based on User's Feedback
Answer / 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 |
Write a Fucntion to close all Opened browser expect desired one?
write a vb script to add two 2*2 matrix
Explain the filter expression?
Explain about tristate constants?
what is descriptive programming in QTP and what is environment variable in QTP? where we store and what is its use?
Which command is used for writing text on a page?
How will you convert a given number to long in vbscript?
How will you convert a string to lower case string using vbscript?
How to access array data?
Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance
In our application qtp unable to indentify the menu items,we tried number of times to add objetcs into object repository but fail. through normal recording mode only objects going to add into repository but while running same recording script qtp showing a error like " unable to indentify the object". in repository there is no any properties and pro values for that object and also i tried with virtual object config also unable to find the object in application and in repository. Then what i have to do to identify menu objects????? can anybody hell me pls..............
Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME