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
can i compare two databases using QTP ?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
Explain in brief about the quicktest professional automation object model?
What are the views available in quicktest professional?
How to use Environment parameterization? Explain with an example.
How to create scenario selector
Where you get the run time data table?
How you know that a test case is a regression test case
How to data driven test for Win objects in QTP ?
what is the difference between development and testing
How you can decide which type of object repository you have to use?
What is the use of text output value in quicktest professional?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
Where you are storing your script?