who you define variables and functions in VB?
Answer / saimahesh babu
variable declaration:dim a
function declaration:
function nameoffuntion(var)
msgbox var
end funtion
| Is This Answer Correct ? | 1 Yes | 0 No |
What purpose does ‘on error resume next’ serves?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
What is a class in CSS?
There are 5 web pages.write a script to click the button on 4th web page.
Is it possible to pass optional argument to function in vb script?
How will you compare two strings in vbscript?
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?
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....
Mention what if you do not specify anything when you call a procedure?
How will you trim the spaces on the left of a string using vbscript?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
Which operator can be used to do an xor operation in vbscript?