-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.xml
213 lines (213 loc) · 11.8 KB
/
output.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 5.0.1 (Python 3.9.13 on win32)" generated="20230119 16:04:50.566" rpa="true" schemaversion="3">
<suite id="s1" name="Tasks" source="c:\Users\upiscopo\robotest\tasks.robot">
<kw name="Authenticate" type="SETUP">
<kw name="Get Secret" library="RPA.Robocorp.Vault">
<var>${secret}</var>
<arg>salesforce</arg>
<doc>Read a secret from the configured source, e.g. Robocorp Vault,
and return it as a ``Secret`` object.</doc>
<msg timestamp="20230119 16:04:56.444" level="INFO">Protecting keyword: RPA.Robocorp.Vault.Get Secret</msg>
<msg timestamp="20230119 16:04:56.451" level="INFO">Log level changed from NONE to INFO.</msg>
<status status="PASS" starttime="20230119 16:04:56.443" endtime="20230119 16:04:56.450"/>
</kw>
<kw name="Auth With Token" library="RPA.Salesforce">
<arg>${secret}[username]</arg>
<arg>${secret}[password]</arg>
<arg>${secret}[token]</arg>
<doc>Authorize to Salesforce with security token, username
and password creating instance.</doc>
<status status="PASS" starttime="20230119 16:04:56.452" endtime="20230119 16:04:58.264"/>
</kw>
<status status="PASS" starttime="20230119 16:04:56.441" endtime="20230119 16:04:58.267"/>
</kw>
<test id="s1-t1" name="Create_Account" line="57">
<kw name="Generate random name" type="SETUP">
<kw name="Generate Random String" library="String">
<var>${random_string}</var>
<doc>Generates a string with a desired ``length`` from the given ``chars``.</doc>
<msg timestamp="20230119 16:04:58.276" level="INFO">${random_string} = 1q9MwE64</msg>
<status status="PASS" starttime="20230119 16:04:58.275" endtime="20230119 16:04:58.278"/>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<arg>${RANDOM_NAME}</arg>
<arg>Random name ${random_string}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<msg timestamp="20230119 16:04:58.286" level="INFO">${RANDOM_NAME} = Random name 1q9MwE64</msg>
<status status="PASS" starttime="20230119 16:04:58.279" endtime="20230119 16:04:58.286"/>
</kw>
<status status="PASS" starttime="20230119 16:04:58.272" endtime="20230119 16:04:58.287"/>
</kw>
<kw name="Open Chrome Browser" library="RPA.Browser.Selenium">
<arg>${URL}</arg>
<doc>Open Chrome browser. See ``Open Available Browser`` for
descriptions of arguments.</doc>
<msg timestamp="20230119 16:04:58.295" level="INFO">Creating an instance of the Chrome WebDriver.</msg>
<msg timestamp="20230119 16:04:58.329" level="INFO">====== WebDriver manager ======</msg>
<msg timestamp="20230119 16:05:07.544" level="INFO">Creating an instance of the Chrome WebDriver.</msg>
<msg timestamp="20230119 16:05:11.543" level="INFO">Created Chrome browser with arguments: --disable-dev-shm-usage --disable-web-security --allow-running-insecure-content --no-sandbox</msg>
<msg timestamp="20230119 16:05:11.543" level="INFO" html="true"><p>Attempted combinations:</p><div class="doc"><table><tr><th>Browser</th><th>Download</th><th>Error</th></tr><tr><td>Chrome</td><td>False</td><td>Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home
</td></tr><tr><td>Chrome</td><td>True</td><td></td></tr></table></div></msg>
<msg timestamp="20230119 16:05:11.544" level="INFO">Opening url 'https://ssss6-dev-ed.develop.lightning.force.com/lightning/page/home'</msg>
<status status="PASS" starttime="20230119 16:04:58.289" endtime="20230119 16:05:13.644"/>
</kw>
<kw name="Wait Until Element Is Visible" library="RPA.Browser.Selenium">
<arg>xpath://input[@id='username']</arg>
<doc>Waits until the element ``locator`` is visible.</doc>
<status status="PASS" starttime="20230119 16:05:13.647" endtime="20230119 16:05:13.738"/>
</kw>
<kw name="Wait Until Element Is Visible" library="RPA.Browser.Selenium">
<arg>xpath://input[@id='password']</arg>
<doc>Waits until the element ``locator`` is visible.</doc>
<status status="PASS" starttime="20230119 16:05:13.740" endtime="20230119 16:05:13.788"/>
</kw>
<kw name="Click Element" library="RPA.Browser.Selenium">
<arg>xpath://input[@id='username']</arg>
<doc>Click the element identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:13.791" level="INFO">Clicking element 'xpath://input[@id='username']'.</msg>
<status status="PASS" starttime="20230119 16:05:13.790" endtime="20230119 16:05:14.127"/>
</kw>
<kw name="Input Text" library="RPA.Browser.Selenium">
<arg>//*[@id="username"]</arg>
<arg>pdev@sf.com</arg>
<doc>Types the given ``text`` into the text field identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:14.131" level="INFO">Typing text 'pdev@sf.com' into text field '//*[@id="username"]'.</msg>
<status status="PASS" starttime="20230119 16:05:14.129" endtime="20230119 16:05:14.343"/>
</kw>
<kw name="Click Element" library="RPA.Browser.Selenium">
<arg>xpath://input[@id='password']</arg>
<doc>Click the element identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:14.347" level="INFO">Clicking element 'xpath://input[@id='password']'.</msg>
<status status="PASS" starttime="20230119 16:05:14.345" endtime="20230119 16:05:14.456"/>
</kw>
<kw name="Input Text" library="RPA.Browser.Selenium">
<arg>id:password</arg>
<arg>umberto32</arg>
<doc>Types the given ``text`` into the text field identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:14.460" level="INFO">Typing text 'umberto32' into text field 'id:password'.</msg>
<status status="PASS" starttime="20230119 16:05:14.458" endtime="20230119 16:05:14.597"/>
</kw>
<kw name="Click Element" library="RPA.Browser.Selenium">
<arg>xpath://input[@id='Login']</arg>
<doc>Click the element identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:14.600" level="INFO">Clicking element 'xpath://input[@id='Login']'.</msg>
<status status="PASS" starttime="20230119 16:05:14.599" endtime="20230119 16:05:14.708"/>
</kw>
<kw name="Sleep" library="BuiltIn">
<arg>5s</arg>
<doc>Pauses the test executed for the given time.</doc>
<msg timestamp="20230119 16:05:19.718" level="INFO">Slept 5 seconds</msg>
<status status="PASS" starttime="20230119 16:05:14.710" endtime="20230119 16:05:19.719"/>
</kw>
<kw name="Wait Until Element Is Visible" library="RPA.Browser.Selenium">
<arg>//one-app-nav-bar-item-root[@data-id="Account"]</arg>
<doc>Waits until the element ``locator`` is visible.</doc>
<status status="PASS" starttime="20230119 16:05:19.721" endtime="20230119 16:05:21.255"/>
</kw>
<kw name="Click Element" library="RPA.Browser.Selenium">
<arg>//one-app-nav-bar-item-root[@data-id="Account"]</arg>
<doc>Click the element identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:21.258" level="INFO">Clicking element '//one-app-nav-bar-item-root[@data-id="Account"]'.</msg>
<status status="PASS" starttime="20230119 16:05:21.257" endtime="20230119 16:05:21.422"/>
</kw>
<kw name="Sleep" library="BuiltIn">
<arg>3s</arg>
<doc>Pauses the test executed for the given time.</doc>
<msg timestamp="20230119 16:05:24.431" level="INFO">Slept 3 seconds</msg>
<status status="PASS" starttime="20230119 16:05:21.424" endtime="20230119 16:05:24.432"/>
</kw>
<kw name="Click Element" library="RPA.Browser.Selenium">
<arg>//*[@id="brandBand_1"]/div/div/div/div/div[1]/div[1]/div[2]/ul/li[1]/a/div</arg>
<doc>Click the element identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:24.436" level="INFO">Clicking element '//*[@id="brandBand_1"]/div/div/div/div/div[1]/div[1]/div[2]/ul/li[1]/a/div'.</msg>
<status status="PASS" starttime="20230119 16:05:24.434" endtime="20230119 16:05:24.682"/>
</kw>
<kw name="Sleep" library="BuiltIn">
<arg>3s</arg>
<doc>Pauses the test executed for the given time.</doc>
<msg timestamp="20230119 16:05:27.694" level="INFO">Slept 3 seconds</msg>
<status status="PASS" starttime="20230119 16:05:24.684" endtime="20230119 16:05:27.695"/>
</kw>
<kw name="Wait Until Element Is Visible" library="RPA.Browser.Selenium">
<arg>${search_NameFieldAccount}</arg>
<doc>Waits until the element ``locator`` is visible.</doc>
<status status="PASS" starttime="20230119 16:05:27.697" endtime="20230119 16:05:27.754"/>
</kw>
<kw name="Sleep" library="BuiltIn">
<arg>1s</arg>
<doc>Pauses the test executed for the given time.</doc>
<msg timestamp="20230119 16:05:28.765" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20230119 16:05:27.755" endtime="20230119 16:05:28.766"/>
</kw>
<kw name="Input Text" library="RPA.Browser.Selenium">
<arg>${search_NameFieldAccount}</arg>
<arg>${RANDOM_NAME}</arg>
<doc>Types the given ``text`` into the text field identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:28.775" level="INFO">Typing text 'Random name 1q9MwE64' into text field '//*[@name="Name"]'.</msg>
<status status="PASS" starttime="20230119 16:05:28.771" endtime="20230119 16:05:29.271"/>
</kw>
<kw name="Sleep" library="BuiltIn">
<arg>1s</arg>
<doc>Pauses the test executed for the given time.</doc>
<msg timestamp="20230119 16:05:30.285" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20230119 16:05:29.275" endtime="20230119 16:05:30.286"/>
</kw>
<kw name="Click Element" library="RPA.Browser.Selenium">
<arg>//button[@name='SaveEdit']</arg>
<doc>Click the element identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:30.290" level="INFO">Clicking element '//button[@name='SaveEdit']'.</msg>
<status status="PASS" starttime="20230119 16:05:30.288" endtime="20230119 16:05:30.455"/>
</kw>
<kw name="Sleep" library="BuiltIn">
<arg>8s</arg>
<doc>Pauses the test executed for the given time.</doc>
<msg timestamp="20230119 16:05:38.462" level="INFO">Slept 8 seconds</msg>
<status status="PASS" starttime="20230119 16:05:30.457" endtime="20230119 16:05:38.463"/>
</kw>
<kw name="Click Element" library="RPA.Browser.Selenium">
<arg>//span[@class="uiImage"]</arg>
<doc>Click the element identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:38.469" level="INFO">Clicking element '//span[@class="uiImage"]'.</msg>
<status status="PASS" starttime="20230119 16:05:38.467" endtime="20230119 16:05:38.649"/>
</kw>
<kw name="Sleep" library="BuiltIn">
<arg>3s</arg>
<doc>Pauses the test executed for the given time.</doc>
<msg timestamp="20230119 16:05:41.655" level="INFO">Slept 3 seconds</msg>
<status status="PASS" starttime="20230119 16:05:38.652" endtime="20230119 16:05:41.656"/>
</kw>
<kw name="Wait Until Element Is Visible" library="RPA.Browser.Selenium">
<arg>//a[@class="profile-link-label logout uiOutputURL"]</arg>
<doc>Waits until the element ``locator`` is visible.</doc>
<status status="PASS" starttime="20230119 16:05:41.660" endtime="20230119 16:05:41.734"/>
</kw>
<kw name="Click Element" library="RPA.Browser.Selenium">
<arg>//a[@class="profile-link-label logout uiOutputURL"]</arg>
<doc>Click the element identified by ``locator``.</doc>
<msg timestamp="20230119 16:05:41.739" level="INFO">Clicking element '//a[@class="profile-link-label logout uiOutputURL"]'.</msg>
<status status="PASS" starttime="20230119 16:05:41.737" endtime="20230119 16:05:41.972"/>
</kw>
<kw name="Close Browser" library="RPA.Browser.Selenium">
<doc>Closes the current browser.</doc>
<status status="PASS" starttime="20230119 16:05:41.976" endtime="20230119 16:05:45.471"/>
</kw>
<status status="PASS" starttime="20230119 16:04:58.268" endtime="20230119 16:05:45.473"/>
</test>
<doc>Salesforce API examples.
Prerequisites: See README.md</doc>
<status status="PASS" starttime="20230119 16:04:50.597" endtime="20230119 16:05:45.480"/>
</suite>
<statistics>
<total>
<stat pass="1" fail="0" skip="0">All Tasks</stat>
</total>
<tag>
</tag>
<suite>
<stat pass="1" fail="0" skip="0" id="s1" name="Tasks">Tasks</stat>
</suite>
</statistics>
<errors>
<msg timestamp="20230119 16:04:50.710" level="ERROR">Error in file 'c:\Users\upiscopo\robotest\tasks.robot' on line 6: Resource file 'C:\Users\upiscopo\AppData\Local\Programs\Python310\Lib\site-packages\cumulusci\robotframework\Salesforce.robot' does not exist.</msg>
</errors>
</robot>