How to swap two numbers by using parameter passing method
byref in a fucntion and return the result to outside of the
function?
Answer Posted / aqueeb khan lodi
call swap ("AQUEEB")
msgbox Environment("num")
Sub swap(str1)
var1 =len( str1)
For i = 1 To var1 Step 1
var2 = right(str1, 1)
var3 = left(str1,(var1 - i))
var4 = var4& " " &var2
str1 = var3
Next
Environment("num") = var4
End Sub
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to associate shared object repository to test in qtp?
in a web page How to check and display a particular word from a paragraph?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
what are the limitations of smart identification in qtp 9.0
Explain the terms test and business component?
What are output values and why they are used ?
How do Parameterization and Data-Driving relate to each other in QTP?
When ‘option explicit’ keyword is used in qtp?
Can we create a qtp test from qc?
What are the different types of checkpoints?
What is the basic concept of qtp?
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
What is the extension of the recovery scenario file in qtp?