-
Notifications
You must be signed in to change notification settings - Fork 0
/
signupPage.java
82 lines (55 loc) · 1.65 KB
/
signupPage.java
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
package pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class signupPage {
@FindBy(xpath = "//a[contains(text(),'Sign in')]")
public
WebElement btnsignin;
@FindBy(id = "email_create")
WebElement txtemail;
@FindBy(id = "SubmitCreate")
WebElement btnsubmit;
@FindBy(id = "id_gender1")
WebElement radiomale;
@FindBy(id = "id_gender2")
WebElement radiofemale;
@FindBy (id = "customer_firstname")
WebElement customerfirstname;
@FindBy (id = "customer_lastname")
WebElement customerlastname;
@FindBy (id = "email")
WebElement txtmail;
@FindBy(id = "passwd")
WebElement txtpassword;
@FindBy(id = "days")
WebElement dday;
@FindBy(id = "months")
WebElement mmonth;
@FindBy(id = "years")
WebElement yyears;
@FindBy(id = "firstname")
WebElement myfirstnamee;
@FindBy(id = "lastname")
WebElement mylastname;
@FindBy(id = "company")
WebElement mycompany;
@FindBy(id = "address1")
WebElement myaddress;
@FindBy(id = "city")
WebElement mycity;
@FindBy(id = "id_state")
WebElement zipcode;
@FindBy(id = "id_country")
WebElement country;
@FindBy (id = "phone_mobile")
WebElement phonenumber;
@FindBy(id = "submitAccount")
WebElement register;
WebDriver driver;
public signupPage(WebDriver driver){
this.driver= driver;
// PageFactory.initElements(driver.this);
}
}