Out of the different type of operators, which are evaluated first and last in the vbscript language?
Answer / Vikas Dubey
'Unary +' is evaluated before all other operators except parentheses. 'And' and 'Or' are short-circuited operators that are evaluated after all arithmetic and comparison operations within a logical expression. 'Not' is also an operator that operates after all other operators.
| Is This Answer Correct ? | 0 Yes | 0 No |
Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....
what is fire event method in qtp?
Explain the functionality of vbscript?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..
write a vb script code to display the vbscript word by word (i e 1st it should display v then b and up to t )
WHAT IS ENVIRONMENT VARIABLES?and where it is used in real time scenario?
Which operator can be used to change the value of the operand or change the state of the condition?
What is the equivalent of VBScript?s On Error In Jscript ?
Mention what is the main difference between function and sub-procedure?
What is the difference between vb debugger and the script debugger?
what is event handling?