Hi,
This is true it will work and which is developed based on bubble sort but the problem will arise only when fields are more for ex: if i have 200 fields under this link 200x(200-1)=39800 times it will execute and perfoemace of the script would be obviously less and it will take more time to execute the script. Hopefully this kind of function is not acceptable.
I have done with this in a different manner
1.First i took all the variables in to one excel sheet(excel1.xls)
2. Arranged these values in excel1.xls in ascending order and saved with the ascending order values
3. Click on the link on web page and observe that fields will be displayed in ascending order
4. Now i again export all the variables in to excel sheet (excel2.xls)
5. Now i have compare shell by cell with excel1 and excel2.xls
6. Found the mismatched results
to execute the script with the above process it took just less than 3 minutes if i use the bubble sort it has not been completed in 1.5 hour
This is the way i have proceed,
Please let me know if there is any better solution otherthan this...
Thanks,
Venkat.Batchu
This is true it will work and which is developed based on bubble sort but the problem will arise only when fields are more for ex: if i have 200 fields under this link 200x(200-1)=39800 times it will execute and perfoemace of the script would be obviously less and it will take more time to execute the script. Hopefully this kind of function is not acceptable.
I have done with this in a different manner
1.First i took all the variables in to one excel sheet(excel1.xls)
2. Arranged these values in excel1.xls in ascending order and saved with the ascending order values
3. Click on the link on web page and observe that fields will be displayed in ascending order
4. Now i again export all the variables in to excel sheet (excel2.xls)
5. Now i have compare shell by cell with excel1 and excel2.xls
6. Found the mismatched results
to execute the script with the above process it took just less than 3 minutes if i use the bubble sort it has not been completed in 1.5 hour
This is the way i have proceed,
Please let me know if there is any better solution otherthan this...
Thanks,
Venkat.Batchu

