Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading;
namespace POM
{
[TestFixture]
public class TrendyolPomMethods
{
IWebDriver webDriver;
public TrendyolPomMethods(IWebDriver driver)
{
this.webDriver = driver;
}
public void EmailGiris(string userEmailGiris)
{
webDriver.FindElement(kontrolOzellikleri.emailGiris).Clear();
webDriver.FindElement(kontrolOzellikleri.emailGiris).SendKeys(userEmailGiris);
Thread.Sleep(30);
WaitTime();
}
public void SifreGiris(string userSifreGiris)
{
webDriver.FindElement(kontrolOzellikleri.sifreGiris).Clear();
webDriver.FindElement(kontrolOzellikleri.sifreGiris).SendKeys(userSifreGiris);
Thread.Sleep(300);
WaitTime();
}
public void GirisYapButton()
{
webDriver.FindElement(kontrolOzellikleri.girisYapButton).Click();
Thread.Sleep(1980);
WaitTime();
}
public void UrunArama(string userUrunArama)
{
webDriver.FindElement(kontrolOzellikleri.urunArama).Clear();
webDriver.FindElement(kontrolOzellikleri.urunArama).SendKeys(userUrunArama);
Thread.Sleep(390);
WaitTime();
}
public void AraButton()
{
webDriver.FindElement(kontrolOzellikleri.araButton).Click();
Thread.Sleep(2990);
WaitTime();
}
public void FiyatRadio1()
{
webDriver.FindElement(kontrolOzellikleri.fiyatRadio1).Click();
Thread.Sleep(420);
WaitTime();
}
public void FiyatRadio2()
{
webDriver.FindElement(kontrolOzellikleri.fiyatRadio2).Click();
Thread.Sleep(420);
WaitTime();
}
public void FiyatRadio3()
{
webDriver.FindElement(kontrolOzellikleri.fiyatRadio3).Click();
Thread.Sleep(420);
WaitTime();
}
public void FiyatRadio4()
{
webDriver.FindElement(kontrolOzellikleri.fiyatRadio4).Click();
Thread.Sleep(420);
WaitTime();
}
public void FiyatRadio5()
{
webDriver.FindElement(kontrolOzellikleri.fiyatRadio5).Click();
Thread.Sleep(440);
WaitTime();
}
public void FiyatRadio6()
{
webDriver.FindElement(kontrolOzellikleri.fiyatRadio6).Click();
Thread.Sleep(780);
WaitTime();
}
public void UrunClick1()
{
webDriver.FindElement(kontrolOzellikleri.urunClick1).Click();
Thread.Sleep(280);
WaitTime();
}
public void FavEkle()
{
webDriver.FindElement(kontrolOzellikleri.favEkle).Click();
Thread.Sleep(1400);
WaitTime();
}
public void FavMenu()
{
webDriver.FindElement(kontrolOzellikleri.favMenu).Click();
Thread.Sleep(1200);
WaitTime();
}
public void FavCikarMenu()
{
webDriver.FindElement(kontrolOzellikleri.favCikarMenu).Click();
Thread.Sleep(1200);
WaitTime();
}
public void SepeteEkle()
{
webDriver.FindElement(kontrolOzellikleri.sepeteEkle).Click();
Thread.Sleep(1100);
WaitTime();
}
public void Sepetim()
{
webDriver.FindElement(kontrolOzellikleri.sepetim).Click();
Thread.Sleep(1500);
WaitTime();
}
public void SepetiOnaylaAlt()
{
webDriver.FindElement(kontrolOzellikleri.sepetiOnaylaAlt).Click();
Thread.Sleep(1100);
WaitTime();
}
public void OnBilgiTik()
{
webDriver.FindElement(kontrolOzellikleri.onBilgiTik).Click();
Thread.Sleep(1400);
WaitTime();
}
public void KaydetVeDevam()
{
webDriver.FindElement(kontrolOzellikleri.kaydetVeDevam).Click();
Thread.Sleep(1300);
WaitTime();
}
public void WaitTime()
{
WebDriverWait webDriverWait = new WebDriverWait(webDriver, TimeSpan.FromSeconds(100));
}
}
}
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team