compare the string without using stringcomp function?
2. how to compare values without using String compare function?
Ans:
Option Explicit
Dim strValue
strValue = "Thatavarthi"
If strValue = "Thatavarthi" Then
MsgBox "Both strings are same"
Else
MsgBox "Both strings are not same"
End If
'Expected out Put
---------------------------
---------------------------
Both strings are same
---------------------------
OK
---------------------------
| Is This Answer Correct ? | 0 Yes | 1 No |
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
Explain about operator precedence in vb script?
In html file what is an ideal position to include vbscript?
How to pass argument by reference to a function in vbscript?
Why to use option explicit in vb script?
how to write validation function for date in vb script
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.
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
what does create object actually do when you call it in vbscript?
How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
write a vb script to display apple that is 1st a should be displayed then ap then app then appl then apple