Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Verifying the sort function
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
In my opinion, let try this way:
Scan all table
Get the value i and i+1, i is the row of table
compare two values and decide it true or false.
in crease i
Code:
for i=1 to (length_of_table-1)
   current=browser().page().webtable().getCellData(i,5)
   next=browser().page().webtable().getCellData(i+1,5)
   if current<=next then
       {.....}
   else
       {err msg}
   end if
next

Please correct me if I am wrong Smile
Reply


Messages In This Thread
Verifying the sort function - by mahadevan.swamy - 11-12-2008, 09:08 PM
RE: Verifying the sort function - by hieutue - 11-14-2008, 01:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a Function in Function Library when function is defined in an Action jitenderkkr 0 2,966 11-27-2014, 12:53 PM
Last Post: jitenderkkr
  Custom sort -Excel Sheet kiran 1 3,857 01-28-2014, 09:23 AM
Last Post: supputuri
  How to sort different dates in and get the Max date from those nilanjans 2 5,686 09-07-2012, 07:35 AM
Last Post: vIns
  How can I fetch server time using function Now or any other function? blanchedsouza 2 5,104 11-07-2009, 08:34 PM
Last Post: Ankur
  Verifying value in calculated field janriis 1 2,112 04-21-2009, 06:10 PM
Last Post: dvkbabu

Forum Jump:


Users browsing this thread: 1 Guest(s)