write a vbscrpit to swap values
Answers were Sorted based on User's Feedback
Answer / manjunathareddy
Dim oNum1
Dim oNum2
oNum1=Cint(InputBox("Enter the First number here"))
oNum2=Cint(InputBox("Enter the Second number here"))
Msgbox "Before swapping numbers are"&" "&oNum1&" "&oNum2
oNum1=oNum1-oNum2
oNum2=oNum1+oNum2
oNum1=oNum2-oNum1
Msgbox "After Swaping numbers are"&" "&oNum1&" "&oNum2
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / monika
Dim oNum1
Dim oNum2
oNum1=Cint(InputBox("Enter the First number here"))
oNum2=Cint(InputBox("Enter the Second number here"))
Msgbox "Before swapping numbers are"&" "&oNum1&" "&oNum2
oNum1=oNum1+oNum2
oNum2=oNum1-oNum2
oNum1=oNum1-oNum2
Msgbox "After Swaping numbers are"&" "&oNum1&" "&oNum2
| Is This Answer Correct ? | 0 Yes | 0 No |
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)
how to display all the links in one page using vb script in qtp.
1 Answers DST Global Solutions,
Write a Script for ATM in QTP
What is the purpose of on error resume next statement?
how to write code: to check whether the window of an Application Under Test exist or not . plz give with example
How will you get the last occurrence of one string within another string using vbscript?
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.
Explain the operator precedence in vb script?
about vb scripting programs this type of all question& answers
How do I check that the names in a weblist are correct e.g in flight application the names of item are Denver, paris,London, etc. How do I ensure the correct item is displayed from the list after doing item count ?
How to insert snapshot during manual scripting in QTP?
How can the spaces from the string be removed?