Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sort Order Help
#1
Not Solved
Code:
Set oDesc=Description.Create()
oDesc("micclass").value = "WebElement"
oDesc("class").Value = "order_details_main_boxes"
Set sLinks = Browser("Browser").Page("Page").ChildObjects(oDesc)
sLinkCount = sLinks.Count
PRINT sLinkCount
For i = 0 to sLinkCount - 1
iName= sLinks(i).GetROProperty("innertext")
iOrderNumber =Left(iName, 7)
PRINT "Order Number " &iOrderNumber
Next

Hi usng the above code i'm capturing order number details so when i run the script in my app i got the count value 2 ie.,

sLinkCount = 2
In the first loop i got Order Number = 5434565
In the second loop i got Order Number = 5434564

Now i want to check the sorting by taking these order numbers and wanted to store in array so that i want to check ascending/descending sorting...

Please help me out in this regard...
Reply


Messages In This Thread
Sort Order Help - by automation2012 - 03-01-2013, 10:59 AM
RE: Sort Order Help - by vinod123 - 03-01-2013, 11:04 AM
RE: Sort Order Help - by automation2012 - 03-01-2013, 11:20 AM
RE: Sort Order Help - by vinod123 - 03-01-2013, 12:54 PM
RE: Sort Order Help - by automation2012 - 03-06-2013, 11:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Should I download every patch in order to UFT recognize the Chrome and FireFox browse jesusisaac 6 5,343 08-25-2016, 05:03 PM
Last Post: Ankesh
  Get numbers inside all webelements in webtable and sort them pradeep537 1 2,821 08-04-2016, 01:24 AM
Last Post: Ankur
  Automating SAP Sales Order Dwarak Calayampundi 0 1,718 06-09-2016, 09:28 AM
Last Post: Dwarak Calayampundi
  Sort multidimensional array SBsteven 8 9,041 03-14-2014, 02:49 PM
Last Post: anuj.bajaj
  sort two dimensional array. venkatesh9032 0 1,814 03-06-2014, 02:47 PM
Last Post: venkatesh9032

Forum Jump:


Users browsing this thread: 2 Guest(s)