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 |
Explain about filter expression?
What purpose does ‘on error resume next’ serves?
when we use filter funtiom invb script(QTP)
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
Explain different types of segment?
Which is the default Data types in VBScript?
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
Is vbscript language a case-sensitive language and what does it mean?
Which function is used to perform string comparison?
What is sql loader? Explain the files used by sql loader to load file?
I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong
Mention the environments where vbscript could be run?