Answer Posted / mahesh.k
a=array(1,5,6,3,10)
For i=0 to 4
For j=0 to 4
If a(i)<a(j) Then
t=a(i)
a(i)=a(j)
a(j)=t
End If
Next
Next
For i=0 to 4
print a(i)
Next
| Is This Answer Correct ? | 18 Yes | 8 No |
Post New Answer View All Answers
What is checkpoints for quicktest professional (qtp)?
What is smart identification in QTP?
What is text check point and text area check point?
What do you mean by checkpoints in qtp?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
How to execute a winrunner script in quicktest professional?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
How to write business scripts using object repository with different scenarios
What are some test assets and related extensions of qtp?
What is the difference between Keyword Driven test and Data Driven test?
How to find the difference between 2 dates in qtp?
What is the default add-ins in qtp?
How to check bitmap output value?
Which recording modes need more memory?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?