Skip to content

Commit edc65ea

Browse files
Merge pull request #18 from b-vamsipunnam/feature/Working-Branch-April
Refactored both robot files as i moved org alias to scan.robot file
2 parents 01eaf7f + e7e762f commit edc65ea

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/robot/orchestrator/scan.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Suite Teardown Cleanup Suite
55

66
*** Variables ***
77
# Set this to the same alias used in: sf org login web --alias <org_name>
8-
${ORG_ALIAS} MyOrg
8+
${ORG_ALIAS} MyOrg
99

1010
*** Test Cases ***
1111
Object_Scanner
12-
Get All Object Record Counts
12+
Get All Object Record Counts ${ORG_ALIAS}

src/robot/resources/keywords.robot

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Library DateTime
1313
Library String
1414

1515
*** Variables ***
16-
${ORG_ALIAS} DeveloperOrg
1716
# Windows execution
1817
${SF_CLI} sf
1918
${PYTHON} python
@@ -371,6 +370,8 @@ Generate Output File Name
371370

372371
Get All Object Record Counts
373372
[Documentation] Main flow: list -> filter -> count -> save JSON (+ durations).
373+
[Arguments] ${org_alias}
374+
Set Test Variable ${ORG_ALIAS} ${org_alias}
374375
Check Prerequisites
375376
${output_directory}= Init Output Directory
376377
${output_directory}= Normalize Path ${output_directory}

0 commit comments

Comments
 (0)