Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How can i scoll a table with code?

0 Likes
1,601

Hi, I want to scroll a table with Python code. And I have read the documention<SAP GUI Scripting Api>, but can not find a solution.

Am I missed something?

Example: I want to click the button(The red arrow in the figure below).

1 ACCEPTED SOLUTION
Read only

0 Likes
1,492

Closed!

I used the tracker.exe and found the solution to scroll the table.

I must say tracker.exe is Excellent!

session.findById("wnd[0]/usr/tblSAPLWCF_ICONSTCTRL_WCFV_ICON").verticalScrollbar.position = 210


print("Thanks!")

Hi, I want to scroll a table with Python code. And I have read the documention<SAP GUI Scripting Api>, but can not find a solution.

Am I missed something?

Example: I want to click the button(The red arrow in the figure below).

2 REPLIES 2
Read only

0 Likes
1,492

Here is the pic.

Read only

0 Likes
1,493

Closed!

I used the tracker.exe and found the solution to scroll the table.

I must say tracker.exe is Excellent!

session.findById("wnd[0]/usr/tblSAPLWCF_ICONSTCTRL_WCFV_ICON").verticalScrollbar.position = 210


print("Thanks!")