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 |
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
Mention what is the difference between vbscript and vba?
What is the equivalent of VBScript?s On Error In Jscript ?
what is the use of QCUtil? explain with one example?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
what is fire event method in qtp?
Why is it recommended to close the database connection every time after the work is completed?
a function that takes an integer array as an argument and returns the largest value in the array. Use the function in a program
find the length of the string without using length function?
what do you mean .ota mobile format
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar