-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathCreateAccount.robot
More file actions
89 lines (77 loc) · 4.25 KB
/
CreateAccount.robot
File metadata and controls
89 lines (77 loc) · 4.25 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
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
*** Settings ***
Resource ../resources/common.robot
Suite Setup Setup Browser
Suite Teardown End suite
*** Test Cases ***
Entering A Lead
[tags] Lead Create A New Account
Appstate Home
LaunchApp Sales
ClickText Leads
VerifyText Recently Viewed timeout=120s
ClickText New anchor=Import
VerifyText Lead Information
UseModal On # Only find fields from open modal dialog
Picklist Salutation Ms.
TypeText First Name Tina
TypeText Last Name Smith
Picklist Lead Status Working
TypeText Phone +12234567858449 First Name
TypeText Company Growmore Last Name
TypeText Title Manager Address Information
TypeText Email tina.smith@gmail.com Rating
TypeText Website https://www.growmore.com/
ClickText Lead Source
ClickText Advertisement
ClickText Save partial_match=False
UseModal Off
Sleep 2
ClickText Details anchor=Chatter
VerifyText Ms. Tina Smith
VerifyText Manager anchor=Title
VerifyField Phone +12234567858449
VerifyField Company Growmore
VerifyField Website https://www.growmore.com/
# as an example, let's check Phone number format. Should be "+" and 14 numbers
${phone_num}= GetFieldValue Phone
Should Match Regexp ${phone_num} ^[+]\\d{14}$
ClickText Leads
VerifyText Tina Smith
VerifyText Manager
VerifyText Growmore
Delete Tina Smith's Lead
[tags] Lead Create A New Account
LaunchApp Sales
ClickText Leads
VerifyText Recently Viewed timeout=120s
Wait Until Keyword Succeeds 1 min 5 sec ClickText Tina Smith
ClickText Show more actions
ClickText Delete
ClickText Delete
ClickText Close
VerifyNoText Tina Smith
Create Account Growmore
[Tags] Account Create A New Account
LaunchApp Sales
ClickText Accounts
ClickText New
UseModal On
Sleep 1 sec
Wait Until Keyword Succeeds 1 min 5 sec TypeText Account Name Growmore
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 Growmore
VerifyText Growmore anchor=Account Name
VerifyField Phone (123) 456-7890
VerifyField Employees 100
VerifyField Website www.growmore.org
VerifyField Industry Banking