how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / ramesh
dim a,b,c,d
a=inputbox ("enter the value a: ")
b=inputbox ("enter the value b: ")
c=cint(a)+ cint (b)
d=a*b
msgbox c
msgbox d
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
Mention what is byref and byval parameters in vbscript?
why variable name should not exceed 255 characters?
What are the 2 ways in which a variable can be declared in the vbscript language?
What are subprocedures in vbscript?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
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
How to get the length of the string by making use of the string function?
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.
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
How do i automate a website www.flyashx.com without having any test cases witin a week time.
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
What is the use of option explicit in vbscript?
Can anyone send me a vb script function for verifying the functionality of active links on a web page
How will you convert a string to upper case string using vbscript?