Example #1
0
 private void xtileReportBalanceSheet_ItemClick(object sender, TileItemEventArgs e)
 {
     using (var page = new BalanceSheetPage())
     {
         page.ShowDialog();
     }
 }
        static void Main(string[] args)
        {
            Console.WriteLine("Input your quickfs email: ");
            var email = Console.ReadLine();

            Console.WriteLine("Input your quickfs password: "******"Enter a comma seperated list of tickers: ");
            var commaSeperatedTickers = Console.ReadLine().Replace(" ", "");

            List <string> tickers    = commaSeperatedTickers.Split(",").ToList();
            var           loginModel = new LoginModel
            {
                Email    = email,
                Password = password
            };

            _shortPause = 3 * 1000;
            _driver     = new ChromeDriver();
            _driver.Manage().Window.Maximize();
            //quickfs
            _homePageQuickFs   = new Backend.Pages.QuickFs.HomePage(_driver);
            _searchResultsPage = new SearchResultsPage(_driver);
            _companyPage       = new CompanyPage(_driver);
            _loginPage         = new LoginPage(_driver);
            _balanceSheetPage  = new BalanceSheetPage(_driver);

            //yahoo
            _homePageYahoo     = new Backend.Pages.Yahoo.HomePage(_driver);
            _summaryPageYahoo  = new Backend.Pages.Yahoo.SummaryPage(_driver);
            _analysisPageYahoo = new Backend.Pages.Yahoo.AnalysisPage(_driver);

            //msm money
            _homePageMsmMoney        = new Backend.Pages.MsmMoney.HomePage(_driver);
            _companiesAndMarketsPage = new CompaniesAndMarketsPage(_driver);
            _summaryPageMsmMoney     = new Backend.Pages.MsmMoney.SummaryPage(_driver);
            _analysisPageMsmMoney    = new Backend.Pages.MsmMoney.AnalysisPage(_driver);

            TickersToStickers(tickers, loginModel);

            _driver.Dispose();
        }