automationtesting on selenium by quontra solutions

Upload: quontrasolutions

Post on 03-Jun-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    1/29

    Radtwlrc Ycstogj Ogtraiubtoagta Ycst LutakltoagVrcplrci My\uagtrl Ra`utoags

    OY Baurscs Ag`ogc Yrlogogj SRLDar Icka

    Bl`` Ss > +< 969-?66-??88Cklo`> ogdaFquagtrlsa`utoags.bak

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    2/29

    Mlsob Radtwlrc Ycstogj Bagbcpts

    Yypcs ad Ycstogj

    Ogtraiubtoag ta Lutakltoag

    Vras lgi Bags

    Rakc `ojht ag ZHOYC Drlkcware- Zogiaws Lutakltoag

    Icka

    Rakc `ojht ag Rc`cgouk- Zcm Lutakltoag

    Icka

    \&L

    Ljcgil

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    3/29

    OGY]AISBYOAG AD YCRYOGJ

    Zhlt os Ycstogj> Radtwlrc tcstogj os thc prabcss ad cvl`ultoag ad lsadtwlrc otck ta ictcbt ioddcrcgbcs mctwccg lbtul` lgi cxpcbtciautput ag jovcg ogput.

    Yhc purpascs ad tcstogj lrc>

    \ul`oty lssurlgbc, Tcrodobltoag lgi Tl`oiltoag,Ya dogi thc mujs mcdarc thc praiubt os rc`clsci ta bustakcr.

    Ya okpravc thc qul`oty ad thc praiubt

    Ya cvl`ultc thlt thc praiubt os lbbariogj ta rcquorckcgts.

    Radtwlrc Ycstogj os thc prabcss ad lssurogj thlt praiubt whobh os

    klgudlbturci my icvc`apcr os kcctogj thc uscr rcquorckcgt. Yhc

    katovc ta pcrdark tcstogj os ta dogi thc mujs lgi klec surc thlt

    thcy jct doxci.

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    4/29

    Y_VC AD YCRYOGJ

    Klgul` tcstogj> Yhos typc ogb`uics thc tcstogj ad thc Radtwlrc klgul``y o.c.wothaut usogj lgy lutakltci taa` ar lgy sbropt.

    L klgul` tcstcr wau`i typobl``y pcrdark thc da``awogj stcps dar klgul`tcstogj>

    Sgicrstlgi thc dugbtoagl`oty ad prajrlk

    Vrcplrc l tcst cgvoragkcgt.

    Cxcbutc tcst blsc(s) klgul``y

    Tcrody thc lbtul` rcsu`t

    ]cbari thc rcsu`t ls Vlss ar Dlo`

    Klec l rcpart ad thc Vlss lgi Dlo` tcst blscs

    Vum`osh thc rcpart

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    5/29

    ZHA LGI ZHCG YA RYL]Y YCRYOGJ

    Zha iacs tcstogj> Da``awogj pradcssoagl`s lrc ogva`vci og tcstogj ad lsystck wothog thcor rcspcbtovc blplbotocs>

    Radtwlrc Ycstcr

    Radtwlrc Icvc`apcr

    Vrancbt @cli/Klgljcr

    Cgi Sscr

    Zhcg ta Rtlrt Ycstogj1 Ycstogj os iagc og ioddcrcgt darks lt cvcry phlsc ad RI@B `oec iurogj

    ]cquorckcgt jlthcrogj phlsc, thc lgl`ysos lgi vcrodobltoags adrcquorckcgts lrc l`sa bagsoicrci tcstogj.

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    6/29

    Vras - Bags

    Livlgtljc>-

    Klgul` tcstogj blg mc usc og math skl`` lgi moj prancbt. Zc blg clso`y rciubc lgi lii aur tcst blsc lbbariogj ta prancbt kavckcgt.

    Clsy ta `clrg dar gcw pcap`c wha cgtcrs og klgul` tcstogj.

    Klgul` tcstogj os karc rc`olm`c thcg lutakltci (og klgy blscs lutakltcitcst gat bavcr l`` blscs) .

    * Ioslivlgtljc>- JSO amncbt sozc ioddcrcgbc lgi ba`ar bakmogltoag ctb os gat clsy ta dogi aut og

    klgul` tcstogj.

    Lbtul` `ali lgi pcrdarklgbc os gat passom`c ta bavcr og klgul` tcstogj dar`lrjc gukmcr ad uscrs.

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    7/29

    Lutakltoag tcstogj

    Lutakltoag tcstogj> Lutakltoag tcstogj whobh os l`sa egawg ls YcstLutakltoag. Og thos tcstogj, thc tcstcr wrotcs sbropts lgi uscs lgathcr sadtwlrc

    ta tcst thc sadtwlrc. Yhcrc lrc klgy Yaa`s lrc usc og lutakltoag Ycstogj.

    Radtwlrc tcstogj taa`s>

    HV \uobe Ycst Vradcssoagl`

    Rc`cgouk

    Ycst stlbe.Zhotc

    Ycstogj Lgywhcrc

    Zog]uggcr

    @lai]uggcr

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    8/29

    Vras - Bags

    Livlgtljcs

    Clsy ta bavcr up l`` blscs og l `okotci tokc pcroai.

    _au blg pcrdark ioddcrcgt typcs ad tcstogjs `oec `ali tcstogj, pcrdarklgbc tcstogjusogj taa`.

    Lutakltci tcstogj blg mc pcrdarkci ag ioddcrcgt apcrltogj systcks.

    Ioslivlgtljcs

    Vurbhlsc l taa`s lgi Klogtcglgbc.

    Lutakltoag tcstogj os karc cxpcgsovc ware ls bakplrogj woth klgul` tcstogj.

    @lgjuljc wosc thcrc lrc klgy taa`s ta tcst vlroaus typc ad sadtwlrc, kclgs l`` taa`swo`` gat suppart ta l`` sadtwlrc whobh lrc icvc`apci og ioddcrcgt `lgjuljcs.

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    9/29

    RI@B LGI RY@B

    Radtwlrc Icvc`apkcgt @odc Byb`c>Yhcrc lrc sox typc ad RI@B. ]cquorckcgt phlsc

    Icsojg phlsc

    Baiogj (prajrlkkogj)

    Ycstogj

    ]c`clsc (Vraiubtoag)

    Klogtcglgbc (Ruppart)

    Radtwlrc Ycstogj @odc Byb`c> Yhcrclrc scvcg typc ad RY@B. ]cquorckcgt Rtuiy

    Ycst V`lggogj

    Zrotogj Ycst Blscs

    ]cvocw thc Ycst Blscs

    Cxcbutogj thc Ycst Blscs

    Muj ajjogj

    B`asc ar ]capcg mujs

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    10/29

    MLROB Y_VC AD YCRYOGJ

    M`lbe Max Ycstogj> Yhc tcbhgoquc ad tcstogj wothaut hlvogj lgy egaw`cijc ad thc ogtcroarwareogjs ad thc lpp`obltoag os M`lbe Max tcstogj. Yhc tcstcr os am`ovoaus ta thc systck

    lrbhotcbturc lgi iacs gat hlvc lbbcss ta thc saurbc baic. Ot os l`sa bl``ci mchlvoarl`,dugbtoagl` lgi b`asc max tcstogj.

    Zhotc Max Ycstogj> Zhotc max tcstogj os rcquorc ugicrstlgiogj ad ogtcrgl` `ajob lgistrubturc ad thc baic. Zhotc max tcstogj os l`sa bl``ci j`lssmax tcstogj ar apcg max,strubturl`,b`clrmax tcstogj.

    Ioddcrcgt typcs ad sadtwlrc tcstogj>

    Sgot tcstogj

    Rkaec tcstogj

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    11/29

    bagtoguc

    Dugbtoagl` tcstogj

    Ogtcjrltoag tcstogj

    ]cjrcssoag tcstogj

    Rystck tcstogj

    @ali tcstogj

    Rtrcss tcstogj

    Vcrdarklgbc tcstogj

    Sscr lbbcptlgbc tcstogj M`lbe max tcstogj

    Zhotc max tcstogj

    L`phl tcstogj

    Mctl tcstogj

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    12/29

    RLKV@C AD YCRY BLRC LGI MSJ @ODC B_B@C

    Rlkp`c ad Ycst blsc>

    Ycst

    BlscOI

    Ycst Blsc

    Icsbroptoag

    Ogput

    Iltl

    Cxpcbtc

    i ]csu`t

    Ycst

    ]csu`t

    ]cklre

    s

    Muj @odc Byb`c> Yhcrc lrc sox phlscs ad Muj @odc

    byb`c.

    l. Gcwm. Lssojgci

    b. ]csa`vci

    i. Tcrodoci

    c. B`asci

    d. ]capcg

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    13/29

    Rlkp`c ad Muj >Muj Glkc> Lpp`obltoag brlsh ag b`obeogj thc RLTC muttag.

    Muj OI> (Ot wo`` mc lutakltobl``y brcltci my thc MSJ Yrlbeogj taa` agbc yau slvc thos muj)

    Lrcl Vlth> SRC]R kcgu 7 Gcw Sscrs

    Rcvcroty> Hojh (Hojh/kciouk/@aw)

    Vroaroty> Hojh (Hojh/kciouk/@aw)

    Lssojgci ta> Icvc`apcr-X

    ]cpartci My> _aur Glkc

    ]cpartci Ag> Iltc]clsag > Icdcbt

    Cgvoragkcgt>Zogiaws =662/R\@ Rcrvcr =663

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    14/29

    Muj ictlo`sbagtoguci

    Rcvcroty>Icsbromcs thc muj og tcrks ad dugbtoagl`oty.

    Vroaroty>Icsbromcs thc muj og tcrks ad bustakcr. Cx.

    Hojh Vroaroty lgi @aw Rcvcroty> Bakplgy `aja os gat prapcr`y iosp`lyci ag thcor wcmsotc.

    Hojh Vroaroty lgi Hojh Rcvcroty> Ruppasc yau lrc iaogj ag`ogc shappogj lgi do``ci plykcgtogdarkltoag, mut Ldtcr sumkottogj thc dark, yau jct l kcssljc `oec "Aricr hls mccg blgbc``ci."

    @aw Vroaroty lgi Hojh Rcvcroty> Od wc hlvc l typobl` sbcglroa og whobh thc lpp`obltoag jct brlshci,

    mut thlt sbcglroa cxosts rlrc`y. @aw Vroaroty lgi @aw Rcvcroty> Yhcrc os l kostlec `oec "_au hlvc rcjostcrci subbcss" ogstcli ad

    subbcssdu``y, subbcss os wrottcg.

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    15/29

    Zogiaws Lpp`obltoag Lutakltoag

    usogj ZHOYC Drlkcware

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    16/29

    Gcci dar Lutakltoag og lgy Zogiaws Lpp`obltoag

    ]cpctotovc lgi Ku`top`c lbtoags ls l plrt ad Dugbtoagl`

    tcstogj

    Vlrl``c` vcrodobltoags og thori plrty lpp`obltoags

    Vast cvcry icp`aykcgt og thc cgvoragkcgt, skaec tcsts ta

    hlvc hcl`th bhcbe.

    Yypc ad tcstogj tlses thlt lrc rautogc who`c iaogj Tcrodobltoags.

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    17/29

    Rakc `ojht ag ZHOYC Drlkcware

    Drlkcware dar lutakltogj robh b`ocgt lpp`obltoags mlsci ag

    Zog2=/Zog Darks/ZVD/ Ro`vcr`ojht, Nlvl p`ltdarks

    .GCY mlsci lgi iacs gat rcquorc thc usc ad lgy praproctlry sbroptogj

    `lgjuljcs

    Apcg Raurbc

    Bustak Bakklgis, Bustak Bagtra`s lgi pcrdarks bakp`cx lbtoags

    ad lgy wogiaws lpp`obltoag

    Ogtcjrltoag woth RC@CGOSK os hlss`c drcc

    Mrawsc dar karc http>//tcststlbe.jothum.oa/Zhotc/

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    18/29

    Bagt..

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    19/29

    Yokc dar l Icka!!!

    @cts hlvc l Icka!! Zoth

    \uagtrl Ra`utoags

    Bl`` Ss > +ogdaFquagtrlsa`utoags.bak

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    20/29

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    21/29

    Rakc `ojht ag Rc`cgouk

    Zcm tcstogj drlkcware

    ]ugs og l mrawscr

    HYK@ & Nlvl sbropt

    Apcg Raurbc

    Rc`cgouk os l ramust sct ad taa`s thlt supparts rlpoi icvc`apkcgt ad tcst lutakltoag

    dar wcm-mlsci lpp`obltoags.

    Rc`cgouk apcrltoags lrc hojh`y d`cxom`c, l``awogj klgy aptoags dar `abltogj SO

    c`ckcgts lgi bakplrogj cxpcbtci tcst rcsu`ts ljlogst lbtul` lpp`obltoag mchlvoar.

    j

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    22/29

    Rc`cgouk Dclturcs

    Rupparts Brass Mrawscr Ycstogj. Yhc Rc`cgouk tcsts blg mc rug ag ku`top`c mrawscrs.

    L``aws sbroptogj og scvcrl` `lgjuljcs `oec Nlvl, B#, VHV lgi Vythag.

    Lsscrtoag stltckcgts pravoic lg cddobocgt wly ad bakplrogj cxpcbtci lgi lbtul` rcsu`ts.

    Ogmuo`t rcpartogj kcbhlgosk.

    akc j agRc`cgouk(Bagtoguci)

    Rc`cgouk D`lvars

    Rc`cgouk OIC

    Rc`cgouk ]ckatc Bagtra`

    Rc`cgouk Zcmirovcrs

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    23/29

    Ku`top`c mrawscr suppart (supparts l`kast l`` mrawscrs)

    Clsc og Bustak Bagtra` Oicgtodobltoag

    Ycst p`lymlbe os vcry dlst.

    Tcry clsy ta jct yaur ogotol` tcsts ruggogj.

    Hojh`y og-muo`t ogtcrdlbc lgi Jaai wared`aw sogbc ot os

    vosom`c soic-my-soic woth yaur mrawscr.

    Ycst sbropt os clso`y rclilm`c/ugicrstlgilm`c

    Ycsts blg mc cxpartci og klgy ioddcrcgt prajrlkkogj lgjuljcs

    Rc`cgouks Livlgtljcs avcr athcr taa`s

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    24/29

    Bustak Bagtra`s oicgtodobltoag wls ioddobu`t

    Mrawscr bakpltomo`oty Ossucs.

    Yaa` tops wcrc gat rcbajgozci.

    Klogtlogogj thc sogj`c SO Klp wls l mot ioddobu`t.

    Dcw bagtra`s wcrc rcbajgozci ag thc mlsos ad

    baariogltcs ag thc mrawscr whobh os gat suppartogj aur

    sbropts ag ioddcrcgt sbrccg sozcs.

    Dcw Bakkag Bhl``cgjcs iurogj Lutakltoag

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    25/29

    Rtcps ta stlrt woth Rc`cgouk!

    Rc`cgouk ]ckatc Bagtra` (]B)

    Iawg`ali lgi lii YhaujhtZares.Rc`cgouk.Barc i`` ta B# sa`utoag

    Iawg`ali ]ug Rc`cgouk scrvcr og yaur systck

    Brcltc l tcst sbropt og B# lgi rug ot.

    http://seleniumhq.org/projects/remote-control/http://seleniumhq.org/about/platforms.htmlhttp://seleniumhq.org/about/platforms.htmlhttp://seleniumhq.org/about/platforms.htmlhttp://seleniumhq.org/about/platforms.htmlhttp://seleniumhq.org/about/platforms.htmlhttp://seleniumhq.org/about/platforms.htmlhttp://seleniumhq.org/projects/remote-control/
  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    26/29

    Agbc thc Rc`cgcsc sbropt os bagvcrtci ogta

    yaur prcdcrrci `lgjuljc yau blg rug thck

    usogj Rc`cgouk Rcrvcr.

    Dar ruggogj thc sbropt yau l`sa gcci thc

    b`ocgt irovcr dar thlt plrtobu`lr `lgjuljc.

    Rc`cgouk Ycst Lutakltoag Vrabcss

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    27/29

    Lgi Rakc @okotltoags

    Ga suppart dar httpsag Jaaj`c bhrakc og Rc`cgouk.

    Rc`cgouk os ag`y dar Zcm Ycst Lutakltoag

    Rakctokcs ossucs woth amncbt oicgtodobltoag

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    28/29

    \ucrocs/Rujjcstoags- @cts iosbuss

  • 8/12/2019 AutomationTesting on Selenium by Quontra Solutions

    29/29