how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / venkat
Dim a
Dim b
a=inputbox("enter a value")
b=inputbox("enter b value")
Dim c
c=int(a)+int(b)
Msgbox c
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
Which operator can be used to change the value of the operand or change the state of the condition?
Explain about scrrun.dll?
What are the valid scopes of a variable in vbscript?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
Mention what is byref and byval parameters in vbscript?
There are 5 web pages.write a script to click the button on 4th web page.
Explain about the support of asp for vb script functionality?
Explain about the asc function?
How can constants be declared in the vbscript language?
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
Explain the tristate constants in vbscript?
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
What is dictionary object in vbscript? Explain?