Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
manykarim committed Feb 25, 2024
2 parents 02abfdc + fd9bc91 commit 6446e6a
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 5 deletions.
49 changes: 44 additions & 5 deletions reportportal/run_and_publish.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,45 @@
API_KEY="<reportPortalApiToken>"

robot --listener robotframework_reportportal.listener \
--variable RP_ENDPOINT:"http://localhost:8080" \
--variable RP_API_KEY:"robotframework_MTXPBzKwQqa0deIxMkWzf4N6WW_5qxTiFzy-y32VPIf-57aSy-cTCsAcRIxhzjvH" \
--variable RP_PROJECT:"superadmin_personal" \
--variable RP_LAUNCH:"Robot Framework Launch" \
tests/booker
--variable RP_ENDPOINT:"https://saas.reportportal.io" \
--variable RP_API_KEY:$API_KEY \
--variable RP_PROJECT:"robocon-io" \
--variable RP_LAUNCH:"Restful Booker" \
--variable RP_LAUNCH_ATTRIBUTES:"robocon version:3.0 type:regression component:booker" \
tests/01/booker

robot --listener robotframework_reportportal.listener \
--variable BROWSER:chromium \
--variable RP_ENDPOINT:"https://saas.reportportal.io" \
--variable RP_API_KEY:$API_KEY \
--variable RP_PROJECT:"robocon-io" \
--variable RP_LAUNCH:"MFA Login Chromium" \
--variable RP_LAUNCH_ATTRIBUTES:"robocon version:3.0 type:regression component:login browser:chromium" \
tests/01/login

robot --listener robotframework_reportportal.listener \
--variable BROWSER:chromium \
--variable RP_ENDPOINT:"https://saas.reportportal.io" \
--variable RP_API_KEY:$API_KEY \
--variable RP_PROJECT:"robocon-io" \
--variable RP_LAUNCH:"ToDo Chromium" \
--variable RP_LAUNCH_ATTRIBUTES:"robocon version:3.0 type:regression component:todo browser:chromium" \
tests/01/todo

robot --listener robotframework_reportportal.listener \
--variable BROWSER:firefox \
--variable RP_ENDPOINT:"https://saas.reportportal.io" \
--variable RP_API_KEY:$API_KEY \
--variable RP_PROJECT:"robocon-io" \
--variable RP_LAUNCH:"MFA Login Firefox" \
--variable RP_LAUNCH_ATTRIBUTES:"robocon version:3.0 type:regression component:login browser:firefox" \
tests/01/login

robot --listener robotframework_reportportal.listener \
--variable BROWSER:firefox \
--variable RP_ENDPOINT:"https://saas.reportportal.io" \
--variable RP_API_KEY:$API_KEY \
--variable RP_PROJECT:"robocon-io" \
--variable RP_LAUNCH:"ToDo Firefox" \
--variable RP_LAUNCH_ATTRIBUTES:"robocon version:3.0 type:regression component:todo browser:firefox" \
tests/01/todo
9 changes: 9 additions & 0 deletions reportportal/send_results.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
API_KEY="<reportPortalApiToken>"

python $PWD/post_report.py \
--variable RP_ENDPOINT:"https://saas.reportportal.io" \
--variable RP_API_KEY:"$API_KEY" \
--variable RP_PROJECT:"robocon-io" \
--variable RP_LAUNCH:"Robot Framework Launch" \
--variable RP_LAUNCH_ATTRIBUTES:"robocon version:1.0 type:regression" \
/workspace/robot-framework-reporting/results/output.xml

0 comments on commit 6446e6a

Please sign in to comment.