forked from Richaguptatrainer/CRT-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathNewSalesforceTrialOrg.robot
More file actions
38 lines (28 loc) · 1.49 KB
/
NewSalesforceTrialOrg.robot
File metadata and controls
38 lines (28 loc) · 1.49 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
*** Settings ***
Documentation New test suite
Library QWeb
Library DateTime
Library String
Suite Setup Open Browser about:blank chrome
Suite Teardown Close All Browsers
*** Variables ***
${email} youremailaddress
*** Test Cases ***
Creating Trial Org
GoTo https://www.salesforce.com/form/signup/freetrial-sales-pe/
VerifyText Start your free sales trial
Evaluate random.seed() random
${exampleFirstName}= Convert To String guest1
${randomstring}= Generate Random String length=3-5 chars=0123456789
${FirstName}= Format String {}{} ${exampleFirstName} ${randomstring}
TypeText First name ${FirstName}
TypeText Last name user
TypeText Job title Learner
ClickText Next
DropDown Employees 21 - 200 employees
TypeText Company xyz
ClickText Next
TypeText Phone 9999999999
TypeText Email ${email}
ClickElement //div[@class\="checkbox-ui"]
ClickText Submit