본문 바로가기

분류 전체보기133

구글 스프레드 시트 API 연동 (Python) + OS에 따라 Xpath 가져오기 https://velog.io/@junsugi/Google-Sheet-%EC%97%B0%EB%8F%99%ED%95%98%EA%B8%B0-feat.-Google-API Google Sheet 연동하기 (feat. Google API)구글 스프레드시트 연동하다 빡쳐서 쓰는 글velog.io위 블로그 참고하여 프로젝트 생성 + 구글 스프레드 시트 라이브러리 추가 + 서비스 계정 생성 + 키 생성 + 구글 스프레드 시트 공유까지  + 트러블 슈팅공유 드라이브 내 스프레드 시트를 만들어서 공유 > 서비스 계정 추가하는 단계가 불가했는데,개인 드라이브 계정에 구축함으로써 해결 worksheet()@pytest.fixture(scope="module")def worksheet(): # 구글 스프레드시트 연동 .. 2024. 5. 8.
구글 스프레드 시트 컬럼 내 중복 입력 표시 or 불가하도록 설정 구글 스프레드 시트 컬럼 내 중복 입력 시 표시 설정 ㄴ 작업하려는 컬럼 선택 > 서식 > 조건부 서식 ㄴ 위와 같이 입력 (C:C, C1 은 해당하는 컬럼값 입력) ㄴ 열 내 중복되는 값이 있는 경우 위와 같이 표시된다. 구글 스프레드 시트 컬럼 내 중복 입력 불가 하도록 설정 ㄴ 작업하려는 컬럼 선택 > 데이터 > 데이터 확인 ㄴ 위와 같이 입력 (C:C, C1 은 해당하는 컬럼값 입력) ㄴ 해당 열에 있는 값 입력 시 얼럿 노출되며 입력 불가 2024. 4. 9.
Jenkins 내부 IP에서 접근 안 될때 https://pikachu987.tistory.com/60 맥에서 Jenkins 설정하기(포트, IP허용) 2021.06.03 - [ETC] - 외부에서 token으로 젠킨스 빌드하기 외부에서 token으로 젠킨스 빌드하기 2021.06.02 - [ETC] - 맥에서 Jenkins 설정하기 맥에서 Jenkins 설정하기 https://www.jenkins.io/download/ Jenkins download and de pikachu987.tistory.com cd /opt/homebrew/opt/jenkins vi homebrew.mxcl.jenkins.plist homebrew.mxcl.jenkins.plist 수정 --httpListenAddress=0.0.0.0 위와 같이 설정 후 저장 ( :w.. 2024. 4. 5.
appium 자동화 2024 - 9) git - Jenkins 연동 Jenkins 기본 설정 후 + New Item ㄴ Freestyle 로 ㄴ Git Repository URL에 git 주소를 넣어주면 되는데, 위와 같은 에러가 노출되었다. stderr: remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://gitlab.com/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied * 트러블 슈팅 히스토리... 2024. 4. 4.
appium 자동화 2024 - 8) PC web + Mobile 동시 자동화 setting.py import pytest from appium import webdriver as appium_webdriver from appium.options.android import UiAutomator2Options from selenium import webdriver as selenium_webdriver from selenium.webdriver import Chrome # appium 세팅 @pytest.fixture(scope="module") def driver_m(): capabilities = dict( platformName='Android', automationName='uiautomator2' ) appium_server_url = 'http://localhost:472.. 2024. 3. 29.
Selenium Grid - 3) 기존 테스트 Selenium Grid 연동 기존 코드 import time import pytest from selenium import webdriver @pytest.fixture(scope="module") def driver(): driver = webdriver.Chrome() yield driver driver.quit() def test_case_01(driver): driver.get("https://www.selenium.dev/selenium/web/web-form.html") time.sleep(5) driver.get("https://www.naver.com") time.sleep(5) driver 선언 시 selenium grid hub 주소를 넣어준다. import time import pytest from seleniu.. 2024. 3. 28.
Selenium Grid - 2) Docker 네트워크 구성 이전 블로그에서 Docker standalone 버전으로 실행을 해봤고, 실행중인 docker 이미지를 멈추고 Docker 네트워크를 구성해보자. * 맥 터미널 docker ps docker stop 추후 Appium 연결을 위해 아래 docker image 로 진행해보겠다. https://github.com/seleniumhq-community/docker-seleniarm GitHub - seleniumhq-community/docker-seleniarm: Multi-Arch (arm64/armhf/amd64) Docker images for the Selenium Grid Server Multi-Arch (arm64/armhf/amd64) Docker images for the Selenium Gr.. 2024. 3. 24.
Selenium Grid - 1) Docker 설치 https://www.selenium.dev/downloads/ Downloads Selenium automates browsers. That's it! www.selenium.dev Lastest stable version 다운로드 * 맥 터미널 java -jar selenium-server-4.18.1.jar standalone ㄴ 위 명령어 실행 시, * 브라우저 http://localhost:4444/ui 접속 시, ... 하려다가 https://velog.io/@tkjung/Selenium-Grid-%EC%BB%A8%ED%85%8C%EC%9D%B4%EB%84%88%EC%97%90-Appium-%EC%97%B0%EA%B2%B0 Selenium Grid 컨테이너에 Appium 연결 Selenium .. 2024. 3. 24.
내가 쓰려고 모아두는 자주 사용하는 Git 명령어 모음집 1-1. 초기 세팅 (로컬저장소 > 원격저장소 업로드) echo "# ~ " > README…md git init git add README. md git commit -m "first commit" git branch -M main git remote add origin 주소 git push -u origin main 1-2. 초기 설정 (원격저장소 > 로컬저장소 복제) git clone 2. commit & push git add . git commit -m "~" git push -u origin develop * [rejected] master -> master (non-fast-forward) 해결 방법 git push -u origin +develop 3. Pull git pull origin.. 2024. 3. 16.
Git push > fatal: Authentication failed for ... / Permission denied (publickey). 해결 remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication. git push -u origin main 명령어 이후 계정과 비밀번호를 정확히 입력해도 위 fatal: Authentication failed for ... 오류가 노출되면서 Push가 불가한 현상이 있었다. 원래 https.. 2024. 3. 15.