forked from Richaguptatrainer/CRT-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathCustomKeyword.robot
More file actions
32 lines (28 loc) · 1.48 KB
/
CustomKeyword.robot
File metadata and controls
32 lines (28 loc) · 1.48 KB
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
*** Settings ***
Resource ../Resources/common.custom.robot
Library String
Library DateTime
Suite Setup Setup Browser
Suite Teardown End suite
*** Test Cases ***
Create Account Growmore
[Tags] Account Custom Keyword
Appstate Home
${uniqueAccountName}= Start New Account Growmore Get Current Date
PickList Type Competitor
ClickText Website
TypeText Website www.growmore.org
ClickText Phone
TypeText Phone 1234567890
PickList Industry Banking
ClickText Employees
TypeText Employees 100
ClickText Save partial_match=false
UseModal Off
ClickText Details anchor=Related
VerifyText ${uniqueAccountName}
VerifyText ${uniqueAccountName} anchor=Account Name
VerifyField Phone (123) 456-7890
VerifyField Employees 100
VerifyField Website www.growmore.org
VerifyField Industry Banking