44using System . Text ;
55using System . Threading . Tasks ;
66using OpenQA . Selenium ;
7- using OpenQA . Selenium . Support . PageObjects ;
7+ using SeleniumExtras . PageObjects ;
88using SeleniumWebdriver . BaseClasses ;
99using SeleniumWebdriver . ComponentHelper ;
1010using SeleniumWebdriver . Settings ;
@@ -14,26 +14,32 @@ namespace SeleniumWebdriver.PageObject
1414 public class BugDetail : PageBase
1515 {
1616 private IWebDriver driver ;
17-
17+
1818 #region WebElement
1919
20- //[FindsBy(How = How.Id, Using = "bug_severity")]
21- private IWebElement SeverityDropDown => driver . FindElement ( By . Id ( "bug_severity" ) ) ;
20+ [ FindsBy ( How = How . Id , Using = "bug_severity" ) ]
21+ private IWebElement SeverityDropDown ;
22+ //private IWebElement SeverityDropDown => driver.FindElement(By.Id("bug_severity"));
2223
23- // [FindsBy(How = How.Id,Using = "rep_platform")]
24- private IWebElement Hardware => driver . FindElement ( By . Id ( "rep_platform" ) ) ;
24+ [ FindsBy ( How = How . Id , Using = "rep_platform" ) ]
25+ private IWebElement Hardware ;
26+ //private IWebElement Hardware => driver.FindElement(By.Id("rep_platform"));
2527
26- //[FindsBy(How = How.Id, Using = "op_sys")]
27- private IWebElement OpSys => driver . FindElement ( By . Id ( "op_sys" ) ) ;
28+ [ FindsBy ( How = How . Id , Using = "op_sys" ) ]
29+ private IWebElement OpSys ;
30+ //private IWebElement OpSys => driver.FindElement(By.Id("op_sys"));
2831
29- //[FindsBy(How = How.Id, Using = "short_desc")]
30- private IWebElement ShortDesc => driver . FindElement ( By . Id ( "short_desc" ) ) ;
32+ [ FindsBy ( How = How . Id , Using = "short_desc" ) ]
33+ private IWebElement ShortDesc ;
34+ //private IWebElement ShortDesc => driver.FindElement(By.Id("short_desc"));
3135
32- // [FindsBy(How = How.Id, Using = "comment")]
33- private IWebElement Comment => driver . FindElement ( By . Id ( "comment" ) ) ;
36+ [ FindsBy ( How = How . Id , Using = "comment" ) ]
37+ private IWebElement Comment ;
38+ //private IWebElement Comment => driver.FindElement(By.Id("comment"));
3439
35- //[FindsBy(How = How.Id, Using = "commit")]
36- private IWebElement Commit => driver . FindElement ( By . Id ( "commit" ) ) ;
40+ [ FindsBy ( How = How . Id , Using = "commit" ) ]
41+ private IWebElement Commit ;
42+ //private IWebElement Commit => driver.FindElement(By.Id("commit"));
3743 #endregion
3844
3945 public BugDetail ( IWebDriver _driver ) : base ( _driver )
0 commit comments