-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathSingleDataPoint.robot
44 lines (37 loc) · 1.85 KB
/
SingleDataPoint.robot
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
*** Settings ***
Resource ../resources/common.robot
Library String
Suite Setup Setup Browser
Suite Teardown End suite
*** Test Cases ***
Entering A Lead
[tags] Lead SingleDataPoint
Appstate Home
LaunchApp Sales
ClickText Leads
VerifyText Recently Viewed timeout=120s
ClickText New
VerifyText Lead Information
UseModal On # Only find fields from open modal dialog
TypeText First Name ${First Name}
TypeText Last Name ${Last Name}
Picklist Lead Status Working
TypeText Phone ${Phone} First Name
TypeText Company ${Company} Last Name
TypeText Website ${Website}
ClickText Lead Source
ClickText Advertisement
ClickText Save partial_match=False
UseModal Off
Sleep 1
Delete A Lead
[tags] Lead SingleDataPoint
LaunchApp Sales
ClickText Leads
VerifyText Recently Viewed timeout=120s
${fullName}= Catenate ${First Name} ${Last Name}
ClickText ${fullName}
ClickText Delete
ClickText Delete
VerifyText Recently Viewed
VerifyNoText ${fullName}