Haftalik: 1; Fan: Dasturiy vositalarni testlash va tekshirish; Mashgʻulot turi


Follow the links below to get up and going with Selenium WebDriver



Download 87,26 Kb.
bet3/4
Sana01.06.2022
Hajmi87,26 Kb.
#624012
1   2   3   4
Bog'liq
2-laboratoriya ishi

Follow the links below to get up and going with Selenium WebDriver.
If you wish to start with a low-code/record and playback tool, please check Selenium IDE
Once you get things working, if you want to scale up your tests, check out the Selenium Grid.


Install a Selenium library
Setting up the Selenium library for your favourite programming language.
First you need to install the Selenium bindings for your automation project. The installation process for libraries depends on the language you choose to use. Make sure you check the Selenium downloads page to make sure you are using the latest version.
Requirements by language 
Java:
Installation of Selenium libraries for Java is accomplished using a build tool. You can see all available versions on Maven Repository
For Maven, add the selenium-java dependency in your project pom.xml file:

org.seleniumhq.selenium
selenium-java
4.0.0

For Gradle, add the selenium-java dependency in your project build.gradle file:


dependencies {
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.0.0'

Next Step


Install the browser drivers


Python:
Installation of Selenium libraries for Python can be done using pip:


pip install selenium

Alternatively you can download the PyPI source archive (selenium-x.x.x.tar.gz) and install it using setup.py:




python setup.py install

Next Step


Install the browser drivers


C# (C Sharp):
Installation of Selenium libraries for C# can be done using NuGet in one of two ways

  • Using a Packet Manager:



Install-Package Selenium.WebDriver



  • Using .NET CLI



dotnet add package Selenium.WebDriver

Next Step


Install the browser drivers


Ruby:
Installation of Selenium libraries for Ruby can be done using gem:


gem install selenium-webdriver

Or add it to your Gemfile:




gem 'selenium-webdriver', '~> 4.0'

Next Step


Install the browser drivers


JavaScript:
Installation of Selenium libraries for JavaScript can be done using npm:


npm install selenium-webdriver

Next Step


Install the browser drivers



Download 87,26 Kb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish