Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Scripts for Ascending order in qtp.

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


Please Help Members By Posting Answers For Below Questions

What is checkpoints for quicktest professional (qtp)?

1046


What is smart identification in QTP?

1081


What is text check point and text area check point?

1111


What do you mean by checkpoints in qtp?

1016


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

4105


How to execute a winrunner script in quicktest professional?

1041


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1852


How to write business scripts using object repository with different scenarios

1933


What are some test assets and related extensions of qtp?

1042


What is the difference between Keyword Driven test and Data Driven test?

2237


How to find the difference between 2 dates in qtp?

1066


What is the default add-ins in qtp?

1006


How to check bitmap output value?

1201


Which recording modes need more memory?

1073


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2782