Cov txheej txheem:

Kuv yuav khiav Selenium ntawm Firefox tshiab li cas?
Kuv yuav khiav Selenium ntawm Firefox tshiab li cas?

Video: Kuv yuav khiav Selenium ntawm Firefox tshiab li cas?

Video: Kuv yuav khiav Selenium ntawm Firefox tshiab li cas?
Video: kuv yuav mus kom deb ntawm koj 2024, Kaum ib hlis
Anonim

Kev teeb tsa ntawm Selenium IDE

  1. Kauj ruam 1) Launch Firefox thiab mus rau mozilla .org/en-US/ firefox /addon/ selenium -ib/.
  2. Kauj ruam 2) Tos kom txog thaum Firefox ua kom tiav cov download thiab ces nias "Add."
  3. Kauj ruam 3) Ib zaug nruab ua tiav, koj yuav tau txais cov lus lees paub.
  4. Kauj ruam 4) Nyem rau ntawm qhov Selenium IDE icon.

Ib yam li ntawd, nws tau nug, Kuv yuav nruab selenium ntawm Firefox li cas?

Cov kauj ruam

  1. Thawj download Mozilla Firefox browser.
  2. Nyem rau ntawm Firefox tab tam sim no nyob rau sab saum toj ntawm browserwindow.
  3. Nyob rau hauv nco-down ntawv qhia zaub mov nyem rau Add-on.
  4. Mus ntxiv rau nplooj ntawv ntawm Mozilla Firefox browser.
  5. Hauv lub thawv tshawb ntawm Ntxiv rau nplooj ntawv tshawb xyuas lub ntsiab lus "Selenium IDE" thiab nias nkag.
  6. Nyem rau nruab ib sab ntawm Selenium IDE add-on.

Ib sab saum toj no, Kuv yuav ua li cas khiav Java program hauv Firefox? Firefox

  1. Qhib Firefox browser los yog rov pib dua, yog tias nws twb khiav lawm.
  2. Los ntawm Firefox ntawv qhia zaub mov, xaiv Cov Cuab Yeej, tom qab ntawd nyem qhov Ntxiv-onsoption.
  3. Hauv Add-ons Manager qhov rais, xaiv Plugins.
  4. Nyem Java (TM) Platform plugin (Windows) lossis Java AppletPlug-in (Mac OS X) xaiv nws.

Ib yam li ntawd, nws tau nug, Kuv yuav khiav Selenium WebDriver li cas?

Xya theem pib ntawm Selenium Tests

  1. Tsim ib qhov piv txwv WebDriver.
  2. Nkag mus rau nplooj ntawv Web.
  3. Nrhiav ib qho HTML hauv lub vev xaib.
  4. Ua ib qho kev nqis tes ua ntawm lub ntsiab HTML.
  5. Cia siab tias qhov browser teb rau qhov ua.
  6. Khiav cov kev xeem thiab sau cov qhab nia xeem uas siv lub hauv paus kev xeem.
  7. Xaus qhov kev xeem.

Qhov twg version ntawm Firefox yog sib xws nrog Gecko tsav?

Selenium Webdriver version 2.53 yog sib haum nrog Mozilla Firefox version 47.0+ Nws. Cov Firefox driver siv ua ntej versions ntawm MozillaFirefox yuav raug txiav tawm, thiab tsuas yog cov GeckoDriver yuav siv tau.

Pom zoo: