For Each UI Element, CurrentElement, Click, Offset 관련해서 질문드립니다

안녕하세요
For Each UI Element를 사용하는 중에 질문이 생겨 글 올립니다.

image

위의 그림대로 동그라미가 CurrentElement이고 이것들을 기준으로 조건에 따라 오른쪽의 버튼을 클릭하게 하고 싶습니다.

각각의 행을 구분할 요소는 보이지 않아서 TableRow 등의 값을 추출할 수가 없습니다.

그래서 다음과 같이 CurrentElement에서 Click Offset에서 X 값을 조정해봤는데

다음과 같이 UI Element가 유효하지 않다고 나옵니다. 어떻게 해야 될까요?

+++ 간단하게 만들어서 해봤는데 CurrentElement를 여러 번 사용하는 것이 안되는 것 같습니다.+++

도와주시면 감사하겠습니다.

@juhwanLee

Instead of offset try using anchor base activity…use the current element as the identified and choose the click you want to click as the element to be clicked

So basically in your click activity indicate the button you want to click (make sure to make the selector dynamic so that it clicks based on anchor) and in the anchor send the current element as input

Cheers

1 Like

어떤 조건일때 템플릿 선택 을 하시는건지, 설명이 자세하진 않아서 잘은 모르겠지만
윗분처럼 앵커를 이용해서 구분해서도 많이 합니다


UI explorer 을 통해서, 좀 더 자세한 구분값을 이용해서 하면 좋을 것 같네요

@esongi_park

First click on indicate element in click activity…Indicate the button you want to click…now indicate the anchor you want after indicating the button…you would then get something like this

cheers

Oh Thank you!!

Now I know how to do it.

Have a nice day~ :smile:

네 고맙습니다. 아직 서툴러서 UI Explorer 사용하는게 미숙하네요ㅠㅠ

좋은 하루되세요!! :smile:

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