Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find Row For Order Number
#1
QTP counts the row and just click on the arrow button on the row. On the left hand side there's a order number and same row there's arrow sigh on the right to click to save the order as pending. Each time new order comes that row keep changing and because QTP doesn't see the specific order number but the what row was in.

Code:
Browser("T").Page("T").Frame("T").Link("PO").Click Browser("T").Page("T").Frame("F").WebList("F").Select "All" Browser("T").Page("T").Frame("F").Image("b").FireEvent "onmouseover" Browser("T").Page("T").Frame("Fr").Image("b").Click Browser("T").Page("T").Frame("T").Link("A").Click Browser("T").Page("T").Frame("T").Link("R").Click Browser("T").Page("T").Frame("T").Link("F").Click Browser("T").Page("T").Frame("M").Link("S").Click Browser("T").Dialog("W").WinButton("OK").Click
I tried to fix it with GetRoProperty(row) the put it in a loop and a if statment.

any help.
Russ
Reply
#2
Hi Russell,

You can use GetRowWithCellText to get the row number of the particular order and then use this row number for the Arrows.
Reply
#3
Thank you Manish. It's working now.
Reply


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 6,359 08-25-2016, 05:03 PM
Last Post: Ankesh
  Automating SAP Sales Order Dwarak Calayampundi 0 2,036 06-09-2016, 09:28 AM
Last Post: Dwarak Calayampundi
  DataGrid: double click on selected row robertosalemi 0 4,880 05-12-2016, 03:00 PM
Last Post: robertosalemi
  Row count is always shown as 1 Harry1999 0 2,457 04-14-2016, 11:11 PM
Last Post: Harry1999
  Keep row number imbizile 0 3,130 09-18-2014, 03:31 AM
Last Post: imbizile

Forum Jump:


Users browsing this thread: 1 Guest(s)