SAP Click 관련 문의드립니다

안녕하세요~
몇일을 시도하다 안되어서 고수분들의 도움 요청 드리고 싶습니다.

적색 네모칸 부분은 조회시마다 변경이 되는 부분입니다. 없을 수도 있고 열 수가 바뀔 수도 있습니다.
저 부분을 클릭하고 Action을 한 다음 다시 돌아와서 밑의 칸을 클릭하고 싶은데요…
일단 생각하는 부분은 data가 있을 경우 Orange색으로 표기가 된다는 점입니다.

시도해본 방법은 Get Attribute를 사용하여 ColorIndex를 뽑아봤구요 (7), 저 숫자가 8자리인 점을 이용하여 Selector에 ???로 와일드 카드 처리도 해봤습니다. (다른 Text가 8자리인경우가 생김)

어찌어찌 클릭을 한다고 해도 밑의 칸으로 넘어가는 방법도 떠오르지 않습니다ㅠ
반복문을 하니 같은 자리만 계속 클릭하네요…

다른 방법으로 접근 가능한 방법 아시는 분 계시면 부탁 드리겠습니다.
감사합니다.

hi

did your try increasing your counter inside the selector? also you can use a extract data table and go through the orange column, for each element you can use a click text activity and pass the row, for example the first row will be clicked passing the text “11315991” also after we got the datatable extracted we can validad if is null or empty, based on that we can perfom the activities

best regards!

hi Fernando!

Thank you for your kindly advise.
In SAP, an extract data table can only recognize one row. If it was excel, it was a good solution, but I don’t know how to do same thing in SAP.

best regards.

use the table extractor from the ribbon of uipath, then select one of the cells in SAP and extract the table, then perform your activities based on the above

let me know for any troubles

Fernando,
You seem to be using a modern style studio.
I tried the modern style and found a table extractor on the ribbon.
However, unattended RPA ROBOT does not use the modern style, modern style development mode is not available.
I’m sorry I couldn’t follow your advice.

There’s and old activity as well that you can use, search for screen scraping and try with that, It will do the same return you a data table and perform your activities based on that

Table Cell Scope라는게 있습니다.
image

Table Cell Scope를 통해 조회된 SAP 테이블 내 특정 '컬럼 및 row넘버’의 위치에 해당하는 Cell 에 접근 할 수 있습니다. Scope 액티비티 내부의 컨테이너에서는 따로 셀렉터를 잡아주지 않아도 기본적으로 해당 셀을 엘리먼트로 잡습니다.

혹시 위 액티비티도 잘 작동하지 않는다면 스크린 스크래핑이 동작하는지 확인해보세요.
스크린 스크래핑으로 조회 결과가 읽힌다면 Click Text가 대부분 사용 가능합니다. 이 경우에는 따로 엑셀파일 등으로 export 해서 값을 읽은 다음에 읽은 내용을 For each 돌려서 Click Text 해보는 것도 방법이 될 수 있습니다. 다만 이 방법은 조회 결과가 너무 많아서 화면에 안 보이는 항목은 안됩니다.

안녕하세요 도움 감사 드립니다!

Search를 해보니, SAP내에서도 Table형식으로 되어있는 구조에서는 문제없이 동작하는 것 같습니다.
(Table Cell Scope, Data Scraping 등의 도구)

Header에 커서를 위치할 경우 해당 Column Name도 뜨는 것 같구요… 다만 제 환경에서는 Table 구조가 아니라서 잡히지 않는 것 같습니다.
Table Cell Scope에서 Indicate on screen으로 해당 셀 클릭시 다음과 같은 메시지로 실행이 되지않습니다…
image

다만 한 가지 희망적인 것은 스크린 스크랩핑에서 추출은 가능합니다.
저 오렌지 색 셀값이 매번 바뀌기 때문에 와일드 카드 8자리(???)로 했더니 다른 8자리 문자가 잡히기 때문에 조금 더 고민을 해봐야겠습니다.

많은 도움 감사 드립니다.

Fernando, Thanks again your reply.

Fortunately, screen scraping works. (However, Data Scraping & Table Extractor does not work.)
The tool doesn’t seem to work because it’s not a table structure.
(If the structure is a table, the header title appears on mouseover.)

I’ll try screen scraping again, and let you know the result.
Thanks!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.