Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
In SAP how to capture row position and column position dynamically
#4
Solved: 11 Years, 6 Months, 2 Weeks ago
ok.. What i understood is that you have some value for which u need to find the corresponding row number.

U can use the below code

Code:
intRowNo=SAPGuiSession("Session").SAPGuiWindow("WindowName").SAPGuiTable("TableName").FindRowByCellContent("ColumnName","<Value that you are looking for>")
' if the value that you are looking for is present in the table then intRowNo will hold the row number for that value else intRowNo will be null.

Regards,
Ankesh
Reply


Messages In This Thread
RE: In SAP how to capture row position and column position dynamically - by Ankesh - 01-04-2013, 12:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT issues with Outsystems dynamically generated Id/names jherron 2 1,517 03-02-2020, 09:33 PM
Last Post: Swishy70
  Unable to capture value of Webelement which is changing dynamically sheetal 9 16,568 02-16-2018, 11:01 AM
Last Post: janki_kakadia
  Unable to click on dynamically changing webelement preeti 0 1,892 04-29-2017, 08:50 PM
Last Post: preeti
  DataGrid: double click on selected row robertosalemi 0 4,533 05-12-2016, 03:00 PM
Last Post: robertosalemi
  Row count is always shown as 1 Harry1999 0 2,189 04-14-2016, 11:11 PM
Last Post: Harry1999

Forum Jump:


Users browsing this thread: 1 Guest(s)