on ‎2021 Mar 15 10:40 AM
If I want to update specific quota I need to script to check for the Quota Arr. Number column in below displayed table. If the number is same as in excel input file (COL3) than it should select the same row as the number is found. In below example it should select row 2.


I tried below code but the script stops at: session.findById("wnd[0]/usr/tblSAPDM06QTC_0205/txtEQUK-QUNUM[3,i]").text
Runtime error ‘619’:
The control could not be found by id.
i = 0
Do
session.findById("wnd[0]/usr/tblSAPDM06QTC_0205/txtEQUK-QUNUM[3,i]").text
session.findById("wnd[0]/usr/tblSAPDM06QTC_0205/txtEQUK-QUNUM[3," & CStr(i) & "]").caretPosition = 5
If session.findById("wnd[0]/usr/tblSAPDM06QTC_0205/txtEQUK-QUNUM[3,i]").text = COL3 then
session.findById("wnd[0]/usr/tblSAPDM06QTC_0205").getAbsoluteRow(i).selected = true
Exit Do
End if
i = i + 1
Loop
Request clarification before answering.
I found the error line as well. It's stated in my post. Read my post twice before commenting 😉
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.