write a vbscript for finding the sum of the numbers from 1-
50
Answer Posted / jethva_trupti
<html>
<body>
<script type="text/vbscript">
dim n,i,sum
sum=0
i=1
n=5
do while (i<=n)
sum=sum+i
i=i+1
loop
document.write(sum)
</script>
</body>
</html>
| Is This Answer Correct ? | 60 Yes | 15 No |
Post New Answer View All Answers
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
Explain the tristate constants in vbscript?
Which operator can be used to change the value of the operand or change the state of the condition?
Mention what is select case statement?
how to acces the remote mechine using vb cript(QTP)
What is byref and byval parameters in vbscript?
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
regular expression that will recognize a browser as long as its name property starts with mybrowser
What is the difference between a dictionary and an array?
what is the features of visual basic?
How to throw an error in vbscript?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
Explain the extension .hta?