You are on page 1of 272
TESTING BY NAGESWARA RAO KONARK xerox Behind HMDA, Ameerpet,Hyd.Cell;9949585888 Software institues material available AAR RRRARARARATATD SRELET ScL oP enccaitable programa’ ic oun Compuilier * slp application va Sie -pregacts— 4 ‘ 4a slo daveloped Por a specific customar j wt + thee dequiaemants then dhe slo Ts Collec! ay | opplication or prajeck. 3} A ste daveloped aed aaguitementa tn moxkb Py ke spo is cata on prtdeel + sh pati tr. Méet (customer aquinemerts . [ex: features [Ranctionalibies] 2..Heet customer amacchationa. Gey usabitil by [eompti ity | paw vhorrionse [Seeurt ty. [| Quolity assurance” Quality Gortrol(ae) To deleasre a pally so to cutter, an oagantgalion ts monitoring 5 mecsuining “the strength of Sy duvetepment i Prours. This chickup & called ox quality assurance. While shy davelopmant , an organization ts veliads each dulivevable for Correctness ¢, Completeness. this | volidation is cold os teating er @4. FISH Model:- 4 PIN:- CProduct or project tation vet) tin dowrnink -Conati propedal onal overall pln to davetop aimee Sho] BR i+ [ Business dequtremant Speiffeation |} Thi docomsnt Comrials of Complete «correct “Asqutnementt , to develop a> new s|We SRS t- [su oaguitemunt speci fieation] FAFA dowomant specifies the how “to develop a nuv | 8). Aves [itgh-lavet Design or Anchiteclral design] This documact provides owrall auhitechre of Sfo.fo| logemslic nolation. _}iepl- [ow- Level deatans| there doewnents specifiers tnkernal logic. of oven module, or birctionality . ta diag ramatic nolction . > HLp ta Scltwae evel & LID are module duel. , Soft Reviews- GL tra clesting clechnique to verily correcta x Complifenaat of document. Like 825 ses ,Hip ¢ L405 Dep’ s ? mo we 9, aA RRR RRR RAR BARAADRATAAT | a Programs — "A set el ereetobl stotimunk | Ontt esting :- A progam resting t6 called o& ontt dest 1 On thie leading destin on fpllewing white box “talis i a sesing Technique « x i Programa Pntrqrettion: - Fo form a HH medal atin Corsceptua) mapping inkelwenn SDLe 9, STLe. 30Lc ' ans ses MDRUDS — ichwadter, — Mecaplanet Raleay - . ae Heanee . “esting — i otal : ; " Ins * Ravi Revey Ravi OSE tenplimentation ‘Acciptonee Release “lente teat leatig wlesting “eal 4 we segs tg V ~ rnodel s— SIfeod 4 oe woxificabien validailion \ : v Acceplancs teating . ee ; ten Heating ie . Doteg cation tenting y LLD'S unit testing \ 7 i eV Slands Rr verthfeation t Voliclotion™ Ss Documents Jestng « is cold on ved ffeatinn = Unit, Datigration Sho, Acceptance , Blase & Changes Heaking Ta called a4 dynamic derding oF tallclatinn q 2 Dosirrentis lusting, Unit testing t Dabigraition ting On Conduxcting by davelopers. Cc — Systm denting 14 Concurcting. by testing team it > Aceplone esting te candasting by prsjeck management € totth Tnvolvement & developer, deabich % Customers ‘ Se peopl . a > Few, divelopara a, lester formed at Adlease ram. To | l¢ velease Slo In tuttomer sit’, : ee 70 teak Jo changer in matntanane pieject, eonagemen r tan term CEB (Change control board.) stth hus “Aiveloperis Cc 4 testers. Cc ra Developers. ane Conduscting — unit tesling on programs c tort LED's. . Se = ; , Cc a ected are conducting integration Alin ° i Prog rasa tntirconnections w.rk HLD. dus to Wg i Puasa Lnbgtation dexling calac known oA intiqfoce ¢ ( ¢ aeotee) ( = ( a ( § sk i= Aesling Heating iG RG - 4. sve l? = Systirn tenticg cordvcting by dealing team Ot \ Ses aD oumed Terling Pte Completion of Project. initiadion spre proces? « Starla HS sagucaemants gethering. Dai thin Alage busines ¢ Gnalyst f grhering paquiraments fron Asal Cust omer € -| in applicol ~ davelopmenk. & tA grhsring aqecrement, C | From medulf customars . tn product clevelopment. Em his loge C | busines & gst daliveré 62S. or ORS or tes ( a i | After Canpleltion of BRS preparation Corresponding C "businesses alyst te Saxierstng she document for complehas % Cc Cc completion OP BRS Seaview and changes , Correapondin Cu nabiget Avomits B25 to Ayslro a Leste ; C ¢ sR by oA C 6A ¢ Addition of lor : “00 AA stew | Te Nonfunckioa! angutiemnts ¢ phat 7 Scren 14 wder- fete . ( ; Ron on Nindows 4 Unus | ( How 7 + i eed Ke above diagram ses th “ClasiPied trl fonctions). pulsemate ron. Purctienal re qucrementa , Aber Compl om of SES preparation Corresponding Sof bon anlyst ts F Awviewing that sas Br complelencas Crcrectrian Apisr complsion oF Ses. puview & chergus, Syn | arabgst Avbmits ses cto. -lechniea! arctificl 6r Bh | deaigeer, lo prepare Mgh wel dasign % lew Level, dusigns: Here HLO Specifies overall arckileclore of g € ae, . | € ete for HL: . 1 € c Var € ne Greate [eet Node’) « See 1S a NS - Alera Ctogouk) [lal rode - f Plaaf node] c Here LD ib Aperifing interno} bagie of Corresspencs Cc Module or tone Honality LE C joc SG Fe + € ee ¢ ( a One projet or prodsct Consiels 4 One HLD g ,. ¢ rrulhiple LoS Abe Complation gr design the Gorregoding Aechetcad anebilecl ts Aaviewiig design dotumenty fax Completencrr correclnons AAO ~ A ARR A a RARRAAA walkthroughs i Reviews 9 Snapection Peer previews : 37 above reviews BAS, $25 4 HDX LLD's 4 Corresponding peo ple Following below Aeview Tech ntgases | Math threvghs:— Bldg 2 davmenl from Fteat to last for | | Completiness 4 Correctness . Drspections .-. Searching @ Specific fodor ta document Peer, Bayiews:- the comparision oP -wo' Alimilar documents Point - point Lor Compledensts ty Corractnas’ . WE: Ontt testing: - , Alter completion of docomenhs Dav lews | preqrammers are . Preparation, _ : "§ coding or Emplamurtat Bo hia Alage Programmers — ase toatting programs rlenting fram by vatng Loli - Lox Healing Ficknigues. Thane techniques axe also Oper-box or Cha, laA% box ‘ bof leaking ichniguer . Program kroton aa —> Basie pate dertng > Contre! Atructure esting = Program dechnique derting => Hotobion ~ -bateg 7 ee L MUSt. bon eating @% Basie pathr Coverage > — bbketler a program 1 Runaug Ono Ber net : no. af pall ot 'P (arb) oe a egelonatc tS _ | Comple nitty = 2» 5 ‘ Pro dioqram 4 a a 4 @) Contre) Abructure. ‘ shrvctur Coverage :— Whebhee & program ix Correctty MM Puontng ot not. various - <> [Pam] _s a dorceet g (© program © bathe Coverage bkeather a program és tuoning te forty ol rot C performance) , a calculate ~ peafermance of a program, Programmers Oat vnieg Sore, testing tools . Bx BIL fear java code. gy Nenit for ~ Neb cai > ex. Different lagie for swooping. 0.2 10 \ aslo b>20 br20 cra asath shy 5 bea-b eo aza-b. Det a,b Pri O.b- > High performance > low performance but doke cctro. memory . aimes ip Cover oll” poths os ay RAR RR RA RAR OA OANA TIIIDD See eGoaeeaaa2>- Do obeve Ochieve high tests Bs Tatgration tat |= te ee %& CorrecknarAs Aber Completion of relettad programs Unit leit; Id) ulead coverage tenting ad Incomplete. ex. programmer can use Peat logic to Performance . Release Pased ‘(Locomplete stealing) Motes Plt 3 wohife-box tidiniques tan be applid | on programa to test Br comphatensas te The footy dachniguea bs used Lo eal \ . ‘MMler completion of above three lypes of tests on a Program Programmers ill Change programs and sepeot | Previounly passed eats. df depeotd ert esas foilecs paogrommer Can called esling bas complefe me - Reterts Ccomplete teitig ) ‘ & Correctnara . enale Complobenses ef eating on program Programmers as. Ceneenrtrating on Progra tom Ontt testing ‘nlp preyon Dotgedbion rting ac _tntgration of Shope pregron “There one 4 approaches tn. prego Tntagacilion . fp. he form a Stu build : . |: a) Top-dewo oppreoch1- The Tatigralion of lop cmaduls wit bette moduler fA called as -bop-down approach . Here progr aa ening emporaay programas | tnatead 4 Some vader li Comtructive sub modules. These temporary prograsms colts Qs Stobs, | Sess ( ses ‘ 5) Gallo UP approach: ~ the trtignation of sub modules Woh uk fovolvemant of under Gonstroctive matin real, w ts calhd as botlom - ep approach. Here a clernporany ‘eV Program ia Acplacieg main module, calud as driver ED diver 4 J Ce T 3 Tstigratien co Adheration tati @ohute 2) aigeien 3 : sk A NR RR RRR AR ABDOAARAAAIDN S we Q t ( ( ( ( C C Cc € € ci « ) | @ Hybatd Appreach : — The Combination 4 -bp- down @ [> botlon up approaches ts called. os hybsid oppreach ox . 1) Samd-pidth —approash « 4 7 mabaka) (under Construction) | ® | datver | etigredon |g Setigration undiur - Construction) & Sypben _opprecch s— From hit approach, programmers ats Starling inten {programa of complition of te0*/, of codisg. Dus to Hrs j Arason daiver q slob Concept fa not Coming To in approach. This approach fs alao known as Big- Bang opproack wv Systion esting : ~ oF So Testing «- thin Slip build fs Aeody after intigration % fntigralien (testing , testing team te alarting sho of syttirn testing ( i ( Phase. This phate Classified eto 1. Punetfonal fisting a, Non- functional Lictting Ponelional ting fy validating “SJ Wir.k Customee (Lo atqadiaements . rbn- functional Healing 7 volideing sh, Word curlomir expectations Lhe user “piedty Compatability, Security. ss 1 Performan, Y Functionat lenting:- The —imnpoatant. ‘pert OF Sjis Aleating Ay onitional tating, Dur do dha guoten, a Aeparalt -leiling tom Aa volideling so bulld 64 so Cudlomar raqutremertia , There ore some Aub bale in functional Beating | 2 Bekaviourat [corel flow Lesting dn thie aloge, testir con check Plow of operation’ in CorreApencding Shia Under eating (sed (8) Input domatin tenting: ' : To thi Aldge ,lestirs Con check Sige and Lupe of Jin Correaponding sur 9 Brer handling eating: < . In Ania atoge, testers can opera sin to get error mun rages Wo torerg manner 2) ronipulaliona: Tuatiog : ~ To Abie stage lestiva con validate Correct nets 4 each | Toputa | we, operation putpub xn sot 4 ) Patabose Tubing + 7 Ta hia Alage vleatra can eck the correctnesa of operations “impact on backend dofabasre in terns 4 data vabidetven ard dato frontend insgaity S AAR A RAPA RR AABRARTABAIDADADYD —> facnterd. and backend name+ oN no need +o be WHh Some rome a,b,c, 8 dea Ping ‘ae Said Jo be tent end esting. Tn above -forctional fating topick ake Linat four topics | sulatia to frontend festing ond fast bpic relatid te backend | jesting, | — lend. i Srontend Gackend t F - ~ Behavioural eating | ~ Dedabare Rating. . = Fnputa -doroin “eating i = Error handling eating : - Hanipulations eating | a) oe Ponetional gating t~ 7 Atte ke Complabion ek Sonctiena? Texting she corresponding ' Seating team iA Concentrating, on nen functional! stactding te volliidle SJuy Wer 4o -curtlomur expectations ) Uigkililihy leatings~ In thin Alage leatirs con cheek user friend nats A 207 ~ cary to we : @x: UndsrAlandabl. Sereant 7 4 — leek 4 feet ex: colour, Lent alge. fA friendly - sped Jin caw ged iors 7 Sx + Short navigation 7 ¥) Cempatariory 4205109 +~ . Th this sloge « Jeatera dan -chicl thot whether our SUT F Hill see on vasious plotlerms. -or | ret 7 Here pletform’ rmuans. thot os, brovsrer and ether Sytem Soblwares. chip Compatability lexting ‘olde hroisn os portability hating, > c (© Configuration terdiog : - oo In Ania aloge , leabuace con chich shat whither cur sw iA C boerking with verious types of bho Genkigurations or not 2 ex: € ‘ Verrioun byper of prictica , nelworks(Lan's) ard olher lw chvied This eating fa olde knoton as bly Compote tty -leating. ¢ Lane : o “C ee Ea |* 7 or = stor, 1 € CPG -€ D Adlersy stn leding: |son (service onientd Application ) Testing [ee _ ~~. le ( Tn nia Alage , oun Slo a Aboring resoura’ o ancthar A SJus to Complatz crantoctions. Here txtr can Chech Correctness > a each end-to-end ramactions . i FC Sut ( Here ovr sur iA toorkiine with ovr D® and alto working with : Other 08 1A Said to be aemoti | : Ofer : Sho | Tr above dingram 3uT it Connecting to Seumeb. oe of Other: 8fua to’ Ahore dota. Thin Sobrayetives desting. i& alto Lnown| | on Interoperable esting End —ts — ena eating (or) web Aeriud seating. Here suT q other sly are tuo ebsikis, “| 9 Performance Teating i ~ Tn TRA alage destics con check,” peid In SUT. Here ealrA can-operati shy in betow wage | easing ~ Procenaing * a | > Ron Sut. Under customer expected Configuration ard cuttqmer | expectsd oad (Ne.cf vaera) -fo colewlat “speed in processing” gallid ‘a8 “lood toiling: ( C ¢ c , 7 cr Ron 801 “Under curlomer expecta Conkquaction and moss ‘than C Cc € ¢ i oe [customer expec Configuration and ~ aebbility” colled as Shes eating. & TNO SUT onder ustomer expected Conbiguration and tustomer _expectid load Continue : . fecha foscl Confimutiliy ly eatin Jngiy ily cat (ak endurance derting, CD Metilangedty Tealg ( Tr Anis Alage leatirs con chech suT worth, vaakour ( Processor Aupportid languages (Unicode) lia Sponiah i Q hi, Conteris esccae) Sor i foo) | oPRMAE| Globaligedien i a ee Oyen A Jopante 1 on | __ Franch yr tocaligsion @ Tete veleme seating Th tia ato extra can-chiclethe copact shlokase fa set rthis -kating in alae Known aa memory cteating (or) Copouty seating onten windasa -bated Sur (Two -Tier Applicali sn -Frortend % De) acoporily of PB “in thi clolo veleme tasting jdaira are inserting modal chia Sinko delebare sut ontit dotalsaie vivlelion error to calulate capacity of De. .) Seuoiy Teating In windowr — based on web - oa mmol rer Sftos , Seurthy SA a mandetory faclor +o present unauthorized access. —> Arthorigation eating : Dhelhur a urer iA valid or notihia is alto lanown os Authenticstion esting . > Access Cortro) ‘legking :- tshtker a valid user have permission 7 er no — Apectic - fone ionality ? > Eneryelion | Decryption teating : theta eneryption | decryption ProusA W& Daliobde om “net Ee? tO n€ c¢ 1o€ 4€ ~ aa fe ge raat eee —lelienk ganver |-——— iP ; Paqueak ) = orginal Reoprak toe en : * Brporne { TO, Decryption \ | ee bey Decryption : Le ( : Cipher lest | ; Heli Tn obeve Accanily -fexting, genera) feasting teama art terering authorigation ‘and access Camdrol testing topic’, but te. ( a& Ciodssck encryption | decryption texting , ocgonigatient’ one Fre Azporaki duvelopers and dersbrs called at &-tnuk. © yFpadettedion Teibing » € Se Sim gensro’ windews based go's are ‘nslolting af Client © machina and. web-boied sho ore Yntlalling al Aerver mocking. © Dasto FA oaaton lesting tam ix checking Snvdoticlivn | : : j ©} Process of ony SUT. { ‘ wy “selup” progam exradien ~t0| « Arot inatatiation | om 5 for \_yéary intislaee sohibe. Tnalaltation | «(supports | [allatien. rh ? ef interface 1 fnwloliation | sls Jeoccupied marmory aftr i ‘ ° a \ eralgitation « i S 5) Poralle! Testing: \ In ana Mage testing trans 14 Comparing ovr soT wth \ C vericv, veraions(or) wrth Similar s)yy le Jeentty weckneba ond Alrengtivn. This cleating ald Known as Compaétientine esting or Comparision -leabing- | rT a Abbr Completion of agstio eating , the project maragemant JA Concentrating on acceptances letting —lp catlack fucttack from real Customers and. medal customers. Ta dhid -acceplance testing , developers ard teitira ore alto involving Ao Corviente, “ cawtomers. there ore woo ways Sn acceptance -ferting Auch as a testing and p-testing A -Teating Bp izgttio pauitalle for applications — suites for product a steonducting by Real customars| Conducting by. moda) customer sits Sidi people in davelopmant sit | —-people fh thein sik » “>Direck Savolvement of => onlin “nvelvament of davelopert Guveloperé yclestrs with aeal | ord Jeatica i possible With Customer Aiki people model customurs « the Combinction 4 a-teat Bleak “fs called as Y-deat (Here dove Lime feedback iA needadl) Gi Release Texting « Alber Complibion of acceptance esting and Frain changes Project management Ja concentrating an. sje aalease « Here preyoe Monoger will forme dulease leon’ Cer} ontits, kam, With feo AR ARR FRA BMARADAAATATAD davelopers , ew Aesttara fer hho exginatrA ond one dulivery Monoger hor had “this team will Ge to curtomer site and sload slus ‘inalotiction in coomes Ait flere jleaticn to suleare ean are chaerving below faust io hed customer Ai. > Complete inslollodian = overt functionality input davies herding ee ARARAAAS —> oulpuk “devices hondling [on: Honitor, Printer.) —. Setendory Atoroge. devices harsdting (#4 Pondaive cad edaive ) 5 Co-entatante toith. 05, : > Co. éxistonn with otter Slw'S 4 share resoures Afr Completion of above obrervotions In customera sik, releate ham pill provide Hoining section to end-users (9 Curfomer AIK people. and tren grleate Jeam back to ergonigatin Th Hointanente ating fevpport a Afr complstion’ of s,, aelease ond orer training , project management is “forming mainlonce team with fer, developers , few Batra. ond project manogemunt people . his cham iA olto }knewn as Change Contre! Beard cea) . This team ia prosing shoo Ayres of support -b. customers. (Whar curlomer gaking” nsw vepioemant Le Aaid -b be enhentemint and money’ will be Ported to our Cormpo.ray From he Customers . Gat in Corrective | mointance. the rronay Will Pot be paige te ov Company. teas | testi, hot mitted the defect and .tdertified the mistake by the turtomey . Slo change Request (see) __(Enhoncement) Hidsed date ct) 1d mpas ia . . Dmpact iA mpact anol! ; 7 one ferlorn dl fo Sh ake rin coe ele Gta or STeat Su Changes i Release Patch (+o euttomar shy (extra oddid codt) enhancement Mainlananes shy kuild from davelopers , Teak Fant eng) > haa) “Teak Abelgy est plan “ash eases by PH by deat bod by Hester Hoe deat hod © Bill Corduckth ¢ riiew iA said Ho ba de elatn, red Sheol Reporting “io davetoper Syatirn clesting procera Initiolty slarka with teat initiation fox that a teat Arotigy was prepard by PM ond la given to deat Lead and then test Jeol preparer a plan for cleaticg Called “as steak planning and is given stp. teatir. Mew the ecttir on He basic of SRG he will duvelap fest cores pr eoeh Module cotd as deat design offer that er tie frat Hime 4, build Wor teleaied fog davelo pera % Ye deatir pitt do cuuilion Af any dafick Ja found by. them, then they sill Aencl a “leat suport to davelepers then the davelopers fi the problem and aleose the modified — Sluy for exaution again the modified shy 3A artestid by Using & & Regresaion eating unlit he Slop budll Pasred ail the testa and then he lest Liod sill Gonduch dhe review so that deat 7 o Thet the testing GA cloged gt the dest closure, eit ao oke 6 Ol mS olois. “ d 5) Systicn Test “Toidiation / teat Ta gerarol Aapthien Gling process Starks wrt test falbiction tn His retage Pagject manager on that reareager sort par pore teak strategy document. This document ix abso haown as lest matrodslegy Re ov teat approrch. whi preparing teat sholigy, prgjact marager on a 2 . lest marague Te depending’ on sap Customer mA ~~ aA bidding “> Bex product PIN (overall plan) be : eas ee o Ses y Projeck plan Developers dterstire Design (ued $ D's) core fat Tailistion t . ah — coding & Unit esting Safin fost porning 4 ho gration ¢ Tekigmbion Syriana “kil dusign “testing i Slo build | + Text execution Teak se a ie test clowns ay a) aaa cesting She » tea & Release betting J Noinlana & Test Slo Changes. Poem “na que press cgi eg pe oy “hed Bes wat baselined (Fadliged } ready to use), Buk Aysion - Aest emintion tll bg stiwn Stark ahaa Sfuy baild “vans aaodly t ay deveto parks = The Fteal docoment dn syptim dedling prota te © deat Atvatigy this decumeak difina auquind esting appreoch C Ao be fettowed by teat. Tn generat, project manager ot c deal manoger can follow LEEE B99 formal. to preps -€ Anat atratigg L899 dealing decoment format c B30 develop ~ 4 -€ Teak, dvatigy docoment [Seee 824] c 7 aaa a c "Sop objective s— the tmportance of texting ta ee projech of 2. Businus % - m —fo tng tn - ; eae Su Budget oltecstion for leaking Ts tment ae TUE Bat em. —> Project coat 4€ 9 Cc but 36] ( (Development & (system esting) Fi mainlance) etwesn ae Aetporaibi Luby Halvta(-tasi): — Liat out Ayton Galing —lpies co wk eommanti D¢ Sy 19 “testing “bpics Yes|at0 : Froctienad asking Yes Me Vrobility testing Yes i Compatebilis torttng | _ 2 ' Configurclion testing Fie Now Hf Aqeemert : 5 th current projec Performance turbny | 5 i | natded , bul 0 vesnrces +) Roles .¢, Responsibilities ¢- Ltt of roles tr teakng team Bea fi Garant project ¢ aedponsibilities’ of each ole . oa Rot Responsibilities C4 Sat baad aurile deat plan Gr — Co.ordind with team ( = Conduucl Awiew. € Senior texte > wouite desk cones i ( 260 -Ordinale iH jumion este, C — Report dhecta . eh c The Sequined negotiations tn belwean eve -hoo doles fy C testing tram, : 7 © 9 Tet automation and teating tool: - " c The nese of automation Pn ty Project % available 0 bexting tools to ow Company | i a Defect pore & “tracking a ; he atgpabue eticdion th belwesn develpera % Jeitens f when dict toa food In fasting - ; 1 2) Testing muonuments 4 medriog - a. The List of meateramenti & metrics do Aight dime gx: 5 dfecta dateti — por dow (s hoves) 30 teat cases LorPlen pe dog finish “ealmg in ®) Righe ant omumpems — ae ¢ Ris indicate a futior problem: Here padject manger Can List out expectid aishs elid to resting. ord assormption t 18) “Tagtatog plan: — Schedule fer training on prcject Augeianmentt ¢ to teak fag fam “ te pvertome Ham 360 » Conlsigragitien Honapertenk: - “Specifies locition fr Server -lo store alt eating daliverables 5 Server « ‘ -c : RC i = K€ Cc i Xe T > oer so 2 = « Developers “Testers. > ou Bi Test planning -— . po , | Alfar completion of “eat steabgy pusportlion by prejech jas € manoger, te correaponding seat Lead will take the tea Moabgy skin parpare @ dutaid teak Plow: toi | Preport dest plan , tert leod will atodg SRS, Project pl» ang test atrotigy. Alter slody Ob, seqpitnd locoment sly ( dest Sead wrt follow bebew process {~ dat planing _ | @ Teabing eam forméton » Bn genera) ~ deat planning prowss starts with testing eee mg formation. Dn thid. Aroge lest ead depends on beleio actors © > Sige oP project. fax. No . of foretionalities] C Availability of testers on the bench i (> Avoilable est durotion . | > Aollabllity of resources (ee. testing ools)] ce Depends 07 above four Laclors, test fect worn form Fes fam . Cage Study: ~ o Type oP project t Developers V5 -lerkrs [| Sepecid eit duseition , a C ( ¢ € € CBee, ceP, windoios: : Co" based projets | : B-o & months. © | Syston Softwares » - (ee : yer : + 4o q ronths. | Srbedded Soft pores ‘ } Cc. AsliLida) fnblligence » : te : ; a 18 -lo 15 rronths { Ipadine taitical Gay 1 ( Ba: Robvetics ,Sollalites > ( DTdeghity tackicad sahs : ( Altir completion canting tears Lormetion Lut wt fductif | toctivol Aisha will Come to pote eating &x Risk: Lach of domain Knowledge Ho testirs 4 Risk a: Lach of tire. t- Riok a+ Lach ef Astourrte( tx testing cools) Risk 4: Lach of decumertotion Yo understand Asquivements Risk: lack of davetoprent process Aeviousness en Clee ey rr Rtsk-a 1 Lack of Communicdlion to testins . D Teak pag wategs- . Afir Congetion of fam fosmation Stuy 825 do understand vugpittementt fh caren project, > Extablish Jest enviaonmant offer writing tub cos/s => Reeetve sla biild fom dewelopers - ne Ysuepension Crtirio:— flo hereph testing | <> Najon difect datectid in corruct project [Shot stopper, <> Teat environment abondid. (ex: Compulic poblu} 7 Here difects aus tn pending indavetopment Aide [1g ett aibdes— te slap baling. a | sal Bercectes tentid . > Time enudded’ —> AM majoa defects find. by. duetopers {)ID Fea deliverables: — Liat of documenta to be prepared by festive fn testing. = fr: Teak Stencrlas, Test cares, Adomotien lest sev tphs, defect aepork and Alodus reports / eae ee : a a) Sto? ard training naads airs _ Nornes of testers Tre eee bench) and trating as Pirednle $04 am . on, pasjeck aaapsizemerts Bat Troining provided by SMe [Subject mortar expert] or * trading provjdad by Dusinats asalyst « | “ I ‘ —> Sot. - transitions: to Apeeity Ftow. of operations es Tunesionas npecepenuion = da an Trsuranct applicalfen tha used are’ Selecting dt punt Hypes oh frnurana polisies . of you select | “hype A fraorance Hhin O0r Sfib” aka ‘age . Here age Fielet Volue Ahould be grealir than 18 years 4 Abould be las than 60 yoo. Parepore cleat Scenario, Teak sunadic 1: ventfy Type -A Ensorance. poling selection. Br vealfy fou do age. when Aype-A Enausance toad selecty! 2 Ventfy age Fiald - eva Range) ‘ min = 14 LS Nekid Risen Wax. — 64 — vakidd Reson mine) = 18 — Yr, faild mins! —20 — Passed max -1 - 58 = Pasred * crov+ 1 — 60 — Failed cP (type) Nolid Savolid alphabets fn upper ¢, lower cae Special chors, Blank Pretd . Functionad Spodifiation-3 3m on embedded Sly a’ door te opened ‘then Persor comes lo tafront of Ate oleor and 4h.’ door tA clesed when person nent to trttde , \ FR SS A RRR RFRA RA ADA TATION ov 7 oO Teak scenarios: ~ 7 : VentRy deor open opesation g- OY Deal table dl Feat Serato a: — . vats dae lane opvatin:~ Dateien tabhe s— vv v Hf] cudside Rerwad duciniors dun to repetition Joy wating orthogonal ory Verity door oper ard close operabions when person fa Abandiig at middle of the cheors = Functional Apedig cation - 4 Sn an onltne® banking Sly Users ore Conneching to bork perver thresh a legin proceas, Sn hia login Unser can | fil belo Etetds, I Beepurk ne, prakix. [3 Latta no] but dlocs mob slct with _ 2 Acceont no. Soblin - b digits 7° 1) Passwerd 4 digits re: Ana code — 3 Aigtla no, bat P+. 44 optfonat yo D perpose — cheque depot! money tramler, min? slatiment and bills poy Prepare tak Acenaates “Teat Acerarfo 1; _ Verily account rp. pret @vA:- (Sige) min — 3 digit, — passed ran - % Aight, — min -1 - B digits — foiled metal - 4 digits failed op (+y pe) Tinumaricn , but -Ptrat pertan Adphabels ‘in both cies does nok allow O % a Special chars (3-9) fo) (0-4), Eger ofa} U9) [a-g A-z] (argulor expression)” Feat acenarfo-9:_ ventty account a0. soffiar — Bva (iae) min= man = 6 digits Number — Passed min-l 26 digits » foiled minty 24 digity . Soild Ecp: (Cype) Votigl Tnvahiol (0-4) f 6% alphabets Special chang emply Pets a4 AR RAAR AR ABRAANARAAADAN ARARAAR AAO Test Scenarios Bby puwerd Aad - BVA (Sige): > min = ran = 4 digits = Paibed min | = Bdigita ~ failed Minti ~ Sdigita . Ladle . Ecp (4ype) Volid fo-9] te] Tavalid alphokels fy both cues Spitial hors Blank, Lietds Feat Seenanfo~4 + — verthy case cede Bretds ~ Bva (Sige): ~ min = max = 3 digits — passed min-y 2 2a digits — faileck mint! =4 digits — Failed . Eepl type] valid Lrtabia [o-4] §33 alphobels Blank Lield Apedal chara . Desk Seanorte 5 1— Veathy purpose Aetectfon dike cheque deposit or monty trantten or mint Alatement or bills poy. Tat Acenarto ~¢ vert login operotion +o connect to bank Aerver, area Expected oubcome volid Connect to Server Blonh feta Connect lo server: Ang ont tnvolid Velta/ Error rnag. Blank frei All ase valid Drvelid Error msg Ang one .blankffetd vobd [elorkfield Error msg Aleks White functiono! test design , testers, one vaing Aguiar exprerafons as optional “Ln general Bagulas expressions are Vaed to modeh with a rie of Nobu, Des-to his Atoson , teativs ane vaing Fh aagular expressions Ao Apecity expecta ype of fields tn ecp. £2 — one postfon [o-d] - one dig?t fo-a) = one choractir in lower coue, [a -z] - one character Sy upper cose [a-a A-d)- ont chawhractir fn lower or upper case [a-a][A-2] - Fret character as lower case and Seco Charrchy os opper care a a Specifges no-9f postions (o-a} {4} - numerics with 4 digite ony (0-4) {2,43 - Tivo digits -to ovr digits number. (o-a) fa} - Alo digits to. on Co-a) [a 4- Min. 4 digits 4o seoite digits (0-9) + = One digit be toftnile number ~aAARRD AA ARR FRR ABRNSA [e-a}# —> No digth to tnfithe digit number, [o-a)2 -> He digit Or One digit number, od [act fond} — Fiést char upper char qidor 14 m0 a more (ower Core (a-a)la-ale — Firak chor upper care 4 aM lax fA one ot maze lowe cose. [ran \la-3) & — stark with Ron § ec) H and Ran 0 OF Moar lower case Functional Specification Da a shopping applecatfon veers ore applying bor aflrenk stype terms purchase orders. Bung purchote. order re allowing vAersa do exter item number and qhentity. Here Gdern number t4 a glow four digits qumber 9th" TE", for ex. THO*’, da an Hern number , Quowrtity A allowing upto. io Prepare test Scenarios fe atove purchase citer cascttion . Fest Scenario :— jer oe Vestly Hem comer fd s— ByA (sige) | Positions min = Naxs 5%: passed Hin-y a4 2 failed Hintt = 6 + Pail ecp: Gye) Sac e | Alphas axeaph | Blank feutde Special clos. Es} fe-a}is | Fost Scenario - 2 Westy partly edt [Raye] 2 bua (range) min.— — Passed max - Jo — Passed min-120 ~ Pails min t= 2% — Patted mare = 7 passed Max +i=M - Pailed Lavolia Fort seenarto_3 Vests porchoge onler operslion Dectston lobhe:- Frelda outcome All are valid purchase order erratid Any one. tnvalid Error msq. Ary one bilan frotd eee ns Nok:- Te aternoti moar than one ngelor expreséion, We can uae pipe fi’). ex: (Reguhr ony) | (Logelar expe) ma ARR ARR RRR BAAAAaAAATITITD : f renetiqnal Spetiprection 6, — 2 a Lbroay rroragement s/ fon” regtatration ~b get reader 7 Process, Seacerr tan fen below pres ! I | D Reader name — al phitt oi, | Jo Atadkers oe “apply! Dn Hh agit ction Woftenp as sigh. Word. in Ong Cate ai one oA more \ords Hf oveflable (valid tn Dactta 9) city mame — olphabett 3) Telephone no 4) Stale — Fy og more Characling fn Upper cote | After f filling above feta UseA Can clic Ghd han” pyr “id aeturns, Reader P - Fem — yy Xxx + , k agit.” bites’ Ta in below “format. ny month year a digit number , “Teak Seanario 1: = etfs auadar name: — ‘Bva (Sige): — min =) thar ~ Rassect Max 2356 char — pass _ en puy — Pailegt min y= mintt=8 — Passed mat -1 2853 _ paysoy mont) 2asy - foiled Ecp (lyre) (a- 2) foxy Aumont a2 faa 299 Spectal chara je leat “Scenarro & 7 Vesthey hy Name: — BvAs- mine! — pasted = mans 856 — Posted min-!>0- Blank fold + failed mint) 22 - Passed rrox-1 = 255 — Posed max 1 = 35% — failed . cp (type) + - Nala \Prval ted (fa a-a}+{ 32 [a-d) alg) nomarics SL TL) UnG | Spetial chara encapt blank apace Blank frela.. oy ARR RAR RRR AAARADDAAAADND wn Ca-ga-a) [ta-2 a-a)4( Jj 144 “Test Stenorio 3 Ney “lelephone ne. file: - Bya (Sige) t= ~ min to digtls — Passed mox - 1adigifs — Passed min-\-49 aligi ts per eeiled) ming) —i digit — Passed man Ve Ip digits -— max ti. 13 digita Foiled Ecp (4ype) ae Fovelic [0-4 fron} alphabets Specid chovockirs Blank etd ~ nA ~AAR ARTA ARS | Test Stenaato-4 Verily stati: frei: BVA (si: ie) te o ae Min 2 actovaitins = passed \ How = 256 6 > Podsecd i Hinete tn. + faiked Hintt 23 Passect Mar-| 2a65 4 7 " Nox t1 +354 ., oe ep (Agpe) - Valid Prvelig [a2 Ya,aset _ * Alphabets ‘in lower cate Blank feta Test Seenanio 51 pedal chars, nla Ve Ver?hy “saginhation operslion grebic register button ‘Decaton lob. :— HondHory Pied A All ore walla All ax valid Ang one “invalid All ane vabid Anveltd Any one blanfeta Vib dlsianib sg “Regt Stanario-¢-— Verthy format of Mader Dd aft, auceetabadl dagtatvabion BVA (sige): - : ce Bs min > man 2 10 posthions . Passed min-) 2 9. failed mings =. baila BOP btyped?— : oe Nol? Drvalid (ety (car 2D) tea Alphabets, Special char except — (oe 2] Cedgo-9 Le Blank field . B Ue-coses based test ds Tn some emanigations paojeck management os providia, VAecatas ‘insted of fonctional specifications in Ses. do Gererat vae-coses are more elaborctive BRs han fonction apeufiot to understand customer sagetinemand. Conaratty lest marogement | Atyuived Vaecases when project aquirements are’ Complet “Pk project @ wor outsourud (developed By. another Company) [> ale codes srs (FRs +NeRs) _ Beatga L ' L ot aa build VAcectase y Nh Ukecase Td + Ue LOIN 2. Deacriptten x ou sf allows vsers 1 Suceesstat login. 3. Actors : Cher fA allows olplanumerics tm lowercase fom 4a Mb chars tong , Rassrword allows alphabets in lowercase 4. Aelive fou» serarios Teak coset a a Fonctional testing © access offer A valid vaser Consist of User id fassword , Here rom 4-8 chars toy, ‘ws 0 ay a ~ AR RRR ARR RA OAAABRAADG « : Eventa Adtivat “login “window” Erle Var Id > enter i Posadord ~ click “ok” | 6s Pre. Conditions. “Expectd outcome For valid dota, next windloio appear for tnvalid , date, Error msg Ofpeas: Behore login mw users ore ragishrin userid & pad 3 3 3 . &. post Conditions: ~ Attn logn, valid User Cort logout of end @. Alternotive Svanksi— Now to. Relokd Une cas Prepare deat scenorfos . Teak seerarto 12 Verity werta ftad 1 GVA (Sige) Nin —&y chans — Pated Han -16 chavd — fossed ris 1-3 chara - foiled mata g) - 5 Chads - Parked + uae tag Activity Horo diagram +- - US REGISTER , UC — LOGOUT max—] —15 thors — paked Max gt - 1% Clors — fold. _ ECP (type) ~ Valid ~ [a-aQ 14164 “Tagt Seenavio 2. verthy porsicord field - BVA o tn uy) = fossed maz-8 —pused min-.- a - foikd mints - 9 -foided Ecp i= Valid faa} fu, 2) “Feat Senario 3; - “De Veathy logtn operabion Dectsfon tole : = User td Paraword volid volid volia & favalid Davelid valial volun blank fed Blank field Volue Test Scenorto 4:- Verthy cancel button operctlien to close ikndow ok ony Decision able: - Fleas Ali ore web filed Boms. field onky fated 5 Ail felda om emply Dovel Upper case chars , Special charg , Blank: field mox-) + #— pated matt = F - fila Lrvetid Upper case, ars ;-speutal ohaxs blank fed. aftr ctith “on” butters outcome next usfhtlow * Error eae Error msg me. enpectid outcome window closed : a : == o AAA RAR RAR AAAAAATS = Use Case 2i~ }. Usecaae Id: UC. Bool. Dssve _ a. Descréptfon. This use cose Ts dssortbing book Masut. operation te Lobarany moragement Sho | (> Aclora : Valid Suodir by Ligible fer loooh tase than thok | book f% avaflabl tn Lisbrory. Here onader tL fs fo “pnt -yy— ween” foramab ond book Td ts tn “Book. tax” foamab. 4. Pre Conditimsa: the ssoder ts alco wegiabred ond | Corres ponding book, Rnfpameition ta aaa freed. - 15. Aativitty frase? E RyventA os ey gxpectd outcome Entir rsoder id—> Bich “go” | For volid suader, Sli jour book Td butt. fPald for Envalid oeoder, Srror “4 appeors.. Poa avotioble book Enter book td —> dPek™ go” 1 Book Camusct ” button msg oppeara. For unaveilobhe beak, “ Sorry" Bool was Paaurd : Oppeara . For waong looole Fe “error om appeers” 6. Poat Conditfers:- Jk atoder fd = book fd are val’d ad book f avafloble than the Corresponding rodr will gets Unk -to dovnload Het broek. rth Licence (Part fime) = Adtivity flows dfagran:- iy tereng td oy {ee : | wrosoi labte v beer i 1 *Serry; Book q. Alterndbive Events :- None : to: Rilatid UAccases : - - REGISTER , UC - Bok ~ FEED Prepare oat seenontos. Teat Seenoario 1: — Vettty Reader 2 fold - Hin s Hox» 10 positions — Porsed Hinet> q-+ foil Ning pel + fled EcP (+ype) Nalid Srvalid { { | (69 €1 #9) /(¢s9 fo-21) JE Alphalseté :Special chars exciph —, (o-a} {23 0-Ilo-9] {44 | Bian fad 5 AAR PRAABOARAZRAAAAND a A PRRARARAAAS Verity ator 2d ‘valtdction offer chick, 9° | Decien Fake, Expectid outcome au > fou Fo Book krror mse Byron mag. Teast - Scenaafo 3-— j Verify book fd ba 5 8va-- Hox > min = -4, foxTtions + Passed ~ Mth-p2 8 . foiled mintl = 0» + fp decd EePr moos = Valid | Gavatid |(OMOWIENE-Ilo-a134} Specfel char, except — 2 Bank fold Alphabets execpt 6,0, Teast Scerarto 4: Veriby book taue operation ftir liek ge beHen Decksion tables. Reader Td | Book id excepted octcome _ Voigh Valid Yavoilabe | * Boon Tssved ” msg volid Volid guncailabt. “Sorry, Book, Ra, already ‘issued mu valid finvalia Lrror mes. Valid Blank feta Error ng Vest Scenarto -S Verify minimize [eon ok any Hne. Decision lable Pretas | expecta outcome . z | 1. Ai Oe fied AQ. Windew Was min Id. Some fetes filed BAM ane empty " a Teak Stenario — ¢ Verlfy mauimigze teon at ong Pm. Decision tela. afretds expechd outtome 1 Allene’ pilted Window was madindged 2. Some field filcl “ . . ene eu enelg | Teak Acanario- + Neaify close operation at any time, Som. os above «) Screens bared teat design: — Lo zome omganizelions documerletion worl, ts optional Deus to this 20500, Fetling ear eligi ry axrutve prototipe on slw, build. Sneha ¢ fendional Apects & Usecaser Dus to Due ae dee Tr thu silodt,, Aeating dear Can understand Aequirements § do est tan depencls on that prefetyre % Slo bulla clustan P aan rrr RR AS mR RR ARARNDS at [loan of dow maittation | Ses J Design Jb Coding 2 Proto type Test Auencrros Teat cose’ i _ Slo buita —Kirdimal -otlng | Fane the above diagram, esting fim ta prepara \ Z 7 a ‘teat Acenarton & test Cases, dapending upon proto tye on _ Oagine? fio ot both. dus to ach documentodion . a “KK mode! texting bom 46 secelving one more exlia document from develpers ik" fied Volidadiona” Bx. Seresns~ oe aes omeneenee] Pasantord [7 Tal Gia tele) validations followed by davelopers : - Agent nome —> Ate io Charf at olphanumetes wrth — Password —» upto to 8 chars ot olphanumeries. Propare deat scenarios: al tae! ee BNA renin sy chark, faked — mon-) 2 4 cher + poled Max = 10 chars J ye monsh ee det wince = + Paided ae min tie & Bayh gy Nal?d Lnvolid - : _— [a-z a-3 0-9 = Ya te} Special char excep , Blonk yee Test feenaaio- 2 Notty passiderd frei: - manera mio | dean = pasaey MAR! = 1 © Passed ree eee ny mantle gq + foil . lan field min: wis cua minds dh woe ported . Bep (ype ) Valid Pnvetrd [A-2 a3 0-4} $1, 63 Tel Scenarfo 32 — Vtg legle operaion oftr cliekig oh butten. 7 Eapecled outcome P AN fields ont valid Neat window Any ons Yavaticl Error msq oa one blank Teat Scenario hoe lancet Verify Use operclion olby chick Cancel button fields outcome, All fies ans goats Wtadow . closed FR some Latds 8 7 AN Lrelola emply a Spuiod chard, Blank Heya, a min 2 x — AA RRA RRA AABARAAS ae) Feat scerarfo-¢ == eee ee vest “Help” Window. “opens altir lek hulp bulton. Decision tober 7 Pretels ao “ expectid outcome Ail ffetels pubes. Some fielde filed 1 an fields empty Help windows opened | &x:a:. Screen, — Book Feed [-ex Fretct velidations :~ fottowed by. developers Name:- Alphabets fh uppercase ple 15 chars as Aigngle wont Author: - Alphabets Uplo 30 chars ay Pobhither Lepies = upto to bools Za. TH wht come oftir Aucceasfelh bool. fed O4 BOOK xxx, Prepare Lert Ateporfos: ~ Divert iy name ied + one or more words BvA (Sige): - mhine | Char Passed mon > 15 Pasaccl omin-l 2 0.Blank field + foild mingls 2 < passed mow! = I4 > Passed 7 Voud ELp (type) Vall . Snvebil CAa-e ava) fish Nomeries, blank {eld , Special dor Alphabeké In lower cue Feat Scerarfo 97- ee c Vexthy boos author trea c OVA (Sige): min. sy Chor = passed ( mai = 30 Chors = ” mina Blank field - fold & ringis & chars = Passed ¢ -n i --foilid . C Eep Hare) 7 Val td poets. = Le z srvalid . (fa-a}a-2) +1432) iy Momeries , cpteial chore exc | Blenk Space , Blank fede | € ‘iy g “Test Scenarfo 3: Z ~ vent hither Lictet ; eva (sige): 0 a = ¥ ee a * > Same at above . poe mars Bo cors ( Fest Scenarfo 4: — ¢ Vertty welpies Fels : ( BYA UI) =~ oo 2 Roane ‘ $ moxzio = 0 C min) 20 Bark era 2 foils a ming) 2 2 + Passed 4 =a a mot yt) 2 feiba rl Eep (type): - \ ~ Valiok SLoveli j- Ce -aafta (5) Alphabels, Spedal chavs, Blank, | i fied Feat Scenario Sra veipy & Book ferting operation offer dick bes kettton tos| Decks? eM oupte. Paella, expectia cucome } All one valid Book fd deturaed Arg one ianvolid Brror mag foxy one, bionbhiela Error mug. Teast Scengato. 6 :— a ge Vekty Gok TA field ote Succes. Bool: ferdting opercilien yA S49? — Min s max = q posidions + Aotsed minwl2 By - fosteal minti = 10 . » fied ecp Hype): ma Veta . Snvalid Ce) fo§ 2308) (- 7 Lo-9} fag} Alphabelt carci! 20,4, Speciod chore, Blank polos 1 Test seanorfo $F : ~ vey minimize icon tr book feta winclous Decston stoble i Erelols outeome All att ant fied winds. was minimized Some Ketcls An we blank fou Teat stenarfo @:— * verthy manionize Teon 8m book fold Windows Same. at above Tut scenario Verihy tore iteon 9a book [eld roindow a) NEN- fencueal -Aperifzcdlion -—Paked “last dedign : ~ Afr Completion. of fonetionad Lat design wort, ¢ ar screens, Teiling deom | C, functional Apecifi cations oy Vsecases ‘ E ' Lt non. ta concartrat ing on ron- fendlional cleat daatgn i € Fonilirnat spetifpuilions ta Ses. thare Te no aMernetive $6 1 non-functional test deatgo 4 Bas lea + | aC 4 Teak Stenarias q€ Design L T a Teak tases P Conk . i Non functional leat a€ - Poncti 7 Sho brite ee ve igs zee Abn font ional Spect{feations ae Bbiory management” ts a LAN bosed Sho Hh win aun = On all windows flavours & UR LINUX versions. This Jan Corwin —( Af 4 moduler such of atoder atglalvation, book fusing, 1 book tase ¢ book aclurns, Buk This Sho % nol shortag I Sesporees of other sho. THA sfus delabnse 1590 mafnlain 1 dekh ¢ wrodara, to lakh books ¢ \ Creve sronsadtions, Lhe tae © ( Or aston. ThA Sjo te eoty to toatl g, user btendty sls. tae Je eniating Lan',—hia Slug Wil be accesscct by - to aC Jibrory employees at a ane 0 t Prepare lest Seenarfos. [on above. non -dunctional Requirements, Yaa, 2 2 ; Da Se \ ® Teat Scenoaios fra rabiliby testing.» Fox every project, the onjerizstions axe mainiaing 4 Coromen uch List [test scenarto)fon Abilify hustling why Cheds bist validate, user fh endliy nurs of screens Test Svenaatoy:~ } Verifgy Spelling . 8% aardrot fabele tr cach screen Tesh seenarfo a: Verify control labels _ tnttcap. a Verify Contos Sobel fe ahyhe Unigquencas J TS4s Vert by Centre! Lobel fork sige Uniguenn as. “Test Verity tne Apacig uniquestis in between lobels and © thin Controls. ¢ ( ¢ c € € € CTS: Veathy Line spacing uniquenest En hehoan Canvals ina Cee a ek TS: Nenkty und, ermity ca fyenetionatty wuletid controls in ase c 1 Veathy alignment of cantrols. dn screen ¢ ke : va Ex:Uht adlgnmunt , right lop, bother alignment « a \S 4: a7 = Velby Lean Symbols fin Shroughouk Screens 4 Slo Bo: Verify Correctness of, coo! -Lips. in throughout cereant of sfw (Te: Vests meaning el error maneaes Toa Nerthy correcteras of halip documents (user manuals testing] © tia: Verte kau forms o, Bhortusds. iq throughout Screens % Sleo: Tis Veriby Lormot of dotifietds %o Throughout Serene a sis employee Ll ees) mmad [94 . Gasea 9 48 | 000 yy a ISLS b- Merthy keyboard. access Pa every Screen of Siu. “Ta l6t Nexthy meaning of debels af Controls 4, Sereent. TSI! Netty frames tn Sereant'. Here each fpromes comiaG 4 fercionatty sttatid Controls . : TsS18+ Verity Serotl bara then ATEN Sige more than dssktop TIF: Verify Coloured Uniqners fa throughout Seveenn ot, Sha TSa01 Vethy Ahort ravtgations ovo labs Yo Ahroughouk serene Tea Neathy aveilabity of Syttmn menu fr each Acreen que [yen menu ~RARNAS Consists of suatore, move , Sige, minimise,max, ‘ tere options) ‘ Tans Vesthy tre ovailability oh On % CANCEL ihe buttons. tn gach screen of Sofware fo Like buttons ton Countinus Mavigetions tn Siw ,buk canet Like butlens ¢an Alop navigation | Nole:-TBal & Tad ane proposed “HicroSelt iy Seatig ' From the non-functional -speriffeation, Library manogemel Se will gun on Iofadows | Linux vernters os operating Spite.” p TStt~ Vexthy ouoder dagiatrettion operation fo a Aysbm, whee Commiata of below potform Plat Form stole] ¢.nvixonment bots, + rae Reodir suaistvationd eritevia g RP working Poised oO Tet scenarios ter Com pod ~it4 ~aAAAZRARDAAT vista, “4 Linux Rdhot Linus Fedora i Tsar Verify kook feeding qperation tno Agibn , which Consiale : {below player. platforen Loble | gavisasnment Jobh. ar Book, Feeding Platform (os) Regislration” lads eatlerio ‘ 5 ieded xp Working Passeal 4 Vista, ” ( 4. € nux Rid hak » C® Linva fedora Shoe > C «Tg3: Verthy book Ussue operation in a Aysben, which: Cona ila . ot below platform . Same as above C C € TS4: Verity book oeturna operation fn a Agitim, wohieh Comstats c 4 below platform Same. od cloove. : O Teak Seemarfos ¢ € lett Sceparfos for Conkjguacion ~Leiog an From the con forctional Aperificction oun Libs monogement Sly Aun on various types of dans. (gus epeloyy , (7° Ring topopgy ,hub topology). ( Wr. Neahy suader naglalvalion operdlion Gn a LAN, Which hove t below hord wore Conkiquaattens. ‘ Hho Cookiguadtion table Lmabrin) ( Hho conbgqurations Reader aagiatration eatteria i. Sua topslogy an working Paidect @x: Ether el Ring ogelogy LAN " HOw topology An “Tggi- Vemty book ucung. operation ina erm, wen nave below hardware Confgquastions Hho Confiqurettion Bools fpking Crthevia . - Ber topology : wont ng yoed Bu: Serie | Ring -epology ( a 2 0 ee Hub topology Fam Nerity book fssue operation ‘in a LAN, Which have below | hard ware. Configurations Same as cove TSH. Verify. ‘book returns operstion fo a. LAN, whith consis’ A below hordware Grfjquactiond. Same as above. x) A) Test scenorfos for performance tealing From the non-buncional spect célion our Library 1 Monagement Sho ta allo wing Conearenk UAerA. Ts1t Nenthy Performance | ssoder aagistralion Opercibion nelor lood lo wsera, i Teas Verity performancs qf book rading operation under Leact JO Vaerr. TS3: Nenthy performance 4 Yow issux operation order tend osu y Mish’ \erthy peetmanu. 2 book never operotion under toad toon bool, esa, book tsue, » Book Returns | F195 2 Verthy owader sugistvation operation users Lint and moe shan in users. S bt Nerity | book feding operation sera Sim’ Under imore than io wera. 7 | | itt FS4 > Verby book issut opercition Users Lind Under mone than CP TSR a Merthy book aadurns operation users Limit oder more tan « \ lo User. Load . wo} A vatratli (| (189 t Mertixy stader neg Atratlion ©peradion saiability while ci Rowreaatng fro suddenly . . sie ® Vere i ‘ tabi Cx sta. Verfly book feoding. opercition suliab LE wohl. Incrrecaang eT Load € 1 . F TS ts t. - | Wt Vesti book Tau operaidion aabiobi lity whi Sneveasi, i Wood Suddenty . 4 Cc TSI2: Veosty book oeturn opercilien oeliabr tty rohile “inereasi, ‘ J dood 4 C sia: Merify aeoder segittration operation cenabibiky under Rood ¢ 10 users. : _ o : . Auwabilt Cc S14! Ventby book heeding Operation wner, Thea! urder lood © sera ¢ fT8tS Velby book fesue ¢ Sete: Verify book aeturny € Te! to 94 > lood esting co T35 4p Tse 9 Stress og © seuk, Tsq to Ts —> Spike 4 ( : Tey to TS D Exdirane vr usability Vesting ® Test scenarios for dela volume fislig = eo DY ge ee From the non. Ponetional Apecification Libran marcgytet Slo) database coparity War | lakh readers, Jo lakh seacler book & 1 Crore vamsactions 34 PA catlomer exreck (a \ Scovena tor . seoder ragislvelio, ap Server — Book feeding » {ta | € Book Aeturré an ' > _ copatity [Date volume . € Client io € € Ta). Nertbay data base copes on n0.9f BroderA G3 one lakh, by uatng oaader sagishetien ogerstion, ‘ : TEP 5 Nerthy date tee capaiity on nese] bak af 10 daha ; - by vaing book forcing operation . e- WS2+— Natta dala baie copay ™ no of Avarnwacki ms os a 1 crore by va iag book issue % beds seforn pparahl ont, a DTert sunartos fA installation Aesthg = - Ae Tn general resting steam uty @ Common: check Ut ¢ ber intledbhion testing . : Tsir- Verify Aetup program exeuslion lo Atart tustallotion - Tsat~Uerthy screens Underatandability tohile tnistellet ion ‘ To Bi- VertAy occupied disk space offer installation tC Cate study: - ‘ a Testing -lepic \ Hest duaign duliveralles . 4 ( Funelfonal -lesting Test scenarfos—> Test cases » ‘ Usalbidicty —lerting checks Lak 8 Compatability Luss, 7 Plodfornn mrat?x ot env ronmuntialie Conbiguredion “esting, Hay Configoradiona retin f Veer Acenarios Pexbormanc vlestia 7 Data velume leading Delo bose capacity matrin [doa 4 : volume. matrix Wee Gee ea | oth check “Dury a 7 a | ler Syston estin es das | Bs efi Aetting I Fut seonnrios pital a | Beto bevel lest design x — After complatfor ——— Of Hest scenarfnd Aelection , testi ng tem | Me denplemerting teak Acenantog as Tut cases. Sach es case | tha document and its Apeuifies a aslep by step procedure 4 | 4o avn a tut on a SUT (Sho Undiur textes fe C C € C | : “Qa ee C Tek case. formal (deee 829); - Cc | Is Test cose ta FUnigut NO - or name C 0 fedore Puferunce. a. Test Case name: Corresponding teat scenario A Ree tas CG. | 3. Feature to be toxtd » Corresponding edad, oe a fecture lo be texted oe _ ly Test autte Ty: Alam of o batch (This case th a member in Hal bal C'S. prtority , Gmportame, of dest care ag rt custtomer daquctremen Cat and expectations Cy Ex:- Kigh(%) > fundlional fist cases . ( Medium(?,) - nlon-funclisnal Jest cases except Upab' ( fw (m) -> abobikity test cases ¢ 6.TeAt_ environment + Deed Ai a io ror ene teshax Lr on SUT, ATA durotien : Enpectid me do acm this ted case on sum ld 4 fa: ao min. & avg. Hime to run one test Gate on sor Text setup jpre condittm + — -The Sdalva of Sut befove Start thin cote execthion eee 9. Tead Procure : Btep no data | cutcome| outcome} Result] Tot | |_| oo r Teal ceaign Fest exeurtion Hl 10, Teak resulk sth finet desult of deat care aftr enudio, | dn a Slew rerA are Connecting boy Ung tetas | Rogin prowas allows vaer fd from 4-16 Chora long au Description Teak ace| Actual | - Step ae Funetionod Specitealion : alphanumerics tn lower case. Jt allows passivord From 4-8 s | Clara long as alphabets ‘in lover case. “This login. provider | Canuel button to close login window af ony” time. i Prepove lest acrorios % lest cases. “Teat Scenartos: - TSU Nesthy Unser id field. sa: eri fy pasaword Leld . TS3: verify login operation | TSH? Vevity canut button to clase window. Note : Tn general Jest ing deam is vaing Hs-word or Open - oftice word, 40 torikti teak ures Thay con Use MS Excel ot open aftree excel do lest cates soviting. Vest Cases :- Terk care docoment i. 1 Seek case Wd: Teo GoGinl — FTL Po ANAL! — IS Horch = 1 B. Jest case mame: Verify user to held. 3. Teat sutle Yo. 7S Lown 1 RA ARAD € iC ac 36 ie s, C € | A. Test Setup 2 Login window opened. ard we lave Vabid-«, Tavelld data. | 5 Teak Procedure : f |e no] step description | teat dota| anpechd i eutcom ¢ \ Activede legin wind! 1, chara | pllowa 7 | Ie than fu usertd 16 char Allows Co. Field 3 chora Not Allow 5 4 Allow | Inu Allow e mo Not Allow | fa-2 0-9) + allow \ fa-s) + Not Allow | e | oe ° special chavs . os we - nk eld 4 at ¢ c ( € € € “fest case dowment a2 — C | ptesk cate fd Te — Loan FTP, — ANJALI — March 9. c | 3.Teatsse came: verily password. ftelol ¢ I € € | 3. Test solk Yd: Ts Lown —2 AL Test Setups Lagin Window oped 4 we fave Valid & “eavollid dod 5 | [SEP lo] step aduscription rut dala [expects cudcomd a 1 Activat. logto 4 chars, Allows i Window and ~fhan 8 chars 0 ‘ | ttl passicord fall, | 3 chow Nok allows ( T chor allo os a 3 echars a | q chars Alot allows ct fo-a) + arlow C3 Ca-Fl4 nivt alow Special chara . Blank fyeld fos | “Feat care document 3 . Test cone decom oe WT eat case fds Tep- Loam -FT_ , — ANAL. March 3, a) Test’ cate names Verify Login operation, %) Test subti $d + Ts Loin -3 4) Teak setop ; Login window opentd 4 we hole solids Tovalicl dt j 7 5) Teak preudurre | C | sdpro[ dep descriplion | Test dala (expecta adlann | c : Activa: login wsinkeo | aur ore valid \psat windows | > Au vaeia Pal | Any one Tavalid | eer msg. | ‘ . oe Ary ene blankpield) Ere msg. i c Nest cane document 4 2 as 1, Teak deise Td 2-70. Loti eT = Py eAnAL! = Stindveh iy * 77€ 2 Tetkcase alame: Vert{y clorneel butlon to close windous *€ 3. Test suite td: Ts Loci 4 TE 4. Test setup. Login wirclow opened. % We hove vated & tively Uh | ™ a.kst prociclure | . wo 4 TE sep |_step description [ek data bapaghd oultamg) | C 1 Active login windos atl Lrelels | sindow Chesed i€ SH Unertdg, qillea « Ptod > click eameal”| Some fielded ‘ Be All ppelela em 2 7 3) ¢ Functiona) Apeccatfon 2: D¢ After aaccesrLul login, corresponding bank employee ‘D ¢ Di Aeheck ascyrived opHfons in nent loindow. If an emplyer (9) Selected jus epost” option then employes can gtk Fed | depostt woindew. This wie Gnsiate of below fteld , ‘ A aA aAnaats » —— > Depositer name _5 Alphabets ax one on more words . 7 Amount 5 iS00 ty 1 Jalh 9 Thee — wpto 4o 12) months | 3 Dnterest a Numeric WEHh 2 dekmot points | Alter filing above pets, employer can clicl deposit bulla do creak fined deposit transaction af time @ greater Han lo mombA then our fred deposit operclien allows tntrert greater tn toy, st Prepare lest scerarfos and Shak cotes Test senarfos :. | TSB! Verity tha: Seledion oP “Prscl dapostt” option. TSG: Verthy Aeposftor name Le frelal A : St: Verify amount freld . Ts8 : Vert by Hime . ftelel TH: Vents tatveat held. i TS10 + Vert by fru deposit operation , | To: Vertfy fonk aule on Pd depostt operation . Ce ; | Feat case document $1 — | preatene sae FD FT Py ANAL! — Stmareh 5 ty the selection 4 “Fined che $73 _FD_@]. | 2)Testease name - Ver?. postt” option, 3) Test sui ta 14) Test Aekup ¢ hogin was Succesafal s)Teat Proudure & options window opercel veep 0 Sep once pion rear co expecust ourvome i 1 Do logtn with valid None . fear deposit | <7 datas select fred - gotidano- penta | deposit option in next c Winder é “Teak Care document 6 ( Test care Pq : TCO- FD-FT-P,~ ANJALI — iF Horch c 8) Tet care lame. Verify dupositor name freld c a) Tea Afi ta = Ts-FD_2 ¢ 4) Teat setup > optisaa ve Yard daposit window opend ¢ 5) Teat protedure _ if ¢ ange] setp deacriplion | at data bapechal -owttome,) iG De Tain with valid 1 der Allows ae dota > sect "ED" - * " 1 i Cc 4 + Blonk Leld. Not allow Si ion tn next wird °F = nu 7 > chor allows | .€ > PUI dapositor nam’ | 355 choir ae © Field iin fpxrd deposi t a Ati C ind ae (faa a-z}+f4)2) | allows - ie _ : special chars ax. | Not allows lc Co-a) + bln spa Not allows ( a i Test case document +: i c oe eo : Dest cose Td : Tep FD PT Py -ANJALT _ © March, - + iG 8) Teak Case rome : Verity Grout ticle! ( DY Tat sutt td: Ts- eD-3 2. ¢ 4) Test setup: " Cfead deposit” window opened. sy Test Procecture | 3 4 =~ ALAR PPR Ogee... 2 step ro step description Fest data expected cubcome | Dologin tor vali i500 allows | data select find | lakh ” : deposit” option > 1aaq Not allow Fill Amou, T. i . “i i 1501 Allow % | Od deposi 99,594 Allows Window os ean Not allows . Teast case dowmanty (a-aa-z}+ . Special chars | Blank field ” Teak cane td: TeD- Fp _ ep FANS AL March —g oe fETRAE cone nase; Verify: dime. Bele . : beak auth 2a; T5-FDy 4 Teast SebuP:* Cinect deposit” poindowo Opened STeak proudure : | Step No step description teal data Expectd outcome } Do Login with valial J monty Allow dota 5 selict* por 1 months Allow : ° Ned aloes i Shoe 2 te a Bentha Ned ol i Freld in “FO” window Hh months 4 j 13 months not allow Alphabets . | Special chara Blank feta | Teak cose document 9, j= ‘1. Test Cored ta |, Teat Auk Td iTs_ eps I" Teak Aetups “ chud Lipost P TOD EDL ET_ ‘ Po ANJALI. “ Horch _ g 2. Tart cose Aame : Verity tntirest del windew opened gah paocedsine:- SHeprlo Step description Test dota Expect outcome . ! Do login for valid data x 0-01 allows dp .gelicl “ED" option. mar 100 allows. 3 Fi “Gerlewead feted 2.009 Not allow th * fu epost “indo 0.0%. Allow 99.99 Allow lol.on Nok allows [a-a a-z} ” Special " ence Blank pela ” Co-Ai]+ Belfo-dlfay attows . eons : oe Tests document 192 & Test Case td = ECO FO- FT—Py- ANJALI — I8* March = 10 2Teat case name + Vert{y fixed deposTt operat ton . aTest auft Td : ts-Fo-% ‘Teak setup: ~ Ftd depostt” s%rdow opened. Seat prouduss : ” 0 Sagular exprasafora® \s " Tndicats blank apace chor. “Trdicatis ony Bor. so, we can une \" bor dacknat point. Setepnle stop descriptor Teskdoda Expected outcome 1 Do login operat?on ay ave {valid Svecessful dipes?t “for volid dela —s, e Sebct “ED * opkton > Any matovolid — Error -sq Fin fields in” Fo" Any one blank . Winde w > Chick Field "deposit" butter ieee cl = = _ j Teak tose documant 11: : j March — 1) i ATeast core nome Ver? hy. bank ule on fim dipostt “operodir stest Aull id i ts_ ep 4 \Teat cove Td TOOL ED FT_P, Amari _ 1st JucTest sebuP 3” Pixel deposit” window Opened i CIs. Test prudure : ( a _ 2 Stepni Pobt, 5 + ; spre | Step duacriphton | Coe Rxpectid outcome 1 ‘De login operationbwelid dapositoy aml ( | for valid data —» | valid omovnt, ora Successfed pepoai } cl Sect” ED" options] 10 months , «, Trteret ey ( | fn Fielda 7760" > valid dapostlor manu ; Rindow —> cack * Error _ Aepos?t” button: lo. months and tateres c Soy, © | CAS stepy<: (Pripa ¢5> Bat chsign’) Co pbhide Preparing fist acenarfos 4 test cores fer Aetponsble ¢ aeeaeed 30 suT, Jest engineers can follow below conventions . ( iD A bast core name must be Akart wfth Verify oa volidat. ot clibi € fb A fest care must be “peciby what bustir kos to perfonmf ( What axsponse Coming from sur, gx1 Test procedure ta death F coue Peemat ‘ | |> A kust case must be cover o bield or an operiilion complate ; lig A deat cose must be divided Sato issn: Potdie Positive o alegpstne Hows editing sorb Ganges tng Dreaprirements 4 cortomery fn fetore) J ‘ A eae eae give Comiatint desulle Co A Aest cose must be rsable (A) trckependlent 4, tests. @x+No Conbostons ambiguities tm dest coves | 7 A ext case muat be divided tanto olifferent Best cases , when the | 4, teal cose oneesla tk move than in-ln te aha > W wAt Case “mudt be Auwewes og Weer Atm >A Bak core must.e approved by customers sth, shen ioe ore fn apphicaior development ; > A Bak tase moat be hold a duck fd then the deat case wns foiled om svt : Ti Teat exruition i : APter Completion of test design @ Seview, Project - Tranagemant 1s contentvedtion on ett, exeettion to dilect olifects c din eT, Bn thts abage project management Coditti a fprmal c mating tn betwen developmen % Feating torn. a e i ¢ ® Forma) masting In this meeting dovelopers % Libra are: Concentrating” gr as “4 SOT veraion Gntrol % delet “wothing preceas, a Bn BUT version Control process, developers art Arleasing 4¢ wedified Sho with Understardable version numbers. e : Server &¢ [ Conbguration ox pository | = i ¢ | f He it ; ( ¢ avelopmunt é environment : io ¢ |. ( } « Tak enviccoment. i ~ PRAARAAS maintaing Ahora bu location oF folder tm xerver, called at Conkguaration Repository (eA This folder ctividad Into 3 sub folders Such as dlvelepment boxe, Safibase & dest bare. Here developrmant base consists ok doroments aslatid to davelopment Like Bes ,5R5, HCD, LEDS } and other development decomints this development base ts From the above diagram, Project management ae. ls maictaing by davelopers § accessing by testers Sokt bose Comsiats of, versions of suT. thin Sofl base i Mainlaing by developers and accessing. by testra Teak baie consista of velocuradts Aelod to setting such as lent akvotiay , deat plan, test Acenarios test cores, Gerd axclomade Seripta, dalek veporla & Other testing adatd documents. This deat base 4A mosintabag by esters 4, acceasbl by developers, “To provide seuaiby and -lo maintoin dojprmation sulatid to Aevetepment bare and Selb bate, developers are slag visual Seone sate (vss). To moainlain suutty ard -te get more Lnlormation oebtd do eat base, testing team f% oping dead management tools fa: Quolity Garter (Ae) af He, While esting, testing eom t4 dowrload.ia or fawrebng SUT from Soft hore thik. dealing . Ab they got dany clefeet to SUT, thin dedlersa can Prepore dafect Asport and Adore Ph Py | test toe.and hen dafect Aracking prccess ip startte . \ en ee as check trackag | Teak Lead Pan | Lg Ne al ‘ Tear Programmer 8 Teal enruction ferete + — . i After Compl ion oh fpsma) masting perth duvelopers, leasing tom 14 datining davels of ent exeustlion Beye lepers eaters - Layet-o : Ginttiad Sho build) is Gonity Aestingy) a (sloble sto build) dalye! ec ceheet Report Bevel -1 (Got testing) Frocking <—— Bastard dageeh et ining modified Sh build (Qegrersion lesbing) y Livel- 3 (cptisnot) oe Rined dagressi on sting : © Levels of teat exution vs test cosets A ER ROE coset Jevel-0 (Sanity bating):. Run test coe aalotid -b basic PSenctiowlit| of SUT Level-1(Reot esting) = Bun alt -lestcaues on sur versions devel - a (Regression testing) Run all aelotd est cael wort moditiections ta SUT Level -3 (Final regression esting) + un testeates Aabafid to high dufeck dansity modules in sur 4) havel-o (Sontly testing): After Completion of Siu tntigrabion 4 “ietigrodion Jeating davelopera can ‘alore, Prat Veraton of SUT In Sol bose. The detling foam % downleading of amnsllng so7 fo Hert envinonmunt Ask then dashing learn will Conseack 6 ZA AAA R AFAR A OAD ARADAGDDA oes “Sanicky Aging de etimaks Teilabty t sul, Feat erfncoment | | —» Understandable: {eur Ue Understardeble ty dterte) | > operatobh : opemtoble sur without oumime errors. [> observasle: SUT wo obambie by tuts hake ding Prete | > Controllable 1Tesler ts able to do aad undo operations tn SUT. P Constaterey:suT howe Conbiatiat® nasilion while opercibing axpeoel i Stmpaty: No Complxity tn SUT ex: short ravigation. i> Melotainabis qlo nied Bi Retnstatlatien —> Auttomedetbles- Able to automat bref cases eb available leat eases .leati ' The above g LoBlora combination ia cattd ot Heslobilty i" eabimdting above 8 actors, testing iam t Cencaniratng POM Atal 0% Comprehensive sutting. Jf SUT V4 POF estable, | eating hear will wait Ye lextoble build from duvelopers This « \3 foctors Gacking on SUT Us cabled ode tunity testing or nanan i om Sor by Using | xq tools ~ nn 4 : cteslabi lity testing or lestir oceephance ‘ | varffedtin fortig on eclongl “bat | 9 Level_\ (Bia) oF Comprehentive: testing): - 2 - ceslabl.' suT from davelo pers Slept, Recrive Stable or } Aer Sontty seating . | | Slepa: Toke previously prepared and Sevieiwert est cases testing or bullet | steps: Hake elatid lest carer at bodeles (Test batches ore = 1 Sareea nee SREB 1eRe me ‘teen “var en Step 6i- Toke ons text care tn thak belch. Step 6 4~ Toke on Atep ia that cote. Stent :- Compare expecta value fn deat case with atlvol Nodun of SUT, “4 both are tame, goto sup & ordi All akps ta the dest case Was parsed. yh expec bid is mot eqpiat Jo aclvol,thin titer can stop enocetlin) 1C and Prepare duject Anpork, send lo daft tracking Fier} 9¢C FREPB!~ Goto Step s Unit! all Abps th all teat cases woos Passed stapa: Coto step 4 until all Abps tn abl cased fr oll Latkes Was | Pasaed- = : Teating Siam can follows above promsé In Acal oa Comprehensive fisting. Jo His. process each istic Can prepare test log document. in dail, bases. fxs | Mesbir : Anjali SUT version «1. Dole: 2 Horch gen ae 2 Text batch id (est cone 1a Result | Commenta ! Teo Passed — Jeo-2 Porred = FDU, Folkd |Serd dekct repord Too-4 Blocked |1c0-4 dupends on Ted-3 assed - Srecuitid an) all GPS expectid valuis equal fo aclval Volt’ - out foiled - gyreutid and ang slip etpectd value 16 not equal No actuat value HP AAAS ha. Feature|module + Name. of rrodusbe. Fessler bcd hate & Blocked :- Yet to exe, because am Aclaticl test cones mon _ cB Defect Aeport Formal :~ (ZEEE 834) Jk any expectA value of teat care fA net eqisls to | actual velue of SUT than Corresponds 9 deat engineer corr Prepare cleheck dapert tn TEEE ¥aq format lim 1s Defect id z- Unique no, or mame ar, 2 Defect discription Sommery of ceticted chefect | 3. SUT Version + Version no. 4 SuT [tester detectal Arkeck Fn his versio SUT ct Ph 5. Testooue td 2 Pg of Poilkd _ tase ee cbfect | whi ou dhia test case’) 6. Reproducobls : Yes|nlo —sDelectrot appear every Hme Deft appears every time rohan teste repeats! test case 14. SE Yes, atlach segk proudisre:- es af Alo, aHach desk proudene. and screen ghols ff Bevivity:- The Aovioumess of difeck wort jonctionabity of sut High (show oper) —> Not abe to perform -forther esting UntTl ining this dufect Medion > able do countinus edther cesting , buk mandatory Ao foe hat dolect Low —» oe do Courtine Sforther eating , but vray br roy rel 0 fe Anis dafect 0. Prforttys — Tmporlance of af ek wort Customer High pmedium , low a > wthin dfect Teak Environments Uredt Hw %& Sho OM delecting ia At Jai 6tadys p— Mew ar ep rae ed is Sending daleck asport freak time Be Reporting Py. nhome of ester . Mh Reporting on: Date Is. Send to: Defect Trocking Xam: 1b. Reviewed by: Test Lead rome, HH. Suggeatid Fix (optionat) : The suggestion do fix this defect Aftr accepting by Aracking tom D Upr, defect ord big: Thin 3 oe Ayrongras. An error % a mistake ta Coding Foond by davelopers. A dafct ito mismatch tn between expected value ard aclva) value of a Soffware found by teabys. Some Times difck ta also brown as issut Yr fiat, A bug th o problem Sa Slo daaing utiligatfon, fourd by Curtlomens or Users Deed tracking prouts: | Aktsr prepartn ct + Con cng ‘ oe ab Pp 4 a report, Co, redpord.ing fut engineer, Get approve! From Sat head. t0 foaword lo ot Tracking ham. Aft, seciving dafet acport for et angicer Covrespoucling dhjget fvoclaing earn sill flow below Procas AAR AS + AA ARR ADADA Reuive deber as pert’ Lom test Saginerr Dept Tracking. (eitest had team heat) analy ge that defect deam Bend” more info b repant related to Seported debt if possible L caligori ze hak accepled dafect Assign thet da fect to cleat exgqes + dest bod Addign daleck lo “est engg. +Hest head Aas gn dfect to Huy team “or Jnfroatroclure Ream Jo dlevelopevs & -laomn dro From the anove protets an accepia exper pogo igen une Ong me of four dypes Such of bert cate wrtlobd eit dota Atlabd and envinonmenk acted @ Sly Codtag asiateh dipee D) Tot core adleld defile betsy dh @ seported dafek war acceptid t, catigcrized os teak Core ralotid defect, than corresponding Jab engineer con dake +t. help of deb Lsd 4, businnd avalysh § Suitim aralyst Ho Aswrith Correct fut cre, Test] evn ; sot cebeel yet eeviewed cose —» defect —> by teak bead : L, Cals geri Report defect Modified eater ebssiqo as teak apa to . DTT W—— fF Ke et Ge gaat bead oe aid + deipel BA[SA °% ae goto forther test cates (ateati sor RON ca Se Report neo feet. D Test date aulatd dept ang TE an acceptid dalect 4 oe p" k + wos catigorized atest dole rletid fe , he Covrespinding test engi ner can tate the hal of teal Lod % BA y sh “get correct test data. AA RRR FF FR ARAAARAT7TAIT ~ oo Gadewed Run dufect - 4 nf > cue Ste or les Oa by deat Last al : Report - Gegt ey os -_ aceaptid 4 a Aas atay oe geee a < ; Test Lead defect te + BAIsA ae so forthan Mod by eee BUN sor _ feigoues Aestdata rmodlifged ee dest slala get a4 DEvttenmant sutotid dulpck finiig TP an acceptid delet woos Catagoriged as enveAonmer| alot defect, Cesrespand.ing Hs orn ean fake He hlp teat fod to establish correct test environment TeAL ayy IN ae Reviewed case SM ant, dayct —_, thot dajget \ fh al; Repore aL tery Tes — io Sur] Festing crviwrmert a Ls eeprt ne environment Poited dupect y Coding Actotich duect Pring: JE om accaptid defect taligeriged os coding Aslobd dafect then Correcponding development eam will Conterlrats on changes tn Codkieg | A okfget colagorised a cocking arlatid dikeck by oprr Development * Assign 4 see eam bad conducs Developes Perform change trip araligi| esok-casse “In Crcking and Gorduch | analigtia fo ‘dectiby Semoke eating : See ee to ro ane Testing 4 ee ers Stove meditied os Teating ram CaM With nwo version no. [}—__5 to Soft base (slo Atlease nole) Prom “divetoparn. iether doula Ron qreviovaly Potted teat q ruled parted HeAte on that reds ffeal S}o_ build. (Regression tuating (leet-ay = Santty) Gute Pre Veri Recbion eating Cebeck -fn) df an passed goto furker ~leling (ehech-aut) ak Previouly folkd test Vs tabi once gain, “than drport Sam dufect as “Azcpen” | dE Previoudey Posted -lests are failed neo, Sen pert sae dope aN RNR RRA BOA A RAARAT ¢ a Ga ee N) Level-2 (Regression , tealing) After fixing a Coddingy salaticr def ee “est ng team Wii neeatve’ gan’ Kom davelapers. This sew decoment Apec fies duloila ugar ding Henge in coding performed by davelopers . After aad sen, using tar can dovnloacl or Jauinch medified sut'te est enviaonmnenh. Anal than tecreagod | | testers WI Conduck build verifedttion but lo eiimote torbobilit of Yok modifjed sut [ohach-Tr'], J. +100 eat eased | ‘} (aun) * 5 e lest cas ws ee aeporting . aye After theck-%n , corresponding tester can avexsati Previously jot Hest care on modified suT ~le eure Correcha | af di fret fining And hen dusters con arerud all on | nelokid parsed test cores onte agpin on mad’ fiead sur +o \ emure disappeanns of Side ote offer fodng dafpet 3 Sn SUT. Afb complation + 2 eter oo cgeles testing ham will Concentrate on “last closure” musk? ng. nD) Defect Bie cat DePkered Assign cs Closed = D Neto > arrion~s oper —» Pinad —» cloned BY New — aratgn —s open —» Freed & Reopen > closed 3) New —> Reject ABE! closed , 4) New —» Rjeet > Reopen —> Grid closed get rere Sinjorenation >) New > daleered [dub lows severity ¢ low priority’) TD) test cloves - while est exeuution , -lest engintrs oan dabicling defect % developers ort fining those dafpele. Te brs One dualving modified Sly and then Conducls aehesbing and du grersion testi Ho close chfcta. the proceas of daleds dutection, dufects tracking , Alec fixing and dhe fect ChoAing is moditied Sho ta cold beak cy af RANA NAA DD = Confer every dafect fiating correclasss ond Completeness “Dus ce 4 - | An general developers are releasing modified: SUT tmmedia | | phen hata sugorbad daget al kigh of] deatucs | Arportid defect Severity wos lew ov ‘mectivm then develope | are seleasing meditied build on weekend ‘a eS bases j one test cycle indication ene or_rove rroce_dafela cl Sing | TUR OE sabes | Fttw toy closed by Teak coke Correxpording ° Run modifject est cose on Sur | aiatid dfeet | lest eng rest fad) cotta ax audedttng “at data. Gn modify -kst cue Teak engg ¢texk bead} Run 4est ease on” sur wh con get conect test medified tertdol , collcl a4 dota acteating | Pho + deat Lead lesa previ Tester, ae run est eas provide Gonucl ded P om Sut tn moditjed task ee envivenmunt, colltd of aclesting | relobd dip Jest environment By duveloperA + lean Run previously Bild led on Jad can modify ified sur - Coding of suv \ooretineas ol depot fang, Called as Bele sting , Bun previ arsed g dalatid ests on medilved ut to eAlimaa dito ppeavans 4, stde effects, called as segrenaton terting From the obeve table testing tom fs msparsible to dhin season, AG Atavesston leaking aio kaewn at Centicmeation Feasting or dofecta clering tuk nlske ‘Un general esting cleans Will FINISH Taaung vn ove tng eqs 24 minimum, Here each cyte duaction $6 one | Week. endatmumn (ahr by © day} he sx5) | + after completion of all teat cases exeetion and: majer Ateca fining and closing [Some defpcta ore dajerred \ , “etn » € team will Conduct a review meeting to atop seat fog ThA | c waview ft cold os lest’ Closure. Bn this review c raeting deat Lead istii alk with desk exqinters lo. extinnata| if Correctness 4 Cormphitiness of lating grocets. To this Acview| i test lead t& concentvating on below factors. € = pekemae erelysiss- ee [Se force » bored coveroge «5 [ve a eating topics bated, coverage. i : te > Defect density. . 46 Bo Nodales — Nowe aafects ‘y, * c A aot 1 ¢ 6 Boy. inet eo toy 71 Need for Final aagresaien. “Tool: — Anolysts of daferred date cks ay . ¢ Ly pohether dulevred defgets are poalporable oh nol § it , Alter Completion of ertctaavre arvieto meeting eating i . 5 deam th Conuntrating om tuel-3 Lnod resaton testing. 4 yo 4 oat 12 deme %A do Ava? loble “tn 4hia food aegreanion eathg dearn }pltows below procesn. 2 ae t eee ee Le Tent high Hersity modules tr sop oo 5 L Plan’ stro Dagrasaion Eating . Jb : Run teat cased on ‘idesthified moduler fo sur Report joldlern bet abty anolysis. if datecticl foe pilin afisk ope onays ~ s a0 Developers ie qeiten daktet and then testers on close dafeet TE Atma 4 dwellolole Not :- Sf hare % no lime do fin grits dutecl then project management iotimatis to turlomer Aik ope Au jarding those ; dafects and. shen: pain. these defects firing lodar by secy pak 3) User acceplanc leaking vhs Aber complition. of final dagresaion Sealing er. pattmorlam [Herting or pre acteplance -lesting , project wmanagemank ts collcht fed back fom tuttomar 41K prog on fret SUT Sn ony one | of too ways. Such ah desl and pg lest Th fecd back Changes in final s £ ta rot good, then davelepers can peolerr UT and -leativa can Confirm those iserges Correct 248 and Complitinnss by Condturcling Dagresston » tedtting - ee eo OOF) as Se | “Gis Sign oP s- Ge © Alter Compbtion oP acceplanes dlexting and lair honger, C teat Lead sole fb alt the fubra fx Heating barn. ds his beam fous testirg Aclectid to sileore Sam to Selease Slis and gelacled to cos Pg for foeture . maintancs 4 shy.—the Sumaining Lata will wait on the bench dor next project tubing Ayer seater UAE eis pene Se TH 7 7 a Arocbilit, motrin weRTH) . Thia madvia dafinet - mapping te tr lectern modules and dilecta vio. dest cases . a Requtvemant | rasteoies | esutis | dakeet | closed! |- coenment module td | deprred ! 4 deg! n ToO-1 Paoared - me oa TeO-v Parse - = i. iZ€ tTeo-3 | Poiled Dy Closed : if Teo -y Porred Lon = = i € Teal Lead can submit} em do pH to aode-olh i Prem torent project. : ~ {*€ Cone ‘study 1 [Exhaustive or optimal or oatse kaling) ' | 7 Frem eating ptruiplis eahaustive eating U ‘opel Die te Har onaion all desting sleowi ase Blipning’ optimal | Ox ermal fading [Previously dauitsed esting | proass in| rele book}. gut fn oore cases -ledting amt are following Gd-hoe texktog on” informa) testing due Jo risks’ fe Thespore difluunt hyped Tn od-hoe ating, - 9 ¢ aC Vs Montes Faating » Darl Sack of Atine, eating ham Kotte ; eceting ve ‘east om main Fonctonalibes af sur only thie |= ( iype teak excution 14 calli mon eating —— tenting ~ Dus cto. lock of re pet vraragemass a ¢ SA detgaing groppa vith duvelopart tatevs. They ane, - ( Conducting daveloperrunt q esting paratiely, this fipe of mr ¢ Resting callicl os buddy fishing. C 2. Exploratory esting t= Dus do lack of fr aagutrementss af project, testtng farm ts depending ob > chovomen tation, br wh quails dowwarth, Dxuusston with dwelepera ,lincuasin with othr people Ta project, vidlo Conferencing with Customer hie peopk, baowiaing Aimilar websifia ta tabyne & operating old veraions ef Cument project if ovoileble orto get Com plat, Anfoooab on rstabd 40 peed ragpivensat i esti, . “And hen Eating bam with, Concurck » ent suT this Bipe of testing called os explooatery Hating Jastiatic fathing . APA Baling To share Knowledge on fisting , Senior testes ar grouping with Jester atoms Tr haba hig fype xf deslng Hn tall as pas Heating. (3D Dalle testing! ~ Dut to sudaten tr urstomer ot Saqpbamanta cite Busting esting fam fa chooging c Hest plan and Sak coses work ARANDA? in aaquiire ment, (| This ype of Customer fovelved esting Ut called ou ( | ogide Sasting. (- (9 Bebugging:— To extol effectiveness & efbictensy of featirs, Ce | daveloprunk bom & paleasing SUT Lith snowon dafects Cs |i type of fiating t tobld a4 debugging |dfectaceding ( 5 eee Alydly 9. Ccommen 3.24 porsibibities of fat erginacr) i i> Stedy srs to urdertland customer rrqettements a> Assist wrth —lesk eed to understand dest saligy prepared by PM Lo Assist with tek Lied tn lest par preparcition | jo Develop high Lwek teat sernorfos is Denplament eAt Acenorio’ Q4 Tusk cases poly detailed lest protdaa ~sUndarrtand and gether Dagpiredd teat dota’. . —> Suish Sesporsibl. fest cated on sur, eraion’. Dole a> Report dafecla so dafect Avacking tearm . ee — Trvelved? Fr tracking prouss af difects. e ~P Frvolved io Ae 4 Acgressten, tetting to clase defect offs 4 Fintng . , —> Aaaiat the test Lead with Kis duties. fe <7 Autemotia Bast cases by using available terling cols [optima | a€ a Ce hrovolidge on oq. lo conduct debe testing. i Ase-stupy 93 af Feabiog “ruoturemanti ey melries 7 Pe iT? fist eating procean th Aight tims. 4 ilo tinpairh | Oe teabing Process project to project, project managemunk tn Ce olifiaing a set Of mearormants “4 oubries [arclity oravran al * Cc @ miaruremanta ‘Clamiffed tote 3 eatuaorien... ; oti nd sR SRC EN ao ae EL @ 1 Qaaliby anestamot mzodvrenient , ale Thise measuremensti Used by project mronager oh 1, teat monoger dunlng baking aa every Review mucthg © 9) % ( D Dest Aamo) satis ‘ 3 Fiemerto.s} datecta | ¢ /™ Bole 80). are » ee t ao Boy 20") : ( ws i — 1 ¢ Dol eo), we Se | sp sulfeiengs— The avalible yemaining Fina fpem cleat plo | 1A sulficienk to finda Compl. fisting | Dept palordtps allocation. waht Basking , est engineer coe exlimating priovis : 2° dufgek Wort tmportance oF cutomer and our C erganigalin and dn moarkek. ‘ ut Nok. +- Qualiiby ashesament AevitiWOS ore rg on -huien, ( | din @ month 4 Conduckig by pH or 7M ¢ [9% Teak managemant eragcoumnunlis ¢ £ e : Thuze mansbyenianbne Used i tert Lact dning esting, C= | Poeskly one). : ce Teak Ababa — 3 Nowe, Lert cower eresubid Co) No -f test cored fn exruition | No of fast cater yyek to euch ' I |) Quality gaps-ar pending aupcls ~ r ! Pending dalsela = [oof defects dubrctd and aeporkd - No of ee ch ined) | ¢) Tesbr efbicderny : ~ , ore Vor Nove -leth cater prepared per day _. Mog teat cared exccubil per doy « Nol teak cored difiits detichs % Superlid por day. fF, t vty 4 ment m ir 9 1D Tealing pree.ss Capabi! iy improvement measurements i there measurements Used by project management te ee eee eo dipends on P Di bk Aamoval ene wey . 9 mee as As nila detects datecka by “teiters A pees duty hating. . B+ Wo. “difpeh ace by oh umes ts Customer ath. aa me (208 4 cong fisting Bam) 7 ‘ (0.8 40 04 Overage. effiency’) 4 (4067 —s bod Rating sham) 7 D Tear ebipckivencan as eC No-eL Bat cases t epered, per day Sin Previous project ie a’ and no? of: cleat Pe « Pre pared per dow Th uounk Bwrojecter | c No.of teal cares cxusbd prr day in previous petjeel ae and Noo teat cones ‘execitid Per doug fn Cibo prjee Lee No of dafecta dikictd ond segortid poy day fo previous | or ¢ Iyer “no. + oa fecta detctid and Auported fr soy i& c in cearent project, , = a ern ee ~> Developed Joy Haren Getvadlive and -lake over by He. => Releosed $n 9009 finuay. tn > Test moragement 001 to creat ard maintatn est bau ' q os pasjeck. Fo rok and. maiotlain daveliprank base -¢, 1s Sekt bose, duveloperA are wing vss Like monegemank ool. “jos Quality any -lool te wevking as websili fn a Com pow _ | network of Lestirs [Test snvinonerant} “Tal trod Se od min i ifestery | Qc home |X | Gatwrns Pa Beak onneces a. Sar Server 2 > ee peers} 4o yaen Mae 1 Yorks OF From the above archibeture Qality Canter Shia te | orcesabhe to pay last Lied, —lealirs § dw aeipontible duvelpes , j Here tert Lad iy working aA Guolity cuter odminisholor. - vto this sucum, @aolity tnter is Providing a Intirforeas | Such at Qe admin % Qe home, Here tert lod ta only rearporAitt i Vaing Bc admin ¢ ohind are King Qc home Abfer foatalling Qe Yn Aerver Comput, tre Corresponding | People will access OC ta cRient computers by vaing Re ; tke fe. | Explorer browser. or other browsers Le “The URL. for Ueaamin poge LA DMP eH AOLENODT« DaxO PabIy] — The veL of. Qchome page ts) hitps/] local hesk + 30%] ¢Lbio D Teak. bead sspecibilities fo ace . PG 4) Creating, users fe Teak Lead open odwifn page —y login —> Sf. eters —y at dLlel add user — enter niio Urer duldtld —p cick ols —p elem Pastanerd —» enir &, retype password pp clich oly -> foltow r€ obhove navigdlion to odd mort new Users, . c > Creating sant hase Por new prejeck kiting Ofer cadmin, page —s login —» ste projects me dlich eva” demain —> entry cvount project Sype ab demain rome \en: bechtng., Financial service, insurance, e-Commerce ptelecommani | EE ‘) Puich ok > otek a Ceoke project > salech empty) Project optforn 5 click next —s exter Project Kame —» click next! | a —> Select dota base Lrchnolog y (orack , Sau SQL Server’) > hick nauxd £€ > Seked odmintatraters for coment ‘project (8g dafoutd C ‘eal Lead fs admintelvater) 5 chick next 5 cen cual ohte conkirmetion, = c te D Napping users ond prayed: \.< open @chome —> Bnter ees % Pid -sclich authenticak | ( ‘g Selict domain @ Project name —y Utes Lean clic clore in | welcome screen —> “Tools miny — 5 tustomige > project sera —7 ( add untrs = odd p07 Brom \iak —> clits ob —> Select User Pane PH — dich oK > Select Soc pons tlt by ak titby ov develope ov de colt all employcer Ho wopenk Projet Sr ashen —> Follow above novigation abr, 2) Testir aspen Litiet tn Qe \ After Complation. of emply test fase. Oucilion’ and | mapping of user to -thal project 1th diffisent rok , ; Cooraspondiing fat Lod dincda esters , developers < projet ‘ | manager to access Hho teal bare. To accesa leak bare, eee ea develeperas including PN Con ottow below, « ( \ | rovigation. ( i Open explorer —» browse acbin address —> click go —> ( Enlir vxeT mame and password —». chich. audtirlicate —> Selec! domair (9) Mam 20d aeaponsibhe prajack “mime 5 click login —» chich close c Bo welcome Scream» . c After Login Ao Apecibie project, Garret ponding user StI) poor er wih below Componenti. tn Qe : C ©) Management :~ rexty can uae this Comparant to stove Eforroatior (U'l aloha to 8UT Versions ond Bat exeuition eqs by folowing (| belo navi gal ion, | ‘ Select maragemact a rr—“—™CSOSOS—SC—S—SéS~C—t‘CLCCCN { , foldar ~s enter project name ot fplder name —5 releases mand —> (| MBO Sulease —> ertbr version number —y click of —s aveates menu ( Is nated tye > ete tyes home 3 click ok -5 follow above pavigalfen lo carat. deqired cyt € &m pugny dacs went y Relecue WO ne 15 cysts (Sanh eating’ s Leseyete 2 [peed bateg) : Release 2.0 € F cgh -3 (ental vertieation Jetting [Sanity . @ tagehe <4 (a % sagressfon deating > cycle -9 [ Remaining Bad tethieg ) Rebrosre 0,0 A Leyes m (e100 nigrution) rel BY Rocprinecnenta i ThA Componank ty alae Unecl by sual oth help of leat fhad -lo stove aaaponttble medals soe by fottossing below navigation , vin € ee Se ‘ Bact $6 Selecl qpetrements Qe supiturants Mend mH 1 Folders extir project name or folder rome is Uh oho oe upebuments menu —yncio Arpattumenk server assponsible Module nami > dick ob > follow above navigation do treale | Ti rea espidemante: oe [eC 9 Test plans this component th alio ued by bates Jo Vn Prepare lest scenarios and’ bat tose by jellowing below ge a ¢ Sdact teat plan —> ests reno —> nano Fotder —> entler tenting | | C topic at folder name [-functimal , vaability , com polabiltd y, AG Performance , Configuration butiag....7] a obfel ok ~ > eal mene 5 ¢ > new dest —s sebick dest Kype os mmanucl 7 enter leat stanaria! go er test care name —» ULick ok py Select details tab | porte squid dfaiba [ox a desl cas [atest batoy 1d, Teak actop, desk environmnt... ele) Ls sebict dusign Ab ps—> ick new atep feo Las entiy atep daserfption with expectd resulk s etick new abe Feen ones tron to craabi more alips TF nesdid— cltch atlachmants to c vy attach nelakd fee We eras —> click Aaguisemants Coveroge t —> Select Corres ponding medule 5 follow above row fgaion | ( waik meoae fat casey fer ol 2a pons Tbk. modites art CF testing topics. (1d) ett fap: ~ ThLs Component th ved by tattra Lo execute leat ( : : € Vtctes om Sur. 7 +) Selack desk Jobs Tet sels menu —> auwofolder —> etir Condancling eating slopic as fplter nome —> Click oh —5 test sels menu —> ina deat sek > Satie batch name (module nami] > click oh o> (Select Bak Foon — Select atlabd tesla one by one toto lorted [dlaubt C .| click) Poltows Wa ravi galion do caro: moan baddles —> Select a ( hbodh —» Salicl a cate th thot batth—» Ulfch Bon feon —> click (begin eons Select ona stip tn Case —s cporoli SUT and chen Cempon (Step expechd value wMh project actual value —> specify wut ( fessed or failed —» sperity Bile cbove ravigalien unit all abeps (9 42 passed tn a bak care 5 Chick end Con Fron p> follow’ (P obove ravigalion for alt test cases Yn oll test batcles co Motes 4 Sp war forted Han ~lstiv tan slop execstion -lo re pork defect. vO Debete io am Defects menu —> he ch my StI defect report > chick submit —> Mae dere Alot: dn gener mend Sa amg a nee emg oo bred offer dutickton. ‘Test -Lood Fl asatgn that ohfect to et VY Ofbr peviewn. PM can |Asign he difeck do defelopera afr actpting , Developer Can change Aleta lo open while fraieg. she dafeck they wort change ee so find often poy Teatiy can change Akin Jo “closed ofr Successful Aes, arqredaten -lesttng. Ib ae & Acgretatern la foided then testr “eon change Alatus 1e “Asopan”, ook a tb ne A ARR RAR RR AAA ARTIF ~ARRARAmMAS coding © Hanwell Tn gensral destin tebe ox S)wo teating Atoge. In conducting fonction ol tuting _ UREbILAY, perfprmants , Compadabiliby , tonfiguralions , Trter Whi dealing en a shu, Aesting bar foltouss two atyle. ars 4 525 =—-STeal serrortes L J HLo Teak toner L LLO5 Coronet I L cag) Ceding (Sho baila) validation ~f Accxplares leaking word * fe te baking ‘aulegalten Audornat on - Autkiog Va automation torts hams axa ave lvin tn ss Bn thin aboge Aeabing dears ona ‘Sho to chick cuueformer dagudramisd nolSnglouk fonctionslities cy feotorar. They ane. Condsrct, _ttesking fo chuck a bf "9 ron-firticnas Customer exer ptotiong, Lh Mgt... ele Bas J, Sag ——» Terk Sconarios Lb sien Fed cases | J, Wek outtornerttny) + ed seripls i of (anternabic Coding (s}e0 wand) wbeatingh Aiset for AyEL automation um syste ok BIB “ewe Sy Sytem dashing Lavel-o "} nevel-1 \bavel-2 [Devel topics Canty) avr) | (Real) * resaion |CEleal Aagresson) Functional Ponuatty aulomation | Autemélion _ € thing d c Per] = Ipenona x Pe eee eae cleating ; ' T a oer ron- x | rronvally| mantels | Aonetiomad desting | . ; | . Faom the above dable testing far ith ge fon audemation fo oegresdion bevel oh. FHirctional biti + Thay wil go to autometfon fn alt bevets 4 porfermanc. Artting . Buk other non-Sonctional bata Lhe vsaltlity derting , : Compotabi tity ating: Congiguadlion fating ele are Burlobte. vranmally only, because they ore eaty to Conduct, nol expensive ora rake han Home. One moae araton ty -that hee ts ne ell known -loola for those texting loptes . I ~ AR RRR AR RR BANDABDIDDG ® ATP [antehfest Polesstenal 100 t= : ws Developed by Herery Brleractive -bhe over by HP. OP ined fon fonctianal dist antomuilion ob rcgyesston “luvelt Ho 5 Ron on ssindooss operating Aystim. client «| sever veatens . ¢ > GIP sports functioned Hist auttomalion oo a sho, which cy € Seven developed Ta VB, «nat, yave , SAP, Sthel , Peoplase}t , att, oaach.Finaciale, Dalpht, HTML (sock), eb services, stingrey ,Foverbali standard windows ,. Activex ,visvaldge and terminal Emvledors [to Aerk Gorey Vert and Pom moinframedt, “LS Fo Convert manval ish cares into j poe can use below clechnologier tr are. | oastemotid leak scripts, Forel era} “Teal cose. oj Vb Script: — | 4 ) twa Aight -roeighe dangusge ~hia language fa CU tnbuil fh potndows operating Syston wirdacs 03 windows Soviph. host x56 J (wsH). & k hell ef kernal Bho a oo € Like as programming Janguoget vbscript alio ConstaGe € of vertobles ard Constants. fl vartible or contort ta ated fo > hold @ volus.but variable tA changing that rvolus. To € Aedes 9 Vanlable To vse tpl. 16! can fille Lelows Syteen, oe optton explicit o dim YR , wt ae From x ha above Ayres ay s aly an allow any 6 Aype Of vole Ths te contd al “Voad Lype. se Nek: Vb Scriapt Us rok cose. denaiive, dag g thes t dul te : 1&0 imeler of end 4 any Alettmenk fn Vbseriph. . — dn gerald vbSert pk Programs soved Sith Biter Vice ~Pvbseript ta inteprebd barge [eompiling” fy Aunning of atin} 8 ‘ ext Option explicit dim 14,3, : ie nw 2'0 ‘ yore ( ae SG maghot 3 : Jo declare Grtlants we can follow below Ayrtax 1 option x, 94% 1 aeto y= 30 Cammt Ste levdercase names fos, Naniabhs and uppercase names fer constant: [ap ‘To walk Commanti, we con tne Aingle quell at slait % Commant ~2 Ty yeu taney Grp Rol sahth oub selecting ary odd in, hen Qe i itl worh as editor for * vbser? pF C "| operators th vbsertpks — ( | DAartnenbbte operators : ~ cS | Exponenk(A), #, /, mod, +, —, _ (1/9 Aastgomant opeseton : ~ € _ = C 1 Comparvixion tora: ~ e conan peace a to Cl 4,42, >, >=, 9 16.2 pobMagae Co: 4) Logicat operators : ‘ c aad, ox ok — CQ Gordiitional statimentt CDEP condelfen . tx: option explicit : TP cordon han we Sm %zZ10,4-20 he = 1B x>y then | end F2 msq box x Dy te. else Stodbiment, a cd msgbor y Aa TE condition then end %f | = | = Cf he ¢ i = end Th | «) TP... elset® skotement : ~ Mulb -Condikioms checte 4g d Me Condt then clade Codi a han : mit else 6 end ** . gx Wali vbsevipl code le dtaplay grade “gia shdent wot | 6 tole) marks. JP doled marks 2 too then ditpoy qode as A. dh ( -lolel marks 2200 % 240° Shen display gree B sk elot ( rraxha £ Joo 6 > hro then disploy gnods as ¢ Sf delat marks € < 600 than display qeeds ar 0 c oplten explicit dim st, ean: ‘ Aotar « finputbor (Senter student loka) marks’): : : TP total >> e00, Han c megoot * Caade tA 8" / io ae ele tt total 200 and >= 400 : (e magbox * Coads iA 6” t€ ele!P dolal 2400 and >= 600 r¢ msgbor ~ Grade tA co." ay cise ° € msgbox " Grade %& OD" ‘ Engi Nole GTP tesbrs aan slog Tnpud box fordtion to Anad tnpuk fer BuP) HALL Vosriph program to display gross Salary of on open werd baste solaay. Th baste talary 3 5.000 , Ken 9799s Salaay SA basic salary os C r Keybear. and magher function to aitplag olp while aunnig peyams. ¢ ( ( ( basic Seley oe basic polory < 15000 and = soor, then gress Aolary W boadfe dolor + 511 oh baste dohary df baste alo < 8000 +han grees Adlory 7 basic Salary +200 | option explicit ten grass; baie | paste =Topubbos ( tnbir employees basic Salas”) ‘ 2 basic >= 15000 than gross = basic rie basic ras gbox ygross | : mmsghor Ugross c& ° 5 2) elseif basi 4 15000 and >= S00 herr | grass = baste ¢ S* baal | | ( € c ee : = cl gross 2 basic + 200 C | See msg box ross coy cheit C jead: Hath. vbseriph to ddsplog cininteatin "an fatirest on fined C | deposits to a bank W.2.t aeporilid amount ancl Lime. I ( ictime = 12 months, than Gmmbsafon 7s Ish. of amount for wok ( month « dh, dima 218 months and > 6 months Hun Commission & 81. 4 amount bes gach month. coluutalt -folal commission optton explicit dim amouck,+,te, me \ amount + ieputbor (* gtia amount"): Ae Toputbox (exter Lime in ments”) fe doeia then me = ammount % hoo i evef2 t012 and Sa 16 tes \ Heer ine 2 amount # Soo “y be \ me =o Eno Th nesmeae : cmaghea "Total Commission ts” g be) : | DD Selick core slabmank :— dt te allemalive to P-abele | Abatimenk Buk kts slokmenk % nel daperding en Condition AL dupends oh dink value. 2ai:-optton explicit , oli day - nurnber day number > toputor (* entir day number") Selack case day- ure her Core) msgbor * Monday" Cae a : meghox. “ Tussdoy*” 2. Core 3 msqbox * Wednadosy™ cote. 4 meqbox “thuuradasl* coax 5 msabox ~ Pek" > Bare Soy > case & imsgbon ~ sodurdoay ” Corse alse msghox Mavalid day number” end select cus: option explicit = = dim credil ~ card CrecBk cord = In putbox [* acter your crdil Lad are’); Select tose credth_card to A RAR AFAR RA MAA ARAAAAAD Cate “visa” msabor Accept . no case * Moule : msgbs%_ ~ Accspid” case ~ American express * 2 | msgbo “accaphd ” Lien case else magbox ~ T Tnvakid Card type" erd Select | wales “Vbscatpt allows you lo erclose charadtis or aiings by | using double ouatis | teop Alakwankis- to eneut o bleh of Alalimnanh moat than one fin fave can vee Loop sfolimanli Such ob While do. ahtle de -ooli!, fom ¢ pWALL loop: - se can wie this leap lo x0 Apesfjed block of code Theradbively on dong as Condition was flue” LThike Condition i } a | end. 1B) cho Labbe: ~ Re can vse Hs Loop -lo dun apetified block of, Atotimant ‘baalivels a borg 4 Condition nar fue, do \ loop Weibe Gondttten | Buk bloch of, Bakement wit ne exauutict atbeail one dine wher ICondstfon na fave. 1) do untit Loops ~ we can ure thts Loop to avn Aperified block yf co | Bleredtively of org af condition sor folie. do sthiss Alalirrant fh aevesse Conup Pde dow tht Ababment. onk?l Corel bin & bor loopi— tp we eg -we can use for loop gar. for fe! to 10 Abep | + teerement % by 1 nok exe for tal 0 abpa , teoy 3 EE, tremens neal fe Bor ta +o: skp ~| nexk D. Fer-each. leop:— we can use 4h24 loop rfo,dvn: Apecthied beck 4 Atobiments fon oll values Io alt or aug. for each tty ana? Ww nat ex: Walk vbscript tode Ao Aeverne a qiven number. option expliat rg (1 alin pum, ©, From a num = foput boa énbir number’) mom 20 phi, nurmnso Te num rod Traum 2 Youn # Io - A ume S¥@rur /i9) wend msgbex ~ Atverse umber Ta 7 gyrnum a mA RRR ARF RR AANA ARTATTITY do Nob: tok cy Rondlion axturns tetger past of shan Vela ex: Pat(to.t) sto - Arrays: Array’ axe -vaed to Atore more. than oni’ dissin | Value , oe soe wx ex: option explicit ee cile ae, + aca iow] 4 a) xty| 106] 2 a) 3 aly Br above diagram arrays [Sige ts Bub fade +, Fo atove~ valices - 25 an option explicit Be x be tle ory ee option expe dim aay, 7 indux Atartid with o , An array Oday ,. we can bettors below rays. for t20 4g stp 1 (1) Ter pukbox (enter value”) next gxth Maik. vbScri pk program lo read 5 Sobjects movles he ated ond tho Aiaploy total mors option erpLit 7 der 04), 7, doled for foo Ay 4 sbp 1 XU) = trpubbor (" gntin me subjet aT Marts”) nek stort =e for t-0 40 4 Ap) ela 2 telat 4atty nexk magbex “otal marks are" g tolel grar— Waik vbavipl program -b sad © avbjecks rrarka Gnd then Paplay Righetk marks fh thak Aubjeck err — anay valish at Abriags dix to His rcason arp —festirg exe using Sige costing dot efros convert to Fatages Cleg Convert to bons, fetiger edblu— Convert +o double [ ptoab) Cacti > Convert -to dati eboolan t) 3 Convert te boolean (rae ot folie) EASP Wisk vebenipt program “bh diaglay carl of — Dumburs | and edd numbers in gives arog option explial ddim -%(4) 1, ecount , O6Unk & AMARA ARA AA OBOAABRAAAADA | OARARAAA7ATO i ~ AAR RR for t-0 40 4 Step) 7 ai) = fnpalbox (7 enbr number") next count = 0 | count +o for: tz0 40 step 1 ig xi) mod 22 0 shen @count = ecousk #1 else count = otouk +) ant 24 ie ok.” "even numbers Count * pecouk meg mrsghon edd “number” Court" kocouls enn Wath VoSevipt program ato: a eget % Smallest ro: ‘in on aoe, open explicit dim x(), 1, mea, mia z for teo to 4 step | x(f) = Inputbox (" entr numbers” ) next min smox + @x(0) Sor teo to 4 sips 19 man. 2 2% (4) hen maxs 21). end te : ie min > Ket) then ming 200) . tnd Th . 7 nexk msgbox *" max. number ts” imax ™sgbox min. number is” gemin Node 2is Veber pr oo ce —~ oy eee = Vbseatpt TallewA you i Ayan eftoustion 4 ea ue a) ‘ome duclorction fedtm xis) Dynamite ellocalion > Nbseript allows youto rmamoay daciiesttion fox omays. erove x ~ mumor¢ “ — vbscript allows you te altocal: rmumony dyramicaUay ssHlh out dindurbing exalt fog volun fn an onsen dim x (4) * 5 elements arcu Redtm preserve xls) | 6 ements eray sfthoul ditturbing previous 5 daminte. - Lhe” GA programming language, VbSertpt also allows you Ato daclans multi-dimensfonal arrays. dim LDL) > 5 res 4 elomms ode ‘Dicdionairy objects to VeSertpt SETHE Like to perl (Practical eclvadion % ay portins De Vbscript alto allows you to ouck dicli a Object: Pach hictionang object ollews you to atore . pairs a dala. [boys fy Hems} “i Jno dictionary kegs must be unique. To odd . Hem paws to a dec ionarey We Can follow below Cocke, | ~ ee eee OO a a ( -~ A a aA RRR RAR AAA ADIATOO option explteit - - - Dim | Set d = creakeobject(* Seriphing’ dictronaxy” ) a. Add ~ English") 66 di Add * Hothis * sto : above code ise ened Addo method lo Tosert bey latin Fo accera extatins Hem pair from dickonary, we can Poilow below i a . a J ms dikega b get hays Yr de Dts} geb be Dime > ex) Wb vbserfpt program cto carahi o dictio, toFth: Subject names % marhy af pairs % tem calculate total marks fo aiaplay option explicth. ek ee Dim d,xsum,7 Set d = creadeobtoct (° Sertpbing, dict : aa ikem Rrotks ag Add “Heth”, ox Ada “physics ", 344 Add ~chamtatry”, a4 Add "Tela", 66 - Add Eaglish "95 fenory") ae ne x= bona gum=0 for each 4 tn x Sum > sum +t next msgbox “Sum ef marka ta" yea (ee \ eprier expuuss Dim d,0\5,m,%x,5um,? Sel d = creakobjec (* scripting, Dichonaty” ) n = fnpatbox (“exkir none subjects”) Por tet ton sep) & 2 Tnputbor (“enter Subject nome”) m+ Inpukbox (“extir marks”) ol. Add s,m Next aed. Tams Bum =o for cath ty iE Sum 2 Sumy? Aexk Magher” sum of marks 15” ysun's Bae Wate “Ubseat pk program 4e tusk a! di vena worthy employee names ¢ -Hain Salaries . oy Han aay Highest Aalang emploges. name, option explicit fF | Dim din,s,m,x, Sum, ? AA RAR FRA AR OATDADA Sel as carabcobject Cc Serfpbing "D. a = Topat bon ("exter no.of Sai ports”) for teal don sbp 1 Se inputhon (enter siGlck same”) m= tnputbox (et, Sad) d.add $m Next { card alo ZANT ey mT RRARAARA ATT max > 0 : 2 Red. keys for cach % tn HE max e cing (4. Dkm (17) then max = ny (4. Dim an) slemp sf End T Next msg box “max. salary employes 75°” Nok = Fo change existing key code. temp wAh naw hay We Can use foelows de hey Soda tig’) 2 “new bag” : ~2 Te change existing Hem fn a dictionary, we can une below Cede atm" bag’) "aga Jn" > Teena oof byltlen xj|ttem pairs to a diclimnoay, we coun suse below “Code ned, Count : ~> To remove. key [ Hem pains fron dictimary , we con use bale cdi di. aemove (“key”) * speafe potr aamoved a. removeall ‘AL pains -Aunoved bub d abive € et d+ nothing TAN pales Aemoved and d wot cdiod > Previously dinursted variables, arrays | diclonakies ora allowing you lo atone data saloticl to outing bub their Lie time tr gotna ead when our program exenilim wed rd preg Firdshd. Dus to han rorsn fishes con go ty Rok wih fie! % - a. Ef Sh | oreo Dichiowsy sami cu Wesking With fel fila To mainiain Jest dole « beet rcautts lest asclomaters are wilng faxt files Ted fits are oto known as fiat ibaa). because there fila are occesti ble Bae by Las. TP => - [Test netetts o [= | i [fob fe fsepetin fu Te coork witha fle fn @TP, we can. vse below code to vbseript language. pe Ee RE : vbsertpe Tont fe] a oplten explicit dim #50,fo Set foo = Arotrobsect CSeriphing : Filesystem object) Set £5 = Pgo, Open’ Sent File (” pan of fib", saya, tre Pols) e Rood Wt opped Frcs creat neo file token fe does es folie» No Pile crcotion rohan file cloer fof endef Th you open a dele fn sakh mode Shan fhe existing choke % foo file befor open wi! bé areplaced by new deda . Ipep open o file Tn cppenel rode, than the nano Coctink Ast) be eddies | to at the end cH existing data tn a file. o ae A a ~aANe ARPA ABARAT BES open Bink GpenkextPiheo :— We can ase jnre Be Azttim objec Apecifjed file 15 apetifred rede (end » Alendofstream wy; F method te open WALL, B- oppedd) > We cau ute -AE fe object Properdy to know pnether Controller ab end 4 foe on rok- Reodlint-0) $~ s3e con ute thy file ckject method to gel ae oF desk from o fits. “Thin muted moves conteollur —b nant Brae ofr geting eto Loe, . “SXpLato:- we can uae thid file Object muthed to 90 to naxk- Ling poten ou Sag corrent Dine . - Rrodt):- We con vdethin le object ~ frethod ogee Apecified n0.of characbnt tn corenk Hae fo. asocl (6) “Fo get 5 chanachira fom the une baa. SIP Os We'can use thie file object method fo kip Apesified co. of wnmactera fo cuptunk Uae yoc cy ane ces Ex: My fame [khan fo. skip = Fos Read ling magbox % tmy name iA lekan ~ ovL Vbscript program In arp to display cHiling Linas exec a fh. ¢ SE C1 \ etl bat ! option explicit dim £50, fo, x a Seb fs0 = crrakrobject (“eeriphig Pre syttm Object) Set fo = fo0-opententtila(“c:\hestdloda.txt”, 1, false) while fo, AbErdORSIream 2 struc [Fo Skipine B Po. cloae Seb. fo a rching > dard Saye Set $50 = rothcag ‘destroy file sytton object. £8 wai vescript program fn arp vo “display Lass fo 0 fits, which deer nok alark with # - option expliat olin £50, fo, x set L502 Crakobject ( serlptig File Selim object ”) Seb fo = £50. bpertenthile (“6 \teittata dab’, 1, fobe) phil. fo. Ad end of Stream 2>dyun : we fo. Rad. (4d. a Pio x Se tun re tow. Skpling le else i msgbox xefo. Qodliae - y ett ® _ | $0. ese Set fo a notiing Seb £80 -nrothi : | 3 | Ed Waite vbocipt progian fn GP lo ditplog Lines of | = ; : | o Phe, which Consiats mindg,” Shea. Dam mindg, statment My name ts cugale ANN RRR RAR RBA AR A ARAMA DOD Mendy & an tnetitute AAR RRR ARARARATT TO ! oplion explicit dim 250,20, % ' set $50 = crurahobject (* sertpting, Fidasystemony ect”) Bet fo = £50. opententfile (C1 \Jesbdata dnt") 1, false) | whl, fo, Al endofstream ¢ struc nfo, Readling 92 Fowtr (x, “mid ¢”) en | meg box x bad TE werd fo close set fo = nothing a set £50 snoting. Togbeye— 1e can Use ths ees ane to. duck -the extline Tratr [mainabriag : oa wali, vesertpk program tn ar -fo Asphy Diner ofa fide, ih Liark hove numuaaics, | Tam loth ming Studunk | Hg mame ta khan Hindg ta an Tosti bate ach de Prdia 165 fimes . opifon explictt dim #50, fo ,%17 Sek P50 = Creab object C scripting. ftssystemobject ") set Po = $50 . opentent fie Cos\hestdale . dnt", 1, false) seb rs new regeng ‘creak segeng object V pattern = "Con }+” apeithy aqgenp WRU fo. AE End oPStream oy true De vetest ix) than msgqbou % a, End FP peend fo. ctoze Set re nothing fet fos rots : get so = nolatag Bxrsy Wack vbscrtph pacgrom & are bo acad Line by Baw from ome file and fhen Walk tole arom fit Option explictl dim f50,for,fox,% sel #50 = eveatrobject (* “scxtplig. LaSystimobject") Set for ='¥s0 openterttibe (°C: Hedldota tab “yfalee) Set for- fs0-opentext tile (21 \lealdalal tnt ata) Whi fol. Al Endok Stream 2>daixe = for, Acadline 09. wri : oa tor bbaUinn (gy 2 ROR AMinale) agend for, clese fog. close Sek tol = nothing set fore nothing det #50 = nolig bribe: — Ke can vse dhs pee object method to waite a Apeciiea tert fo a uwrant Line 4 pile. walibiners:- We can use this fee object method $0 mak pec fied dext Tha umenk Lins & then move Controllu. to node naw dine. x AA AR RARBARDAARSA AR RAARR ATS We can vae Te pele object method Jo cule Apet fred 90.6f Honk Unik and Han move controthi fe ak ny) Dine. » Atendok be: — ye can “Use thir Fle object property to noes wheather cortrolter ab enc cf wore bee Vbscript allows you to woah with folds alto. Pn genval every folder Consiate Of Subfoldera ¢ FLA. To work wlth Riders, lest automahna arc wating belocs code. option expliett dim £50, foo Bee ie = cuabobject ("Serfpling , Files gatimonject) Set foo + foo. GetPoldin(* pat, of the hotter") exits” Maite veseripk program fn @rp -b display Lust of dubfoldars eat! ! and fs tna Speci fed leer (es) Pightacseovetion) option explitt dim fs0, foo, #8 sfos 3 set fso- Creat object c seripting Pile system object") Set foo = F50, CetPolder (+6 + \er Set $5. f0. Ctles Print ” Cilea ores? Print 7 ight Reservation”) or cath Yin £5 Print ft nome Next Set sfos = £00, subFoldurs Print “subfolders are” Praha” for each ? %n: 458s Print Te name oe Pre mcrps pregmmnn in ger mae eaniprge mg tine ila toa folder. Prins: di fs a bulll-tn fundtien of arp., nol atlabid Vetertpk , We can pe Ain’ funélion to dixplay output tn Bvlek teat print log window. £22 option explicit Dim £50, foo, #5, | Sel P50 = Creakohject (* scripting. Pilesyatim object“) sel foo = fso. lade C*\Plighivesevahiod’) set 45 + foo. Fils “get all fis tn thot ee for eath + fn fs or fe tasty (tename Y dad “ie Print Tname tnd 72 Next Set £5 = nol, Set foo = now, Set £50 = nothing . gelfoktercs ; - WE Can Vde thin fee aysin Object method Jo creat. a older Object for aperified folder. Aso. getfolder (posh of Joldter') “ ot 0 Mork Lis diver, wesc ipt allows you objects. to carati drive Sa) Dirgloy _ Free apace in 48. Option explicit! Ban £50, olro , %,y Sel £50 = createbject Cseriptag: File aystimgb ject") a ea oa 3 a ans ROO eo | 3 Sct dvo = F50.Gel drive (Ce a= dro. Freespace 4 = ® [Gory a ron 4» 1004,) Print yu * 0B” sxe Displag used apace of c-daive option eaplicte Dien $50, dF, #4, 43, set 260 > Quaobject (* Hog. Pilasysbimob ject") | sel dao > P60, GebDnive (*c") nom ¥ dao. dobalsize . y > dap- Farspace wage ste-y)| (194s tory 1020) Prick we “ae” | Gelbrivees: = be can vse This Pile aystun objet milhod to czak. a dive object for apetifed drive. fs0. gekdaive (* drivenome’) torakfeldar ts: — we can vse his fle ayer object method +e corti ford with Aperified goth $50. Caelifotda Path ef nso fobs") fxs: Create oO nen dat fle ta a new folder oplion explictt dim fso foo Set #50 -creatabject (seriptiag. hes yibmobject) | £50 .creabfotdar (> 6,\ giestzbotch ) | Sel foo s B80. gelfolder ("c+ \ greotebath") | foo creabifentfrle (‘Hert’) “ink cM puea Lu premer” ances y Workurg etn excer pee (WF . wi sestpk Tr arp ctu support eaeat + Sheet accessing oh NS- ofits. Da gentrad, most of jhe dealing Hams Paw using tis -€aced tor. teak data % deat Aetulés. intbed t deat fis, | a) Creaking Encel object splion explicit dim exo Set expe Creatiobject Cc excel Applieclion”) x0 -Visibhe = breue Wait (10) : Bx, qyait 2s treating work pools object option explict im exo, who Sek exo Jeena ys fre Applt ye ) C20 VIB LE = dae Sek tbo = 016. work books . Add “New workkeok (02 2 Sek who = exo. work books - Open (" path of excl fre") exo. Quit 9 Greeting Norksheel object option expliat dim exo, woo , nso : set exo s creak object [* gncet. Application”) CHO. VIATOR struck Set wbo - Exo. Work books » Md open (* podh Of excel fu) "Easting tworrk book . —- I}... AA AARAR ARR MBARADRDAA ‘Sek ino. = Who-workekiads (ausabviame™) 70. Quit Not: & J | Lot general Ont workbook of enced SJus Constata 3 “| ghee é HG by dilate « Sach Consists of 386 columns and €5,536 sows, Bul tek automotix, ae vatag Apeci bie 70. YH rows | columns fon esting. This aed ara 4 @ Abert Py cotleat Uredsange” ; ” &ult Prepare vbsceripl to QTP +o get exists ee Shoat. ¢4\ Gooky als . an J Ge Perey x sg Veluwe In on BF Sheelt | option eapliezt i “din exo, Who, 050,% set exo = cuatiobjecd (CC excel, Application”) ean. Wiattohe = bree Sek who = ex , orkbodks woper(¢»\wooks wus") set wso = WbI. Worksherts C stat”) 2 WSO. Usedronge, rons - count for tei tor shpt a2 1080, calls (4,1) Print dent exo. Quit Set W950 = othing get woos nothing « gek exo = Mothing « 22d dort vosert pl Sy Columns valucs of, moltiple hecke . Dade) een eee sieek sd option expliatt . dim exe, Who, wWs50,%,r,1,¢,5 Set exo = cveatiobject (* excel Appitealion’ ) Exo, vistbhe = true Sek wwbo = exo. workbooks open (*6% \gook | x5") Sek 1080 = obo. workstacks ("steak") T2150. Uaedrange . ro138. count €- 180. vAedrange . eslumns, Count for fe 4g Steps . . for j- 1} 40 ¢ Steps : ~ e080 ulis( iJ Pink x “s Nex * Next exo Ortt Sek wWs0 = nothing Seb We = othe, ‘3 Seb exo = nothing . program Ta @TP to display all rows option explicit EM , exo, woo, 80,%,10,5,6,5,4 Set exo: Creakiobject (" gees). Application") CKO. VATE Le opie, Seb ies exo tor Books - Open ("es \ Bool}. als”) for +2) 40 3 Step | a 7 io AR ARAAAARARTATO “ Dain ents 1 Print © ao | os Print “ Print x Next ext Next exo. Quik . Set woo = Noting Sek who > moths, Set who: nothing ‘ Qy- 10 1 23433 66 45% 10 450 iy 4 Sheets Print Row" yf guy Whedte VbScript PREgra fn ATP —b evaluat oA din Hrak column , compare shih and dia play artulk ke Had column . Expression — expecha Set L080 2 Wo. wWorkdkuebs [* sheaf" wt) r= WS0, vredrange, Yows . count j @=050. Usedrange +tolumns. count Ffoxt=] tor stepy for f-1 40 ¢ $ skp) = w90. Ils(P, j) = grr opressin column value aud then Result Passed Foiled Posed forsed Up ceapues fe 240, bo, wW50,8, e,en,7 Set exo = Creatiobject (“enea), Application”) €x0, Visible etraue - set whos e710. workbooks, open (“0+\ eeok 2-74s") Sel- tose 2 who, worksheets (“sheet 1") we WS0, vaed range , rots, Count | Hye fon dag B55 Gz ws, calls (7,1) £% = vso. cells (7,2) YE evat(e) sex then ‘asol calls ci, 3) Font -.cplorindex = aor #50. cella (Tf, 3) = “passed” © 1350. exits Lie 3) . Fors sfonde . WSo.ulls (7,3) = &nd *e ela Next ; ZA tbo. Save exo. quit Seb Ws0 + nothing sek who = nothing Sel exe = Mothing Vbscript © QTP allows you for poumatting ulls to On excel sheet it evatl(edeex un ' | hse. lla (1,3). fords bold true nso. aA (1,8). foot, size = 20 W050, cella (1,3) font. colorindex = y ~ ANNA we AA RR RR OAAAA woo. celle (7,3) , intertor. eolorindex 21 black #80. lI (1,3) +" paired” elie = { woo. calle (7,3). font, bold = tin 60. ells (3,3). font. sige = 20 a 80. 4ll4 (7,3) «font. colorindex » 3 704 wso . cella C7,3)» tntrtor, colorindsex = \ 250. cll (1,3) = “Foiled” endif | Noki:— ybserépk does not allow calor noms, Dus to-his aaasen lest asibomatirs are Apecifing colorindexes rom | 10°66. e wait voscripk f fa QTP to bnow 56 colore option explicit ira ex jbo, 50,7 Sd exo = Crrabrobject C excel. ppltcalion exo. Visthhe = faue Set tbo = exo. Morkboolas , Add Set yop 2 bo. WorkAhscts ("Sheek") for i=1 +40 96 Stor wso, calle (1,1). Pont colorindex =? wso, calls (1) 7 New woo. SaveAs (Se: \colors xls") exo - Quik Sek WSo = nothing Seb robe = noting Set exo = nothing VbScript wn Qtr & anower ig you ie quem — ; + endali do.. Thiz Or graph “in an excel Aheak. worst - existing data 4 ti Concept t& Laer do feat aretornetbers to gervatis clect Aepor | : : < : Lot cheat 82% Waal. Voscript te GTP So geamali a gop fr Laat Aipends on existing dole fr below excel a c+\ Gooks. x45 Overk awe Rung 5 Deter anruabk ~ s a option explicit dim exo, Who, ws0, rngo,, cho Set exo = carchobject (excel. application”) 220 .Visr be tae Set who > ex0. Workbooks - Open (* C+ \books.xL3") sek woo 2 who. Worksheets (“shat”) Set rgo = ws0 range ("Aa") 6n") ‘creak. range object Se cho who. charls add create art objet cho, chartlype = cy “Spectby chart type cho. setSourtedoda ango, > * Specitey dota range source cho. Localien a, “shee” " specify lovodien Jo display bobo. Save Exo. Quit ' ~A ATA AFR RRO OABA RAAT % on PARA AAARAAAAS | oka table Combats Set cho = nothing set rng» Nothing & | Sek 286 otha, Set bo = “nos sek exe = noth, | cresting chart abject: — Ale can vse below Code fa vb. Jo hh object, | nA on tobo. charks add : This chort object Consiats of 00 mata properties Auth al “cestlgpe" and, TAcksouredata'. we can vse Brat propesty to Apetify type OG te chosk wohtch very from 61 to to. Cho. charttipe = 68 : , : fe SAN Use Second property to aperity data fo be used in cheat patpancttion. mopar dala ; cho . setSouree dota 7 al; serfpt to genualti o chasl 3 Q- 2-Dimenstono} 3B = 3-Dimarsional Afar completion of dart prrpardlion we con ure. lecaf terry | 4 cy tn melthod -lo pe by place. of chant Pn Aheek nore” Cho, location 9 |» shat, Nek >To get Me.of Aheats fa a work book; OL can Use below calle sek Who = exe, workbooks openlic n= Who. Work Sheets . our. Bock xls") "> some, orgonizotions are not hoviag Litarer Of ws B need d 6 MS~ offier (Hs —entet) «Pa Hair Companies testartomotens ore wring in—bulllt “date doble © for every Lust Sn ate a sheets, Auch as globat. ¢ action (Local) The dota —bble te cary 4 access than Hs-exat for every wast jest Gutomatr Con Lee’ goramaou LNec! to Aead- and watk dota. This buflt-Pr object c Constants at below. properties and methods - ® oddsheekin: ide-con vse tha method +o add-nsto thee} to oe dolbde Geto toRE Ltolabhe . Adclahect (Sheslnome") 5) Delefaahertry: thir methed removes existing Ahesk fo dedatobt | except globo! ond atlion Oolotabls . deleteshest(Sheattd) I= for Global sheet Q2- for action) shoot %- for added shel... ofc ©) Value ise tan ce os Prepealy $9 aac or oibe cae. fom eae Waite GIP sevipt lo add. -twe color) vebéies ond shan Aeiplag Ole tn. 2 column ef dole bible . : Dol bloke Global Sheek. option caplic?t dim x, 4,3 = delatotle. value ("foputi”, 1) Y= dolotobbe . value (° fmpata", 9) Boe Unk) + cork wD | datatoble . vabus (* output", y+] ell nebe= ¢ 09 0 He ‘ay m= RRR RARARAAG ~ os which Locatid tn different sheets of dled. tolble . SS white uring dala table dela, ov Progam rH Aun mone | tran one Hw automatically ps8 owe having” exglictt loop | Cenvally ouk progam aus fon all rows in cate lable. > by default. Jb you wank Change aclhngs we can follow below navigation ‘ |. Cid manu > oan, 3 Ron > selack Ron eae MHenilion onby "er Pon all x0wA " (92) “Run. Prom — do — rows’. —> chick apply —> ok > Afb enadlion of edt serfpt word data lable, ofp will be iviaible Yo gwnstims dale table. This awnlime data tolole ta | Locating fn oepultr windows. To get aeaults window for every test, we can flora — below new igati on bels menu optten —» aun os aobick view resutls woken sun Beuarion ends” _s lick opply -2 chick ok exar— Wotlk arP Script to cisplay addition ef +00 numbers, Dolo tobe Caleta! shast Tapeli| outpar *R Ulva) Aheot pelion! Aheat option eaplicth dim %)¥,8 x= dofotable. vali (“taput i", ») q = dalotabls vole ("input a”, a) a = Cint(x) + Cintly) dototobh.. vous (" output’, 1) > 3 / Note: fo get the visi bilaty of dodo ~lodbbe for arent: Jesh ne can une view — dala table option : a “2 Fn pineal @rP will save evry bub os a foleler, Bn this folate} i Corresponding dola fable. wil be saved as dafarth. xAs > Some in our test script we want to own a port orate anc Atmaining park mons Han ene Hane, Gut To QrP,testsciit WH be vexed rose than one Hime fon all sees fn datas | + Aobl Dia to ints orator ioe car fpllers beloes rowrgstion 5 | Senfgt Pile menu —> settings > Ron > Sdecl Ron one Ttindlion onbe ~> cick apply — Lick oh > fottons toelors Jyvreat fo sexfeh | ~"p 2 dblelabh. getskect ()> . getroweount. oe roa t=) 4o n Atp | dota table . Sebcurrenteow (1) nexk - ead: Wath qi? script to disply Good morring* msg. and “then Aspley oll existing names “in dota table Tolo-lable (global Abast) charge avn settings to om iération only Prot” Good morning” n= dolotable . Getshert (1). Get Reweouch for t= do. n Atep 1 doloroble , seb usMrertRowtt) we ee a ato. a ARR RRA RRR ADA AAADADDD A mR RRR RRR AAR AAD TTD | Hpe| ©) Sekrent how ():— we con Use hex deda alle method a | Apes | Patel datotable; voluntary Next. enthod 3) Get Rowtoontos swe can ure. -| this properly Of, dete. totale. to get exitking noo ros Sn Apedfred shaet , j dotodable . Getsheat (shetEd) . Getumrant low count ~to point 2010 Sn uorant shook of dota table | a | dolatable. seewrrentRow (rowrvmbenr) ) CekShest covaliy:— we can use this method to get ne of Ahli an dota telat. By difaibt alata lable Consiati of & Shasts Such a4 Cobo) & action. dalotabl. . Getshest count PAY Some organizations Lisl automated cre sing. datorobl of test and external MS—Exco! shacks bobL | Nok: —: dalotoble HS -2eee| pork Export g) Tmport (:- he con vse thx dolotoble method to ‘import an external enced fe Seto doda -laJole dololotle . Popork roth of extinal excel +h") hike Ymporting, bra whet of exal ble data stored + Santo globo! Hthask and then Second sherk of excel pe Alored [ Snto action) shunt 4 dod. tobe . Stilo forhen shel one loved tnto addid whechs of ate table cpensreR: 4 a So per en ee woe Apected “a & externa) — excel “ple tnle dodo sabohe . dolotoble «2mporishest {" Poth of excel fie" “shask name”, | dotodable shut Ta) “ot \Gook ads”, sheet ly I niebi-Fretiad of above Importing methoda, oe can fellow a navigodton . Place movae fointir on dala fable —o right click —» shut —> 8x: delatable. Trporlsheet import —s from file —2 browse path af excel file —> Setach last name —» click ok 2) _Seportn:— we can ute his dole tobl muthod to export 9 dale Afabte to apecifed exis) be dololable . export (“poet of exe! he 4) ExportSheeti);- We can vse this ,muthed fo export Specified “keel dale lable fo exet LL. dololable . 2aportshact (° Poth oP excel JA", dolorlabla sheet td ) Nok; - Pastod of exporting methods jwe can Yellow below rovigstion Raght dick on dolatobl —> Ahert — export 5 browse path ot ent file —s click save 4) Addparamutir(:— We con use his method —lo crc a rew Color, tn Apecified Aheat of. dota lable dalatoble . GetSheat (Shusttd) . Add paromater( “eelomnname” , ve aa — We can vse +hiA method to deliti previ seals added column tn Apetfied hes of dota table dalotoble Galshest (shurtta) . deleti poramelin colonic au | Joakeing Uh mie, PR XML stands fom extensive markup Jonguage. Ht ts morking dota fo Universal. format. ener TP Root akermont- ca Lentry > —9 dtld lament yp cvaetd> anjoll < Jusertd > gubduld i Sarnath Af pahAwword s> Anion? < [Posswoords ( Velux ( at} Cc! duserfd> baanthy dfuserid s {> k password >\Voms? 2) password s C < fentay> C “ Lusertd > Anjali Z[usera > & Password 5 teati tng < | Possword > Alentrys Mindy 4 usertd > € 4 \ Regia dashes ami" AAA RR FRR ADAADTRAAATITD < Password > Systiows 4] Password > d[entegs Kz vrevid > Admin dforerid> ‘ aa < Poss word > myself < | Poxaword > éfentey 5 g[usess AAA AA AAAA option explicit dim amo, root, aids 7 x set ambo samlutil exatxriLexombtte (“c: [Logtndata aml") Set avot = xmlo. Get Root Element set childs = Soot child Llemarls Bypath (” entry [userid )) for t=% +o childs count -@ stip | ae childs, 2timLi) Valu Potak x Next Sek childs = nothing set amok = oothing sek amlo 2 nothing. en Wait TP serfpk +o tape beloto 4f mussoge dupes on above ims a pple. nae passin option explicit dim sme, rook, childs ,%, 2,4 set amlo = xamlubil, xtab xn epsom fille(* c+ Jlegindala.2m") set soot = amlo, CetRoot Elmint password 6 ee Sef chiles = soot. chtld Clement for te1 to chiA count step X= Child. Damn i), childelemants , Bim (1), vobus Jz lds. Dim (i). Chid Elements Pim (2) Value : Prink Ly" Password iA" sey Next 1 Set Chtida = nothing Set xnot = od Set mle aoe teed so 1 tn below amt file < ployeras _ < Players c+) Profits aml tname> Sania and [Ages < Address > Prdia ¢] Address > < [Plager > < Player > Sockin <}alame > 34 < JAge> < Address > Mumbai < JAddrerss.

a < Plager > Lakshman djrbmes’’ RAGA > Shad IAges tcc cake < Address > Hydurabod < |pdrors> < JPlayer > <]ployers > optfon explicit dim xmlo, rol, chtids 7, 4,4 Set aude = amtulil . Cosnkixen) fromthe (* es\ Profise . mf) sel Avot = aml. Cet Loot Clumant Sek child = root. chibleLements . lor te tg chiar csunt Atip 1 = Rds Dim (i), hid elements « Hem (1), value Ys chdlds. Pmt). chid Clemedts Hem (3). valice Print xb" Addreas ia” “Yy Next AAR ART RRR OAADARTAAADMDG -~ARAARA RNR NT i sek childs » roth ———_____ | set soolk = nothing - ! set amlo = nothing i j a : Feng Wack @TP Script Vo display valu and oHatbule cach Aubchid fy umd fl. alee éTemperctunes poe CConverttype> vole valus- Temp type =” Ponsighhak ” 100 < [Temps 1 <]Converttape » | CTemp types *cluious” s 34 < Memps K|eonvert Bype > | C|Temperctuas > evap al | | option expliat dim amlo, Sook, Childe e : : get ambo = amlott} » tach on Bogen Phe (* set aoot = xmlo. Get Root Bemonk c:\emp.2mt") Sef hilels = rook. Child ekumente by path (ey converttype [remp) for Te) do Untlds . count abp | ae Childs , Dhem (1). Value Ye Childs. Tle (i), Alibuys 1 THM (1). Vol Print atta * mY Newt set childs = noth. set Aoot = ee set amlo = Nothing ea \ clempeamh . : a7 i optien explicit CS ee ae ~ oe Pernae GU OLR iy me ge ny din remlo, Avot , childs 54, @ am set amlo > amlulil, Crsotexneeorn ibe Cre: emp xml”) Set Avot = amo. Get Root Element Seb childs = Avok, CAild Ehemunta By path Ccorvert-teype for Fai Ao childs count 4Gp 1 x = Fnputbox (* entic damp veins”) Chiles Pien(7). Setvatuetn) Next rumlo . Save File (ei \emp! tent *) Seb childs = roffeg emp"); Set Avot = nots, Seb amie = nota « : a carobixny Ore = PrN oY a rt~—“———SC—S—eEs—=etee Wecan use Har meted to crsali an xml object. Sek umlo = AMLOLT Corral xe ») Load. oO ~ We can use th method do Open ar existing uml fits Set amo + amtotil . Cuatiam! mio, leadkhe (* path Of the pe) 2) mtatounlfrombitecy: ~ we can use Hat matted lo ctiah an uml object ancl fo open xm pe: Set amo s amlulfl. Cuabarml from she ( Porth a fed d) gelacotelimenl ():- 102 can use is matted to Cust an Object ke rool element x xml fh. amo. gelacot clarmunk ee € £ ( € € =€ c c c ( ( ¢ « ( ( ( ) ~ © CNildelements()!— Woe can vse thik method to Guck TOT = cuoli fer alll childs of rook ehemink ox child elimanl. . childelementa aoot, chitdelaments | crtids Chik. childelemants ‘“subchilda | #)childelements vypath OF we can vse Tos method te get Apetified childs by vale yepath LPaentobject >. cMld cLamanbby post (> x Potts”) | d)eentor— We can Use hin method lo find o.cf Bila fn Collection Object . . , set Mids =< porsnkobjacks. CMidelements childs count \ no 4 Childs |p) Deere == be con vase this method to work wrth Aperifiec chilel fo Collection 4 clits. set childs = Cporertobject s. childetements, Childs . ‘tien (Index) Stork Hh 1 € | DVOREO! Wee can use hit mathed lo caploas value Apert fied elemant | Ch . Vee (1). volue | §) Selvale co: - W2 Con vae this method -to hoage ening voles Of Apectfied clement. Childs. Hemi). zclvabie ("Vetus to Claage") } (K) Atributis 0: — We con use tx muthod lo access offs? bub [of clumenti tn aml fle. | . Childs. ‘hem (i), AH ribules .Dtin G). Value | * N \ Srcdin of Clement aden of otlrtbutu of elimart Oncting a v= ao = “yet of QrP alles you-to erro neo em! pres, | Dn general eal automatics are ving this contsp! to gensral | c teak artults as imk filer, € batt Walk arp ceript to develop below xml file « code. C < Environments < plat ferns s 09> Linux < las a Ceraion > Redhat & [Versi Windows 2)os> x : “¢ xp d|version’ s te : <[Pltform > ¥ <] Enviacnraants eyo ba soy Lereutect! c aa tae ee option explicit C dim xmlo root, dtld , x, Y,1, 9 ¢ Set gmlo 2 xNLUET . Croke z¢ xelo. crak Documunt (“environmant") "oot clement eration | ¢ Set Avot = xmlo. Get RootElemunt ‘Geto rok elemunt ( a2 foputbox (" enter number of chills”) ( for fiz! +o 0 Stp 1 ( Foot, Add child Blemant ey Name " platform," " Sehite creshien) | ( Set Chid = rook. elamants “Golo child ( x = tapubbox (* entir 05") a y= foputbow (enty version”) I © Soe iho: — WE can vAe thin _ do save: an aml obschuti, pot, ChIA. Dom (child. Count). Add chtid Slamin# ayniaini "65", x child. Dr: (chtid count), POA child Elemerkegnams. © Veraton" set child. = nothing. Nee eared a \quetbatth . um”) Sek. doof 2 0 Sek rele = nothing D Carokdocument 6o:~ We can use tis method to coh a new ami document wih a soot ebment Sek xmlo = xmbutil . crokam) “t “rtmlo's ouabdowomant (* Name {yx iacot’).. 2) at ld element by nome (9 + - We can ude this method Go add child ekument to Apeified porant. . Read eer oaiee “pama of child", elit fite by ostag rumlo. sovefifle (“Path of £Pk") exarm Wait a@rP serfpt fo ge kelow xm fe. — pars <]tostarsutbs > < Loahdepos it > teatcase cathdepoatt cterlrosuits > pars <|cathdipostt s Ze ~banktag > “yt a SoCo ee eee eeBuvwvwnvryrryrwervrve - AR RRR RRR AAARAAA ATT Working with databases; — Pe Tp general on 8uT conetats ery la wack end Levels, Bach end Revels fa colld as data base. tn | boodional Sat automation using GTP dest arctomalers can Vert database of suT obio. Windows - bated S]uo | Lo toelo -bared Sho From die! above “dk Contiata 4 deta base bodes based Web based Ba Ho shone ond moinloda dle of vases. Valicoke this clola base, we con use @TP ke bvrelionel , testing tool. This tool providr Bidays to validat datobase SOUT. ) Dota-bore check point. J2) Dala-base output volt |p voscripl propamming . | whe validating dolabase ] SLT, corresponding ‘tu adomalir © 4 Concentrating 67 dela veidaion ond data Tdegatty | ¢ 4 | =¢ dala. Tabigy : a Frew ‘the, ahove ea, “Ke Corretaats a nuio dela taterlion Us ae Gallad 94 dela validation. The. Corretaas of tan ertsting | o€ dela TA coltid a dela Jntgathy. outs dbalag dolabate 207, | a Corresponding teak automstera stl loka below frfeardiien fom oC developers ree e Names dalabose tabla G clomne of each “ble poe + Gonectiviby Tn'behoern front od ord delobase of sur. | 9 C fP Meopping tn betwean dodobase tables arol port ed screens. ‘ i dota base deston oh | a ign documant (DDD) i+ D Dale base check poinl: — Be TE tsa eeady wade Contept fn aTP lo tuk dele bnve q Sur, this Check point WF! Compare dato kare before cperadion | € ard afer operation, on SuT bg ( ex: FPilght astervation” fs a windows based sho “hia sho DB d ¢ oe i we daveloped to MS. Access. “This dota tase Consists of, | Orders doable. “This Foble Comists 4 talumna Like “Order | € ember" Customer name , Tele le ordur, flight - numbev.... ete Cy L To Conneck to This dafo base We tan. a a osnfoskesoun | mami). suth “an” Plight aa. dh woe perform opewilion op | {fight ouservelion' - Screen hs aperction will Vonpact an ordura | doble. | ae Lavnds @TP—» @naert mend —s check point —> database hack | Point — select “specity sat Stalimink wonvolly oplfon’sckick Niel wr dich Gusk to solck snl —> select developar given, osv avaliable List (@r- Plight 32) 5 cia ob, —y uate “elect” sbatement jp (ex: Select +, fe tah orders) —» click finish —» cick ols | opty getieg caaaank dale > Ofer Sur Pont end fen flight dasena screen ]_» Perform operation on that screen (ex: update: or deleti or Entert} —> Run cheek poisk io IP > Andlyae dusulis com to [ertimabi Correcnerd of fponk end opziction tmpact on barkent delabote Joble. |Polatare out voli: ~ pres use Tite Concept to aalvive dole Jom data base | Grito doko table (Run-time) and then tot dota table Navigation; — cleat oxtlomaters can chack Lounch TP —>TrAest menu —» output volus —> pala bose sind lise — Seleck ” Spetty sar stabmuct wmonuclt by aplten” —y Gich Weak — click carak As aetack Daw (or eight s+) i | ich oh > orth “select Atotement (siecE cuttorar nome from | orders where order— number 2 6} -—> click finish —> Qumlamber Column rams tn dela tole —p exind sevtpt vatog tf Conditfont | in vbseatet | Bas Option expanse Dim Dvtabl [{ ObTabL”). oulpit checkpoint (~ obTabl’) “naviga ac dodoloble » Value (* pitable - Pow-l ico! tout”) 1) TP ae” Anal!” Then Partin pared . else Cr Cad if D by vatog Voscript objects Voscript i providing Some bullt- fo objects te Connect le: dele bare; Ho AefrTve dala from défa bate, and “fo chiAconnset Prom dota. bose : DConneclmobjeet #~ we ton use Ants object’ to connect fo Apecified del bose of sur. ! : option cxplictt dim Con p Set Con = Creat object (“anon . Connects) eon, open OSA "= xxxx” con. clore Sd con = oothing D Rekviving dol by using second seh object | We can use thia object +o aetrive dala from Conructid dota bare, - ne i i Cel eianin ost ARR ANNA TTT aption explicit an dle co prs set. con = caraticbject ("AD008 . Connection") | Cons open “DEn.= xxxr” \ Set v8 =crsabiobject C A2006 . Recordset”) vs. Open, * Selack sbohimunt™ co 9 re. Clore | Con. Close | Set vs = nothing: Set con > nothing ext: Wade veseripk to. are do chech “ciistomer name balobs value ot order numbers 6, of ordaré toble fm data base + he ght ouaervolion Software - o. ophion: exphet te dim con, rs ,% sek Con 2 Cacabobject (* ADoDB- Connection”) Con. open * @ DSA = QT- Flight 32! set rg = Creakiobject (“avone. Recordset” ) VS. open" Select customer name. from orders where, Ovder number = 6") Con x = 1s, Phetds ( uustomer name! De alae 12 x= "Anjali "then Print Passed” ee Print " Bild” End F% rs. Chea e Con close Geet Wack Veoerpe in wire epg oe eee ig vane “Ya, tadar-number cgloma af Ordant abl. fo data base of fight araservalion - option eapltctt dim Con , 95.4% Sel con = Carabiobject [A006 Connaction’) con. Open «O51 = OT Flighk 32." set vs =carchobject (“ApoD® » Recordset") qo" Select ordar-nvmber from ors” rs. open 4, Con 15. Move Firat while vs. CoF 2 >true ue 1S, Fields (*order-number”) Vols Prfat x re Hove Weak wend ys. close Con. Close I Seb vse rotning Set Con = nothing 2x3' WL Vbscript th erp ty display @ customer names and Ahain arsened Licks th orders Joble of 48 ae verervelion. option exphigk dim con re ,4,x 82+ ton» Creokobject ("AD008. Connectian”) Con . epan “ OSpr = QT Pugh 32" ~~ aA lv eananaannt ~ ARR RA Set-rs =. Grab object (“A000@. Recodaal) — >Select customer aime ttchebs ordered per into YS. open -.¢ con : I 1S, Move FfraAL \ White vs, GF < >t wm a4. Fels (“qustomer name"), Velie ys rs. Fieldt (* Hekelt - ordered") voles Print ah ” reserved '! KY &S tickets” wand rs, close \ Con. close ABODE = Activex dota object “data, base £ Nok :- Tn above ex. sofpts we connictid to data tase by os ig DSN. Some dimes developers and hard ware Siam fs rot Pravidiog pant. Dn this Arhucléon ; teat automobin can cuss « renown Osat or direetty use Conneition Strtag . dh we vaed Connection Atring, than our program will Aun to ony Ayer to nstwork v4 we Used DSN, then our Pregram wilt [avn tp corant machine maby. Creating 05 N:~ Don stands fer dla Swrce name 24 % a machine Level voriokl do lore ali database connection details Stork —> Control panel —> administrative tools —> dala Sourees —> ich ode button —> Select driver name for Corresponding dota. bate [ex: HicroSoft access daiver (*.ndb) , Microsoft ooee a ovacks , | san server . ete) > cele fiatsh —> Specify name fer DSN > give Some duserfption fpr vLodurslordebiLify —> Setect dota bare | Poth» Jick ok —> cUeh ok EME times. Rau, “aa Sn ere mee wt nus genie -to ¢asale DSN becarre Ney arr Intresid +0 a Connactio} » Strings frbled of “Dn. Gul Connection strings Gas chonging -lochnelogy to techrology =G MS ~Actess Connection strfng 7¢ . Provider « Microso4t deb oLe08. +0 5 Dolesource = Rath of- Fit) 3 db ; userid = value 5 pasword ~ value 5” 5 SQL-Server Gnnaction stying Se For Uaer autnentfeation ie : “ Provider = SQLOLEDS 3 Server + Servername yurerid = vaernames Pasnwerd = passwordyabus ; ” - For whrdots 6s aidherteadion, . “Provider = s@rolen@ 3 Server = Servername 4 Database = dalabase nd “Truted —conneclion = yeis” : Orach” Connection st fing * Provider = ORACEDS | oracle 5 Set ver > Servername + HoptString = TASrame ; Userid - Username + password = Porswordvalue 5” Jr above Conneclton sting Tus slanda for trons parent nehoork AvbAbrati Mysql Connection sh ing "Provider 2 He OASQL ; DRIVER = PHysal edbe 3.5.) datverd ; Dolabase - Dolohasename * | J OId = UdeTMAME 5 Password = porsidords | optim = 377, ~ AR ARR RRA RAAT ADYD pau Lnuk ubseript fo @TP to get data from belo & - Apeciffed data Base- Technology + SW Sewer. Sewername : sya Sys Pubhintication + Windows arithedication | Doto.bose noms. mastic. Toble name: Dbo. Spt -valuies Gelurmn names: name ,avnber, ype, low, high y Akalins option enphickt DIM Gn, 1 HY Sek ton = creabiobject ( ADODB - Connection") Con open “ Provider =SRLDLEDG | Server = mabe SYS 5 Database: roster; “Troabea. Sceonection = yeb 5” “Sek YS" > oualrobject (4 ADODG, Record Sel” 2) rs-open “Select at Prom dbo. sq4— values", Con rs. movePfrak while vs.eof ¢> traue 2 2 v5 Fields Crame). valuc yes. Fields Cnumber"), value Print %&" howe * ny 8 -movenent Wend vs close Con . close Set rs + nothing Sek con + nothing Pp WDaLAR VO OTE ete aerate om 2 prow ee epee “Technology + SQ server. Servername + SYS Datobarename? Mastir Authardicalion + Windows autherlicabien . Table rame : Dbo- Spt monitor. Column& name : lasbron, cpu—busy , To busy» ideo! ete optfon explictt dim Con, 18,%,Y Set Con Crrabobjeck ("A008 .cennecttan”) Con ,open ™ providar -SQLOLEDG ; Servers SYS 5 Database =imastr, Trust -'Cooneakton = Yea > sat r= = Craphhjeet i sel vS. Oe “ sebict + Yon dbo: pt. monitor *, “ton vs, Nove First While vs, Gor <> true ers. Pretda (* cpu- buy”). vobie gers, Flelde (* t9— busy") volo =4 Print 2& “ond YS. Hove Next wend re. Close, Con. Chose Sek Se nothing Sek con nothing “ +O. ~ AANA x a we ° a fs ARR R RR RRR RM OAAMAA 2 ~ APF RABRMARAT TOF Dea @onactionobjec methods and propeatios We Con vse his object +o Connect ty Apeufreot | data bose. this object Constati f Below proportion & muthods Dopenv:- we can vse thie muthod to open .a Connection fou Aperified data Lore Con. open “ dens xxxx” og Con, OPA Connection String” 5 Errorat— we can une thie propeaby Jo hnow wide the ecevronce of errors ihihe Opertag Connection . option exphicze _ = Diem con Set Con = Creabiobject (avee. connactisn’) Con. open ® OSN-QT—Plighk 33” Bk Gon. ErrorA .Covat< >0 then Print” Srror occured? eri ttest end if 9 Exe Ot We can UAE this muthod do Lun Tasert, updati or dik Like quarter on Apetified data base Con. evecute * Query " Recovd set object rructhods and properties: — We can Use Ancordset Object to Aon & delet Holimunt on data bae to actaive data D Open: — we aan Ute thik method to mon a Aclect tlotiment On an opensd dala kare . YS. open " sebect "Gon wer WM eVEHIAR OF — WOE Ge ene ree tmmnna re peg ora Win oxcerdact. Here Accordset . Conséat oA Aelicd dodo: eo + ff re roto base : | vs. Howe frat. ¢.a D Hoventext 69: - We can vse this muthed 4o point next acord | Sn record sek rs. Movenext 8) Hove OF Woe can Use his rcthod lo move fo Apecifie Axon! | Ba Ancord Ack rs. move (seco number) ®)Ffeldas— we can use Anis property to Aperthy a column Th Dacordsel, x rift rela Ls Zaloraninawmd) * #) value +- joe can use thus property to at vente. fer sens Column. vs. fella (colomonani") .vebice: A | | | AR AR ARR OAARAATAATIT A ARARAAASA 7 a 1 Web leb est “automaton a a GIP tk a powerful Anét 45. qudomols so2b bated Sho | “enetionct desting , Br Ais Aloge We Can lounch QTe Lott | Reb add-Tn. thik working with web-based applications derterh can follows below hierarchy fe- objecti browser : | Page \ Frame (option) TF, Gi 2 - 2+ Webdleme toebbutton Wwebedit Webodiogaap seb tine ok : mage weblable : ad : i while Conduccting Sting cngikic, Hestalalsimatuves one Oateg?* SAL objects fm web pages. A above calhgoriged web object a | Tdantiftestion _ Gaowser THe. Page TH Faome dome Webbutton Nome webedit Reon web rodiogroup Nome. webcheck loo Alms. Lin Nome Imi Alams. Webtable Nome Webelement AJame Roki Uf any mere than “ona Opeer Mune Rene cate ot =o ge they we can provide mone pagpeatics values le diatingtsith those chjects fo web pege To get properties values o} web objects , we Con” uae tools many —> objects ae APY This Apy Sh providing Lat of Pdendikedtion properties % mative properties . of aperified clejack. while worlting seri Teak automativs om depending on ‘deitifedtion properties ex) Wail arp Scrfpk +o do login fn mercury fools website option explictt . dim sy > Topub i Cente oaername”) \y = Inpubbox (“entix poasnord*) hwokeap plication * C+ \ Progrombles | Ontimektaplarer \texplore exe” b oye roniber (“Yttle + about + blank") -newtaolt “hip + |/Locadhos t+ 8080 /emtoura |servlek]¢om . rurunaloors .Servlit, welocome Servet” browser (“{itla . = Welocomu : Hesaary Tours"). Rage [*4tles = welcome: Heraay Tours"). oebedit (nome: = vrernams”)- Set % bovowaer (“ATL Les 2 welcome : Neruuy Tours”). Page (S4iie t= welcome : Hercwry Tours”). webedtt ("names = Passiond” se?) brovese + (“Fit Ler: welcome + Heruary Tours”) « Page (“44k + = Welcome + Herawy Tour") image (* names = login”): click tA 1 Am ra ARR RRR RRR ABARAT TO 7 A RFRA RA RAAAT ba Watk QT? Seript to launch google Sik ad Bodh au optfen explict dim x x = fnputbox (“enter a word to search") frvokeapplication “ 64) Programbiles\ PrtirnatCxplorer| Texplore . exe Browser ("41 : = aboot : blank"), Navigate “pip 17 w . Fogle. co.t0" S vph| Oroioter (ible s = Gogh”). poge ("dele ~ Gogh"), Webedil (“names -Sel x Browser (“files = Google’), page (“title + > Gogh"). Web Button ( names = Google Search). click Nokii- Jo daconass sige of tlakiments to erp, we can ene “with” Stobment contapt. With Browser (* LtLle # = Google"). Page ("ities =Coegls’) + Webedit (*name: =). Set x swebbutten (name: . Google Search "). chick end with Tovoksopplicalfin 04 We can use thts vbscript berction to open an exrastable sj on the duskbop. invoksappltcalion “ path of wena” E232 Wai QrP Sertpt to launch googls Sti, Search a Word and then validgt: Lie oh nant page: Here nent poge Ake mens Cons C46 4 Searched Word . option ex plictt dir x 2 Tnpulbox [ ertter a saord Ig Search’) sovekeapplicalion “cs \ProgramPrlas\ Intent Sxplocer\ Fex plore exe Browser (“Attle + = about + Blan”), nbwigali © http +11 1101. google Co.in~ with Growser (“dite : =Googls”). Page (Het = Google) + Webedit (“name =g.)-6et % rwebbutten (* name: = Google Saarch*), elteh End with. iP Bromer(HNkes = "yay = Goegle Starch"). cxist then Paint * parsed” ahs Prick *foiba? End 77 Abb =~ To get deals fo Suk result window We can vue reporter objeck. Reportir. reportevent restate left ataenenlenortg, “TAL coms \mesertptti: i os 7 ust QrP “Script ir 1S mereueny mel, Atk, do login, and -Ihen check availability yf wnt poge. Here, nest Page (4° fied a FUght : Maruny Tours” page appears: for valid User: option exphictk diem 4 . x > Tinpubbox (erie valid User‘) de Topulbox(~ enter valid pdusvood”) lnvoksopplicalion Browaer (“Hb : - about :Llonk'). Novigeh * “http : l Locathoat : 8080/ mtourd | servLet|com, marcumptourd.. Servits WelComeservliat ” with Browaer ("titles = welcome. + Harun Tours") » ope (Yds. Ht « Poge AHL: = sadkeome : Hareury “Tours) mc AAA RRA RRR RMA BDA R ATTY “cx\ Program Files |Datimat Explorer texpore.en” mye y on swebedtl (“nome + *Debedll (~ nome = UserName): set > + = password). Set y : Fen age Crores = begin). cbiek end with end with DP Browser (“LLL ; = Feds a Plight: Mereay Tours"). exist hen Raportir. Report event micpasa, “Login testing “)* successful” elie Reportar. Report Event micloil , * login teat * unsuccesspul” ool tf: : . CE a Skepro ~ step dascription Test" date eopectid cutcome moe ORL: Homi pone Opened tools webs?, © a ‘Do login operation valid invalid Por volid usew, next ner ids ty Pads Page te fiod a flight avallobl: toon Meru Tours 1’, For nce) shea frvalid ter the nui Poge ta Sign-on Meruuny Tours “ C+ \Wesldala xls . ee exphiak ; Ait exo who, Weer r, Pinjy 3B set exo = Caratiobject:(~ areal. application”) set who = exo. Workbooks, oper(" cs \desfdaaks . ats") Sek wso = who. Worksheets (“shart 1”) eno. Viatble = Fran. r2wso. Udedrange + 00S. Count . for t-a to vr sap 1 x = wso. cells (7,) qe 050, calla (1,2) Ris WS0. coll6-(F 3) : taveksapplicakion “c: \ Program Piles \Snbrnet Explorer |fexploreex’ Brower (“ithe : = abouk : blank’ ~Ymtours with ~browser (*4ftle: = welcome: Hera Tours “) with .poge (“AttL x = welcome: Meresy Tours”) swebedit (* nome: ~ wWebedit (* > VAerName"), Set x om. + Denoge (* mame: End with End with Ty te “velid” and Browser (“Httbe: = Find a Plight ¢ Hercuny Tours”), eat then Reportir . Reporkvent meicpasd," Login testing”, “Succeaspit gin” ) Noviga ‘blte = Ue lentes 808 | ne = n~ArRaAAnRARMne@agnnanraaanr ) a a RAMA K mn ann nny p ehelh 2-"tovolid” ond bowser (*tikls 2 sign-on Marcus Tours exist hen Reportar. Reportevent micpass , “togin Feat, “unsuceenl login” ne Cee micfail + “login test," login not working’ ard if : Browser (“tith: 5. ¥"). close Nexk exo. ute Set wo z nothing sek woo = nerthieg Set exo = Nothing . : Nob To lounch a iweb sib. directly whi, Lasting we can follow Syokx alio ‘ovoksopplicalion “Tepath vet” Description object: — We t0r Use description object to store tabyrmadion of on object fn sur. set object = durcriptien .catats objet (" propety") value =” Property value” Childlobjects (0: — we can Uae this muhod Jo [nd Apocified | type of chilly fy Apeciged parent | object (“ micelars "), value = Brower’ . , . nas duaktop. chiidebjects (object) * Cindy browtet on clu ktyp, ent Ware GQiP Scrpr ito Cua ploug Mecusy Herne page mn etktOP option expltes dim odese , List, i,¢ ‘canoli discription -for browser object set odsc = Description, Createcs oderc (* micclass”)- value =" Browier” "Sind opersd browsers on dhulefop sel Liat = Desktop. childobjects (odese) “Check each browser dite . C20 eee en oe for ico do Lak .-ceunt —7 Sept” wtheny Paink > Mercury Tour web Ait opend * ven! times” eaF a me sertpk -lo “close albncody meresy Tors siz are page” on desktop: option exphtett dim odese, Lest, 7 Set oderc = Description . cacoks ey Odarc (* micclas4”) Value =" Browser” Set List = Deshbop. childokjecta (odusc) for Feo to ist. count-} tip 1 3 Liat (i). ) . getro property Ui) 2" weleome + Hanusy Tors” Dk LEG). gel voprepertiy Cae) Woe come: Harry OS] es = 8 diay ). close then ARR RRA ARR AR @AARADRAARAN exe Hat ate Ssotpt 4o open mercury Toor home poge . Gul 4k alrody Opened than 0 read to open honuw rege 2 moxe thon one tne opened “Hen we can Clore all ilew | extept om. | option explicit dirn odeac , Lak, 1, < set odeAc = Desesiption. cuaticy odes ¢(*micetasa”). valut > * Browser” set Lak = Desktop. child ob jecti (odesc) c=0 ~ Gor F040 Beb.cwink-1 Shp 1 Th Lest(t). gebroproperty (~4 We). one Roraty Te” Th cot then Maiti) . close, end IF erd Fe Nexk | Invoksopplfcation Te cao lb Merweny Tours rot found, open HH “Hip AY c.\ Programbiles \rrternud Explorer|Zexpln exe ure" end if Set odeac =nothing set Qt - nothing casero propery cre wee ces Value af auntie object fn S07. Object. getre property (iS Property rene) gas WAU Grp seript to tanneh marcuny ‘Tours web site ond then display Counk of. links. oplton explicit dim edaac, Mab, Tc dercriptio. Set odasc’s Croats | nljett odesc (“ mtecioss "). valu 2° Unk” “evo taopplication Set Lak = Browser (“ATEL: = lweleome : Mereay Too”). Poe (“44h : = weleoma. Hareany Tovrs”), ehtldobjechs le ‘Odeac) Patak:« dab: Count i Bsn eee ¢ Browser (“titles =. a") . close. Set Lint - rolhieg Sek odeac = robleing exer- Wath @tp script Io disploy 0. off Boks, no A Smoger and re. of Webedtt boxer tn meravy clools home pege option exphictt : Diem adescs edsrca,oderc alist, Lita , Lats Set oderct « deacription. crab Odesct (“ micclaaa”), Value =~ Link” Set odirca = description, Cate odesc a [“micclasa”) value 2 “Tmage* “er) Programsiles \Dubirnst explorer| Texpbre ca vel . AA ARR RR OAARAAAAIAAOD Qo Boy : se cdast3 = duacri pion. catale eaves (Frucclass”). value » “webedit” Soifelwopplication “es \progromsste) Par tal explores [Peaplore ces vac! with Browaer (“{Tthe t 1 poteome: Harenuny Thor D) with page (Lit. = welomes Hascatay Fours" ) gel Liat) = » CAttobject% (odsacy) Sek Uaba= + Child objects loderc 2) Set taba = sid objects (adesc3) erd ith w]e. Bhd wh © Paint “Wo. Links " Lali. count Point * No .Tmoges. ™ ge Bata.count Soh “ayeloh’ webedita % [fats .count = Weltorne: Harcuy Toura") « close | sel Lisi = nothing get Lata = rotking Set Lists = rothcing oek odbact + nothdag Seb odes a = noting Brouner (“ithe t Seb odscc 3 = rotting . ¢ [ee Hath are serfph lo displey ramet and Hata vats af ( ion Lok in mercury fools too stk heme poge option expltke | Dim odesc tat. 1%, y Seb oduse + dascription. Creat. | ahesc (“micclass”). Valuer = Nak LOWoKR Oppo La \rroyrornpae | enuEREE sapiorey papers cen ome sek List» Browser (le s+ Wweldome + Marciiny Toors "Ju foge (Mites Meruny Tors") ,chiidobjects (desc) For T-e do List. count) Sebp | a= Usk (1). getroproperty ("name") y » List (7). getvoproperty (“urs”) Print ap “Gok address Ta" By peat Browser (“Afile . > welcome + Marcuy Tours"). close det List = nothing Se Sel edeac:> nothing et ALO exit Peat cue Selpno| Subp description ‘eileeleda: Ld esinely Wee Re ee wee Home: page opened . lel th. Expectid cubenins 2] Find oll Tinks tn thot | c\vats.als | specified Linky uns Page slo motth wrth | Cet from | found and Vers wos given vets developers) | motchadd Gs ae Link rome et hip wee 3\ urts. ds om, AA AZAR RAARARARAAAD 7mm ARR ABARAARTATO ] t option explicit [25 ‘Dim ‘exo, wb, £80 ,%,%, 7 odasc, Lest, 3 Set exo = crratiobject: ("2xcel. Applicchion") Sek who = eX - workbooks, open (“c+ \ uns. x15") Set 1980 = Woo. worksheet (Shek )” y) Sek oderc = Cmateatgest description. cok oder (“micclaas")-volug = hin") fovoksopplication ” c:\Program, ftles | riirnat explorer | fenplore -exe ott get Bat = Browser (“tibbes= boeltome + Herary Fours) » Poge (tle te © Beleome t Mercury Pours"). ohtidoljesti (odsrc).. r= Wo, vredrange + rows. Count. ctor tea dor -atp 1 also. Gils (1,7) Yr to cella (Fa) fig = . efor’ Jao -fy Bat. count -| Atp | TE xebat(J). getroproperty (“name”) Ther, Flog = 1 th x2Lat(s). getvo property (° ork") then Yeporter. report tvent micposs 2%” bnk teat ? 1" Podsed” de reportir. report Even michal) ay “Link test” ok with wore end tf - occlreas” end tf Neak qy flag 20 then reportic. veport@venk miefatt 7%" Link ok”, "Lhk tons nah Kromaer (1k = weer 4 Mercury “10u's./ + rose end, Quit 7 sel - who’ = nethiag Sek wo = nothing Seb exo = nothing seb Lint = rothing eet odace = nolhiag gap Haih @TP ser?ph —ly fod 0.4 fmages tn option explicit Dim. disc, Usk, ck oduac « Description, crealt gorge ome poge. desc (“mie class )wolue =” image a ‘ovobeappliction *c:\pregamtiles\Dtemat eeplover\texplor.ers ble: “Gieegh coin” sel Lat = Browser (“AH : »Coople), poge (+ File: + Googl.’). clildabjects ~ (odare> n= Lest. count Print * lo: of Forogea is" gen Browser (“dull : 2Coogls"). close Bank Haik @rP Script lo oli plow each tmoge) Option ecxplictt Dir odesc, Liat, %,Y image names (Se - Sovre Set oderc . Description .crealt adare (“micclors””). Value 2 enage . e awn aA a 6-60 Nea ae! & ~ eR NRA RAR AARRAAN Sevekiopplicctions “és \Progrartitis | Trtwnek 2nplorer [explores exe pit «ll wow Google Cor To." ible: = Gogh"), Page(“ title = “Geoght').. chitdopfect (odnc) set Gist = Broker (64 for t20 te Gist.counk-1 Step x Liat (1). gebvopro erty (* nome") ye Lak (i). gebroproperty ["sre") Prink xy “femnge soure fA" gy Next Browser tls: = Google"), Close Bo Nath TP Script to clinch gorge page. : option explicit ; Dim eae, Lak, bro, ual, 7, obj Sekt odesc = Deaviption. Caste oder (“mieclasa"), vous =" image” Compl. loading of inagion a bao = °C: \PaogramPilis \Tntinnel Explorer |fexplore . ex Lal =" hitp tow. google . co. in” Zoveksoppli cation brayt * _ Set Lak = Browser (s4idbes » Google’). Poge (ill: = Google"). htidobject for t20 40 Dist. count” step 1 i. set Obp = Lakli ). object Fk oof comple etrear tun Reportiv, Reportvent micPaw ,” Dmoge Teak” |“ Completely loaded clue Reportir. ReporlEvent michail ,"Fmoge Test”. “incom plats Loading” eet Set obj # cotking Next > Browaer (“Hit we Googhs”). close gel Liat = robbing Set odleac = thing Base Waik arp scaipt to chech each Frage sere and Complele roading fn mercy Tours home page . option expltezt Dim edese, Mek, bo, val , 7, ob Set odasc = description. curate - cee ae Value =” °° Tr tmoge bros “C8\ Progvambiles | ems tatea spl. ex” = hip: jrauwbours . demoout. com)” ‘siti bog” ord with browser (“Lille + = WeBcome Mereury Te Tours 5 oth + Page (“tlle : = wolcome: Meruny Tours”) Sel Lat. . childobj(odasc) for £20 to Rat coont-) atip | x2 Bak ¥+ gekroproperty (* visible”) Set obj = Lat (1) - object “IR ede ond Obj. Complete tras Hen ¥e porter. Yeporevent micpars ,* Tenoge Feat Visible % Compl” 2 “ee bs ne ehre reporter. veporlevent melo!" Tage deat”, “tevisibke & Incomplete” | end. ‘f 1 AAR RAR FFARR OBAADAAATY aH RRR RA AARADD A Set obj = nothing . 1 alent Broke (Ait ve sk), Close sel Usk nothing i oe ede = nothsag Noke:- piri vleating webobject in a websile test automates Jonx using diftaant 4o caphre vols of -those object Oi oad Pt f i Properties, becouse ang object paopeatics Cauified into | Gdustifiealion asd nalive propertios. To caplovad volux of. idasbifiuation properky “wercan uae gelvopanperly (9 muthod! Te Coplone vols 4 native propeatics we can Guat Corresponding Web object ox, tak object. by “wading object O mathodis vo pid browne (TL Welcome + Heresy Tours") vith pope (“Liles = welcomes Herwy Tors’) with Image (“names = login ") x= getvoproperty (Visible) Dductiftedhion property Ered with End with end with — WH browser (t. --) Wh - poge (ee *) ttt tonoge (0. 5) = .object. Completa.” Native property End wth Grd wrth gL JY Waa GL ocryp pees sattnrman reannaanyy mre os optfer explict Dim bro, urd br = “e+ \Progiam files | Datirnct éxplorer\Penplore exe” Pip | nuwlours . dimeaut. Corn/* Tovekespplicstion “ho x “a Uek with browser (“4itl: = oleae Nereny Tours") WEB + page (las = Welcome + Herasne Tours") viebedil (“name : = Usernam”) sek ‘odmin” + webedit (“pames = Password"), Bab * admiin®® oS Bimage:(*roimis = legis"), click aaa Erd wrth End jot, Pied.o Plight. Belson 2 Herc Toorss”). : odo plight + Reraay Tours") with “browrer [> tke with. Page ("ib : * Rebaadiog soup (“names = LvigMype'), Saleck yy’ * Fival- radio tcl be selectid + WebList ("name t = paracoont "). sdect * 4" + WebUist (mame: = FromPort”). Select * Paria” + WebLiak (“name + -Prom Honth’) Sdack “ Hay” “WEBLAL (“names = FromBay’) + Select ie stebliat ("noma : = ToPort") -sdeck * Pndita” vweblist ("ames Tononth”), Selec ” jane” rwebList (° nome: To Boxy") eSelect "10" : Webradiogroup Uname+ = ServClass”). Select a” CC} a8 AA AAA FRAROAARARDAAAIDDD | ab llet (ames = ating"). Select no paderencs” + Lmage.(- Povm.s = Pind Eig st) clich End With © end soit i . ' C ie" r+ WAL QTP Swupk to automat. fasrnching login, filling | I (| Blight delete, seleding [light and fen cat Voted cant ( (rip + down fore) NO-A passengers +Lox \ ao. c c. S C | c | ; c i € 1 «| (- Cd « | CSTAF (crittomized SJ’ “leat automation Fromm work ) g Framesorh 16 proass af. automation: Okik aurlomaling | o - Pouretlmal tedteases vaing @IP eatardomats ra an following ne ee HA framedork. TE fa a Gmbinedien of fovr Alondarnd | frameworks. Such ad az —> Unar Sequential framuwork =? Madulor driver framavork 2 & we Ieyword datven promuvork > Data driven framework Ses ee O Lnsor segnestio Framwork te From his framaorh tert ortomatira are propotog Aealscrfpls with Sine by Lie atatorunts. Here lesbscripla one | not shoring shorobl. susourk.: & b Nob: - Previously prepared Programs fn rabibeok or Aclaitid | clo Linear Aequantial rrodil Hedular driven framework From hia fromstoorls cleat automotivs are prparing eat Scripta by calling user dakined ooctions . Here each fonction Apeies a snurable toda, keg ord dniven framework » - Fromm thia framework -leat ardomebrs are preparing Aeakscrt pla by coiling Keywords. Here. cosh kegroord lam. dopecitier description of objects in SuT ° ~~ AAA RAAAA TO "J | Me Avening a lest sci? @ Delon driven bromavork:~ From this framework lestanomatirs wHh multiple. tert date. { vlad] | sas] < ami) daletotole Noli :- Fn above 4 slandad fromeworks pirat 3 from works are vsed to Casati cleat scrtpls. Fourth texipt Proms works ts vAed to awn Sak Acrip!, ‘Test sev? pt our csTAF bya combination, ty above 4 Alandard rome works. Prom CSTAP, each “eat ardomatir Pees below astips do automation sepi- Test bead nil exch a, doldse dedire tn eur Server Coinpuis ; okieh wecvdble de att lentes en” < Project name > / £ Project audomation> Jeo Documenbs(ses Bike Arquirements’ docomunti ovailabl) > Teak cases (Terk corer -fo be arclomotd) I> Test dota (Festdala aelatid lo Tet cases) Feet acriple (dadomolion programs) [> Fonction Bbrary (revrable fonction) 1 object repo (Descriptions af objecti “9 su) SHiceiti ons [? Faeovery Searariot (Raceveries do recover fem chron = Ubi Lilien (other Avporting Pragrars OAS] L» Terk reaulls ( Rerths ofty avn set Acriptid | Alote: — Above afolder slrvctore ix no naed when Shure is fey Counter sto or teat managenurt . atepas— Celect maniial dust Cares. we Gitomoale, ana nen Suve Frese teat cater “Sn est cores folder. | Stipa: — Cather oulatid est dala for each uxt core and ther ty save thot Lat dota n\ -lest dda -Jolder.as tat feds | veo file “ Step a: - Prepare kegioords for descriptions 4 each deifobl objec Sn eu. (¢ exic sof home» deacotph'on. creak a home (-47ULe*) value = “torleone + Marcuny Tours" oe atun = description, caralt ja 09 ["nare). value =? UserName” gel Set Pwd = deacription. crab ee Prid (“nairiit) , valice 2 "Password ” e141 yl Th above ex. code, keywords axe home, voppud , hes af Type. ef Kegioerds. posed fake: ses feretty eter 6 Steps: Collack prrvioutly ard hat coles le idackify % Dtpeatabl. steps. and then prepare ascomalion Code fou 1% thore Dpeatobl. bps. as vaer difinid funciom 5 | ¢ ex: function launches ( fore = °c: \ Program Filan \ Bitt Explorer | Sexplore. exe” ! ( ual 2° hit prl\r wove , google Com” « fovoksopplicalion brow” ” x orl ( end fonction a ( : s Alber preparing user dubinad fonctions , Feat automalers ¢ Will Aowe thers fa function Library . folder ' i | ¢ ~ARARARARWAATTO e step 6 s= Prepare teak Ari pt by OA rag keywords ond User- defrned fonctions | and -Hhin’ Aave’ hose eal Acriph eal acrip& folder 4 Sip as- Enhanu eath desl Acript toith moltiple tut data. feat (dota driven tubing) tn Step: —~ Delian aacoverier fo recover from abnormal Atolés tohie ownniing Saat aeripti. and then Aave those secoveries tn Sucoveng ACenorion Lolder. |sbpq:- Hoke oulatd feat Acriphh as fiat batches by wad: dawver acripls. and thin” dave Shore daiver acripii fo “ Gbllitien” doldar. , stip i: ~:Kon Hote: daivera on modified sur for ak & Degression testing. 4 ee } Teat cores. — TJeat corer: - ; | Wat cone step no dhactiption Teal dala expecta oubcoine iF hounch meray Tours ee Welcome: Nerasty “vrs web th. Page opened | Testcare ai - ' stepno duaci plion Seat dats expecta ord come s Lone marcas Tors DRE poolcome : Mersey Tours | webaik Page opened | 2 Do login eperdtion De/Mexcome4Sos] for valid dake , Seat derla | loginals Find a fight 7 Mercury peat uae 2 Stepne Oeseaiptisn Task data —-enpact pul come h Refer abe in” deat cue 1" ; I 2 Reler atepa in cleat cares - : 3. Ful Find a fiight + Da]MaraaysTows| For volt datotls Select Rerun Tours: “page ‘Teatdato/-Phght- o fght Heras bors " | details tnt Poge opened: Fest core ty stepno Description Teak dala “expected outcome. | 1. Relea kept, Stipa § sbpa of tet Case D- 2. PMN Tack o Ligh: Ds /Huremay ors] Summary poge. openset ; _ Mereuny, Tours! poge.. Teak dal. | Flights deck; and.-lotal, = (upPare: + dou), (Boe ie es x dere ene of pamengent + dos. | Automoi. above fl cares ‘in CSTAF. Prepare keywords: - Atte collecting Test cose’ ¢ “Test data “est auttomotar | i | Aart heytords carotions Jer objects tn Sut, Here Aertus on Alake help objects spy - lo get daacriphi vers of, object in Sur.) ee | open rote pod —> woase. key wordA —» Save filam vies | key words : Ie Get home ~ description, casas rome (TH La") =" peleome + Hareuny Tours” sel On = description. creale uel raene") =" asernlame” 2) on AAR AAAAR AA BAAAAMAAAAY Set pwd - description. erat. = Prod ("name") » values =“ Ressword” Sel Signin = derctiption: Creal. Signin (nome) ..value = “login” set fdeloil: - description »Crealt Fdbleile( ill) voli Find Plight ¢ Heyeuay “Toorsi” Set rip = description . cara Aleig Crome), value.’ = “ripiyre” set nop = duacription. cual: nop [inome"). valu =" PonAceset * Set Pport » description. cust fap -fport (*oama"), value » “Fremont get km = diseripticn . creck tm ("name"), olin. = * SromMonth” Set fd = dexription. ovat £4 (“name”), value’: “From Day” set -[port =duscription. reali Be port (“name”). value + “Lo Por4” Set dns deteription. cuats dm (“name), Value = “leronth” Set 4d . dudcription. carats © dd (* nomu). values “ony” set sew = deacrtplion. carob Serv (Spome"): value =" sewCloss” Set obine. duscrtption, create one “pame") Value +. “airline Det Had = debCTIpiOon. wwe Sird (“pome*) value = “StedPlighh* set Pselact - deacsiption. creak Feeback ("tile"). value i“ sdech a Flight + Harcuty “Toors” Sek upPlight = description. casa vpPlight (rame"), value « “out Plight” Set downlight = discription, crak. . dosonblight (“names). value = * tnptight* Bek reserve > dest tptian. creak reserve (“name"), value ererveblights” Set bookiag - deters pee Gul booking (AHHL") + vali =" Book o lage Mereany “Bors” Set AUmmary = descr pion. creabe ‘Sumirary (*height") vole = 190. Summary (7 yidth”) volutes 48% Set lopouk + descofption . Create logout (7 tanertext” )wolue =" SIGN- OFF” Sek palogin = description. Creaks, Velogin (-aithe) A@lus =” Sign-on: Hares Fours® Note: Afr woniting keyiorls fpr deaponsibl ebject tn sur. mata. will Aove those. key roorda 7 in Correa ponding deat auto + Vbs fe Ex? D:\ Huruny Tuva \ objectreposilory \ewwordt vee | 7 | ry fy ny o AAA RAR RRR BARARAAVNGAIDD re Gy ae ee Creaking user defined fooeltens Tn our case. study deat Cares, Some Abps are upeat mona thon: one “lima. Fon, -thoxe AGPA feat automating str Prepare Wer. dibtuad penctions do nose fr fotore. Naxigedi on dosnch QTP > Pil menu —s new —s Function Lb brovy—> Waite fyaction one by ome —> sove Bbrory woith Aidename. vbs |-lat |.46 CaP fonction Sierary) ex: fuactions : -Funcions follow below Syntox fonction name (@yval/ eyes argumarks -----) ) fondion: Pn above Ayton, vorqumunts ars clive “types. Such as Syvel ord Byret dL an cogumant tk byval than thot oxgument rH oscrive tha dota. dfan argument t1 byreh, they -thal Orgqumant whl! asceive the data and wi aelurn He dada gu Zs fonction add (@yval x, Byva! y) RKO iy / jo y4ae / End function / / Feat scripk- option explicit / | dim a,b : | a | fe megoua a 10 poms rnsgbon bb “20 . Sun? Function add ( yr2} By def 4) He Kt 10 F : Ysatro Era fonction Teakseript option explitt dim a,b A RAR ARR RAR AOA AARAAA e@=lo lb=20 odd (a,b) msqbox a a0 msgboa re ‘ Uke tn other progamming languages , veseript fonctions algo relunve valusr- lo Cotting fel. Here , returned selene: abaigned Ao fonction rome. oes as, ctunction add (eyval x, eyval_y) Dim a oe | Beaty i odd = ' End function : 9 Teak script ~ option explicit dim a,b,¢ art beso c+ add (0,5) oe menbox ¢ 3 So AAA A TS os CN Qn general, test audomalirs | Conept to rrark vuutable Cecle dauinch Rnckien : - are Laing User dined Jone fonction Jesunch (Byvel bb , Gyol u) Jirvoksappiicdlion by "yu End fonilion bogie Fondion fondion login (ay vol uid, Gyvel po) it browser (hom) walth » poge Thoms) sWebedtt (Un): Set viol -Webedit (gud). sot © , ienege (signin). click End wrt End wht. WHA Atting above Lika fonélind sig ‘legoodls 12" cen arsociok keywords fie to fundtions Lest exscutifle * foth of, beyoods {il" Air essaialing keywords and fonctions we con Aave fonctions ta juoction Bbrary folder with Lilerame. Q£6 Creating deal xcripls sTeatgertpt Jor testcase 1 execute 2 |Marany ours) abject vepastlory | kagwoouls. Mbs exeutafile ” d | Hlscuniy. Tourn \ Functionlibrary| Funclisna. @ 1 foonch (* ¢+\ Program file Taternet Explorer \Teaplere exe files \\ newtours . daemoaut. Cam" iF browser (home). exist’ ther west reporkr reportevent micpais , * launching lak else 1” Svccastfeal” reporter. feporlevent micfoil, “touareg tuk”) “Unsveaaspul” end FE Teatscrtpt for testcase 2 oplion expltets Dim exo, Wes ,wWs0, 6, Pay kK Sek exo = Cuctiobject("eact appltealion") eto. sibs Tran os Sek who = exo, workbooks . open(‘p: +) Heruy bors \ testdele | tegtn. 25") Bet. 80 = tbo. workshertil"shecti”) ” * D:\ Merny Jour sh object exeebe Pi! Creech pike T= WS0. UAed rong . vows. count for isa to » slep | | © 0: \Maruay Tours \ functiobibrary| funchens. bk” m= wso. cells (7, J = Woe. Calls (7, 9) | Az wso. Cells (3,3) 7s Inga (x,y) seneh “e t\Prgrombibes)--"p, “uae 4B gevalid and Browser|Pdelails), exist than reporter, reportevent micppss, “logindel” , “correct” ebreth asinvalid ond Browser (relogin).exiad then Yeportsr « report event micposa ,” logiclent * Comed” elre =) Oe AA RAR R LF AORnarrraete ° ao RRR PR AAA ATTA Vepovtir. reportevent . micheal ,* tegintest * , Tacorvect” end Tf ; ; Browser (Pith tes 8D close Neat userid 1 Possiord — criteria, aek exo Quik - xx ae xn sek so > nothing xe a ay Set who = nothieg sek exo = nothing Tat ot Jestease 3 ja eS a) bd . admin , admin , Ho, 9 jlondon , novenber , 7, paris ,Oecember, BI, #2, Plus SRA Aarlinns Argh - delosla Ant “option explist - Din so, fo,% sek foo + Creabobject (* seriphing, Filtsytunabject ) sek fo = $50 -opentintfite ("D+ \ Hucury urs Hertdodar | Plight dtoiisank”) folse’) rn oY rea Tourshonjetrepei ry\Keqwoods bs" : rsrady Tours \ Functionlibvary | fret om atl” pohile fo. MendofStream 2>trur . eho, Modine ge ApBR (a "). Loundh "ch Program bila coc ee" Login yto, ¥) With - browéer ( fdetails) with » poge (Pdtails) a c websadiogroup (4r?p), Select “ge ylad + WebLiat (noe). select ls) + webliat (port). select y(4) - webList (fm), select yrs) + Reblist (fd), Select y/e)- ‘ webl tat (Teor) , seleck y@) + weblisk (4m) - Select gla) vwebbst (1d) Select ylq) ; + Webvadiogroup (Serv) Select: y (19) + wWebhist (Dine), select Yin) s + Image (find). clic end with : End. porth, Be TP browser (f5eleck). extst theo 7 Reporiir. reporkevent micpars, “Plight delails testing", “correct” else Reporter. reperlevent miclail ,“ffight details lest”, “tocorrect ” end 3 browser Clit see"). Close wend fo, tore Sek fo = nothing Sek £50 = nothing \ 2 a RRR RAR RR RAN DARAMADAN g APF RARAARATTAO Sracutibbe o: = We Con use Shia OTP fondtin fe Saquiad Stesoureer to Lat. Syrton: Quaustifile path oP File” SPEFO:- BE Com uae hin visertpl funtion to divide a Sine into peaces. Spltt ("Line of tint", " separater”) He Cheh De Prdiq” ge spltt(x,* ") a gle) aw Yl) Teatscript fr testcase » option oxplitk 9” a Dim feo, fo, %, yuh dF, tow dob Seb f50 = conattrobject (* seripling: Filusystimobject") Set fo = £50.opertextFile C0:\ Mery “purstlottdodal flights ta’ 7 1, “felae’) enneutifile Or\ Mereaney Fours \ objestrepositiy \ feupoords bs * eth “5, erent. bide \ Harcuny Sours Jobjectvepository \ funchiens « h” While Po. ap AlEndoPstream « >trus fo read ne Be split (x, daunch €1\ Program les tink Explorer Lexplora. exe’, “hilp s\\ wie newtours, demoauk com” Login 4) 40) worn browser (fdeluts) Page (tdetails) + Webradiogroup ({rip), Select y(2) + WebLigk (nop). Sekert yts)’ + WebLint(Ppork). selec yl) - webliat (fm). Select y(s) +» weblist (Fo). Select ye) + beblisk (lport). select yr) | vwebliat (4m). select gle) rwebliat (1d). select 919) + Nebradiogroup (serv). Select gle) 7 + WebLisk (alia), seleel yori) Tmoge (Find) . click End With With browsers (select). Rage (Fsctact) *bebrediogroup (upelignd) eSeleck ys) * Webradiogroup(doundlight)« Sobucl 43) + Image (reserve) « click End with Wh browser (ooking) Page (Booking ) Upf = + Webtalle (summary) « gebeetllala (3,2) af = -weblabl: (summary), geteatldata (¢, 3) A+ - Webtoble (Summary), gekciidota (4,2) lox = . weblable (Summary) . geteetidata (8,2) loa= + wWeblelole (summary) « geleatldode (9,2) End with Pe Ey NN CN (oN Cen Coss fe onl a J (-) Ge) (xn) (on) GR) Cm) “a fe) al) 9) AAR RRR ANDARAATATD || © Opps dal (opp) ab 2 Gat (ae) : 4 = dint (4. Hox = oid (don, Len(4o2)—1 i dar = Gat oi). | Hots mid (dok,2,unltel)- 1) | dot = cfot(dot) | T dok= (upped? +t 4 ton then | Reportir. Raport@vent rfepasd ,* cadeulotion Job: » "Correct ” | aie Reportar . Riport event micfall .“catustation teat”, Po@rrect™ end ie ! browser (booking) . page (booking), Linh (Logout) «eter, browser (relogin) « Page (velog i> Clove Reng PS Fo. close bet fo soothing bet P50 nothing : md: i= We can vase thin vbscript function to qet Substring t om moinataing mid (rainstaing”; Glasting pesition , Langth) mid ("cheek da. Faia" 34) ack mid ("esiag6]—", 4 3) 286 ' , a x = Input box (" enter a vatue") | esrayger |~ mt.) uy, am tn>-5) Remove 2515 | LBb or We can use thin junction to get Apecified 0. of Characters from Lobe side of Skring dat ay bun te gee’, 6) ight oo» — we Lan use 4hit Tun€lien to ger Aperigvect mo- charecbira por ought Aide 4 tha Atalag exe right Cony Cove fs gow) ‘ gone. Jota r= We can ose thin ubseript tuner cto Join mom “than one alving aa one Atetag - JPID (* Comparator”, valeust ----) Join (*, "/10,20,30,40) ° 12, 20,80, 40 goin (° “ove 15", “gou) “My love is gone. Cae body oo e : Googh 4 a search websile fy hie website we wil apply below Seat cores loaded dear hag, Seetetee “Teak coe 1: — 3 step Deseri Test_data expected Se : J Losinch Google website URL Google Page. openee Teat case ar— Sisp Dessription art data —eupetad outcome ! Lasanch goog sift oon Google page opens 2. arte a word to Search D:\Gouglo ext page opened bith dololvods ol Scorched ord ab THe Feat Core 3 sbp Description — Terkdata ghepechd oudeome I beam gon pi “Gaglk page pond 2 Enler @ word tv D:\Gaogle est peck page oped neh Fearn dodo\ords 0) Search. retults, Here av | ° S “~ oo ~~ 6 9G) a) a oS Ga) nA AA | | I} } | | | | | | | | | | Set _qacarch » Dercription Curate | | | a I - about “xxKX” results mmestage, oppeas | ¥ creation: words | Feraghing Ieygorie. get home. > Deseription » cali rome (*LiHe") vokaa = “owes Google” set search = Description. aeoki remus (“nome ") «value = qecorth [Yrore”) Woburn: " Googhs Search” Noti:- Save ghove kepuoords 4o + | google - automation \objeck .. repository \ Kaywordacves ” i Credling fonctions | eweetiftle ps bqocate — enctorndien eles Ne ihory Vege ses fonction Jawneh(Byvel be pByenl a)” Jevoksappicalion ba” "KU ena Pundion function Pind (eyved *) pith browser (home) « page (home) -webedit { Search) . set x « we bbutton (goearch): clic end With erd foretion creating Hsk seripis Seatseript for tertcose: execadfile “D+ \qoogle — audomedion\ objectre poaitory\ keywords » .vbs” exeuabittle " D; | google automation functien|thrany \uceltans. age” Jasnch "C:\Program Piles \Pubienst explorer|!explore. exe 7, PHP AY - uot -tonsig google. co In” lee FP browser (home). exist than Reporter Reportevent micpasa ," Jo. ching faust” oped” ke else : i € Reporter. Reportevent miefatl Maanehing seat", “Not operd | ; fd tf ‘ Browser (“Liles =. 4). close. ( Test puript pr ‘Test crea | ¢ < Words > Words am) te a . Thee Kvaltics Hindg <|volus > : € tee b:\\qo0gh. ~ ousforaitien| .¢ sveels qeatdata \ivorda curt “eC evalee> Testing <[yabues ng Lge SOS et Lword > Cc évolurs QTP <|values € Lvalues Zee World cup 2011 < [values i 4] eord > ae <[Rords > ¢ creeuthie 7 3 : . Option explicit ( Dien remio root, child , 4, € le det aml = ivi. Createxrtfromtle(* 0: \ Cagle — audomattion\ ic sleatdoda\ jordan!) e NW execu Pek > 2: \aaoghe-axrtornaion abjectrepositery uy words. vbs” wecuh bite" 0:| Grogle . aadomation \functionltbrosy| functions -QfL” set rook = -arlo. gekrootelrrnant: get child ~ roel. idee monkslypalt (> word joe) foe tet do child-coont bp i aes chlid. Mern(f), vabie \ Jounch (c:\Program files\Pabrnst Sxplover \Dexplore, exe", “vee” find % ee gate FE drower (MHD: = "oy ot" ethan reporter. RaportEvenk ~riiepasn’y “Searching teat") “soccesapal” elae, . yeporbr. Reportvant. miefakt "Searching Ast", “unsueceaful SSOP ten cst ae = ; Browser (“Hk =. #). chose . 3 [lent 7 Set child =nothing | set Yvoot > nothing Sek amlo + nothing : Teaksexipt for testcase option explict Din elo root, Id 1, Myr set amo = xnputil. creakixnt PromPile (“o: \eoogte = automalforn\ Alerldedo.| sons, xm") Crecattlahe “Dp : \coogts - oulorradion) ob jeclrepostory \kegeoorals .vbs ” exeeatsbiLe ~ D1 \Googlt -automation \functiml? brary \ fonctions aft" Sal. rook = ambe.CeRoot slemant : Gel child 2 root. Child tlemenk by path ( "on istae) for Lat: chtld.courk atip t o Re Cid | Hem (1). Value - : Daun € ch C1 \Program files \Dntirnst Explorer] Dénplove.exe", * hips use| h jOOs co: Tn” Find x : gop: with bem bh omg 9 oat ( ith. Page (Aithe =" : Sat ) : - “ nebloble (° htmb dp emo"), Geteattdata (2+) a End with L¢ end with . ie ede > egy (oan oe) iP or desk (y) then Reportar, Report vent ee mPa” Gatot laaing” *conrect massoge” Reporbir. Report fvent miclatl ” Contint fiatiog”,“Focorrect mussoge trod if browser (“4rder 26%"). close . Sek rs nothing Next Sek Child = note Set vook = noting sob aunlo 2 nothig eR RR RAR BAARRTA TTY 9 3 u Nab vd we working WH web pages eat cuomatins are Werking with weblables. Tx get web table arhihclure they cor follows below toy Da fread way leat ee Car open Source of page and than ‘parse Dequincd able 2008 § Columns Hoyer). Bo second way der outomatien con ty to Totert Ouch potnk on a web doble, Here we tan gel arcktbictore of, web fable on the dusbtop - ‘Toner meray Ohach point—s Slandard chech potnh—» show webrloble Sep ascntng, to een and celumna—> Chis cancel —» chaliorges 10, webleiting ing ae Stalk, Lolth Viaaen hjed . Some Siren seb pager Conatate of Widdiin object To adomaki Iheze objecti fo aledling tthautoml os using windows shell object dn @re. set obj = carchrobject ("script Shall”) Tis windows abait object consid of 6 Sencegs) method ve operat any bkddan object . bj. Sendlenys (C reqpined leewe™) From dhe above” ayrtont Jagplred keys can apecity tn belove format. ae atc Backspace RBacksPacey , {88}, 1 OKS/} BREA eerary CAPS LOCK Yoapsnocky DEL or DELETE fnenere 3 or {OELY Down ARROW 3 Down? Eno TENDY Enteg JenTee2} or ~ est” {esc} WEEP RHELPT Bone jHone / INS or DNSERT PBNSERTF or PINSY LEFT AReOL) i lePTy NUN Lock 3 NUN LoC Ky PAGE Down) § Panny PAGEUP 2 Pau? PRINT SCREEN fertsch RIGHT ARROW tetany SCROLL Lock fsceoLisocky Fy Fa, Fa Fe tFuh SHIFT 7 CTRL is ALT “lo Noki:— From the above lable Soma keyt ore ted tor Other keys to vepresent. For ex. + Used for wbakt eux» Jj you lant “Fo key, then We Can write @ obj. Sendkeaas (4 ") Even in oe te a hu Prepare @rP seript -fy fourth grea ab, yin edt box yp weasch a word, Select sth Flern to google cackt and Athan chick google Search button « option eaplictl dim j, obj Seb obj = Crealrobject [*wetrtpt . Shell) Hovekeopplication ¢ 1\ Program Piles\ Pntirnet Enplorer| lexplore ee * plip 2\\ wise - google, com” Ok) Send keys (* Niodg"): for (2) 5 atip 5 obj. Send keys (2 | Down" ) Next _ fa ge obj. Send kegs (a) to Working sith Aimilar object :- Sometimes our webpages Contista of Almilar dbjects which Properties volust are same. To distinguish thse objects tn seript | FeAl automotirs asa using fonder property. similar chjechs Index | Stas, with ero Bx Brotoder (“Lille : = mindq”) Page (“Lidl : adedg,") | Ulk Cnames ¢regittio", “fnden veg”) click Bn deove ex. atotiment @re can Ulich tirat [okt named at . Pagiabe” fee Prepare are sevipt lo lounes gehoo website .egin , click “inbox cae do open mail bor y than Chick gvailobil GL, of “qrelcoms," mal) \ Coviject) : \ i option expat dim #log,i,¥ Fowokta phicodion ~c:\ progam files \Giknut 2nplorer | ieaplore ee e: Walp \towots + Yahoo mail. Con” oe wort 10 re€ with browser (“Aid be x"). & with «page (HL *") 7 € sbebedit (“mame: = login"). Seb mail id” ‘ i sWebedil (“name: = passed"), sek * your paraword” 9 sWebbullen (“rami = Signin"). click 1 and with | . . | € End with HS . (4 . oa te oe Neat Io 5 . 7 with browser (*fitte : 2 iaboo. #")., joc zi ‘ ce ¢c with » page ("Lites = yohoo: 8). . Z “wehhy sWebotabl: “name: toggnall 3 E5GI” | height 21979") : C 7 Rowtoonk / , . “< 20 oS ; eo tet do vi Atip 4 a Pe getutidota(i, ¢) oo ipelecome a yoreo! a tn BY Teperr. reportevank micpass,"Yohoomail, box clest®, ‘mail toad fpund’| —¢ . ¢ ete! bY Brad TE | ae Newl- VF flag eo Then reporter veportevent aicfpil ," yohoomail bor leak” "mall wm nel | a | vd Hf r End eth | .wedelement (*Tonartenk:, t and with ened wal wait 30 browser (“det 2k"): clebe « (| Chatfenge 3: — working with ‘multi browser GC Somatinsa teat autometirs arr working with rmublife borowners € which hove same tit. En hin attuadion lest ardomole can use { Properly “ casaliontime’ do distinguish sacently operat btowrder onl (| abonadig existing browser. C -18q: Fovotnapplicalion ~ c\ progoin files |Salurnel explorer | fexplore exe c Hip sll 19019. google co. 3m” C | with browser (“cuationtinn «= 0. Ja tage {entation finn +20”) © hes es ae cai C | challange — we can se Kis property to Apeify the care, ‘sensitive . € By dafoult shin property Value TA folae . C fe Sek re Mid vegenp . a - 1: Pattern. * fa- Ale aye _ Ue ignerecase strut “case tnnaantitive | i Vr. Tgrerecaye : false “tote santifive - € 6) Glee = can ote AREA pape Jo aptly gatlein on fell ouget ahh) a By default tia. property value 14 dra. © gx: set 2 mw regenp Fo ©. Pallern. = -a +" or r-global = Wat it rlest(* jannusbond’ oot eae vache fein Morting of string c a we gabe sana ta gin cp th foc Dt relumas trun A folic diperdiing ve mmateaing: c Seb r= new nme S Y-paitern = " fo-9)p”” ¢ JP or teat (“007”) then ( Msghox * alomber"” | ee oe | : end if: : | § 2) Execution: WE can vie This mathed fo search malehad -lving i given] — ¢ string ThA furélien actorns away 4 motehid voles . ¢ Option explicit die 1,4, motehes Set rs new regexp &5 ( Fglobol tre , * | r.pailern 2" 9)¥" a : Set matcher sv, Suerte [*sroeedy HS onjat om” | for cach $ Gn madcher netGE Fe volo Han mmatehad of i 1. Fivattnden eu cfd] RegloeO™ We cain Use. th2 mulhed so Ay he : 5 BM AEF len explicth | dmv. ' Set r= nan. regexp Ys Global =true vr paltern =* Cong] +” plocs. matdud atring wit i Teplace "sweety 45 Anjal: oy "te . C | Not From the above diataaiy Regular expresdions used fa objecti ¢ | Idantifeotion, data, mining, object van Eype testing ( Werkling with Stondard window odd ' mi. Semin (| Ee Beale oat, Soe a you launch erp without seis TB! Ong add-in, than QP wiry Suppor arclemation on, standard sides C vated sho. Xs € > Object hierar: = c Ee RT L dialo c | bel c, baton | wham [wl winthielehor € Winkutlen winbiat winmenu Blk ( Fo work with slardard windows Sfo deat autornalira con une below Properties 3, detesipliens . ( Object Tdentifiedlion Property { Window Text Dialo: Tent ( 4 boinedit Atlackud Text i poinbutton stent { Win Rodiobutten dext f winliat attocked text Wincorboo boy otlacksd text ( Wamu. teat ei bork, @TP serfpt fox. login soin soy Dioleg Cert : login") ‘Winedtt (otlothed lon} + = Agent Names") set “Hinds” + WinedJE (*otacld leafs = pastoord s*Y.Seb “Heresy” bin button (“deat ss ole" ).clich, End with dots operation in flight Resor vation, bgt Winks GI pcripe me auscomae eye opeiomon . Jp Your sgt Nas success tun we can gt fl Flight Reservation” window, If... you gave Fovelid dala hen te can get Flight Resorvationt” a7 option explictd € Dim vp ore ‘pvoktapplication “e+ \ Programéi La\or| eis! Pajossione! € Sarnples| Flight \app\Al fight 4a. exe” I¢ us Inputbox (* entra value”) i ‘ = TaPut box Ul enter a password”) LC with Diolog ("-lew! + elogin) a Cc sWinedtt (* packed text £2 Agent Here | ic tnedil ( allchad dent: = Runuord s*).seb-P [© “wta ballon (Haak? Sok”), char . End 3th a . TB wotedors (“ded : = Elight Ratorectin'), exitt then : Reportir. Report gvent micRasr / Legin Task” ,* Success hud” line che # whe la ( Reporte, Report event onicfotl J togin at", * unsvccessfut af erd ¥ ( Cithig : ia! a Bao previous scripts we followed dercriptive pregormiy Luk TW wil doke more Hime do geome cudomalien Scrip | . Due do this eaten —lert automalint., re delloiring on 3b ta) mere Woy Auch oA , axcording. df you. germake sevipt tn lets 1 Dacordig sthen the acript pot be Complex to mointatn ; hong tien 2 . Tn secording mode agp geikers Openbd objecks oh sor Oo . e : : ; digtmeeead an object oupositony : ® 7 co] erp es (| [Sedeapirraictdon( on | € Vane + button c | ext "ok" © | 3 ©.) Objeck Repository € | et glepr: Slart oacording Sa ete by baby. ‘ ape operate objects Se sur by hater ‘ stips: Colher dalails of cbpct by ate (eee Genwrati tlatiment Jo automate thot object operiliien by Ore r ( To open ebject repository , toe car pile below rovigation (| pera teat in @rp( recorded) > resources menu —s object depostlory ( [CSTF i= tn Record |ployblack mathalology stp: Gelteck manual fat cores +e cxdornota subpar daisnch QTP with autlable oda -‘o ee ~SEP3+—~ Lounth OF open Sut Sp uy: - Create felder prlructore Supe | ot rma Aue Canes unin “rouennagy Tepemane ALPS. (. “Fo make them os oniebli action’. , ! slpb: Call hose actions and aecort: operations on sut to tir gervate lost acriph te Stpt Enhance each deat acript woth mubtipl £e4t data %n of wlat) als |rn!/ are dota fable € Stipa, Mahe Lest scrtpl ay botehet do conduck orgressfon a, cleating en each modified S07 va : 1 csr with descatplive | CSTAR with Ricordl| ploy back ‘ Programming L Nethedstogy i c Dd coltech manual best carom Deotuct manual test cores | c 3 QT? | soT Jounching QP & Sor launching. dee Ditake the help of object APH | 3) sone. § , Ie and prepare keyssords "for /5€ those object descriptiom 7G erecting Ronilions for |x) creates adlions for aacuable aps. oavsable alps ext laurchig, ex: buarehing login, logout... ee o¢ lagin , logout ..-... ote 1 ¢ 9) Coat. -leal scrip by Seveats Feat scrigha by calling | ( uring keywords, fonclion actions and recording. ( duping seqcived aps IF J Maks fat scrip os bsthes |) Hake deel script on bodeher tt for degresaion Susling t for Fearession esting . q oma Flight Rurenalion 2h a Aandard windows bated Sfus Thi Si, dodabase daveloped in NS-accesd. “@T- Flight aa , da DSn. please automoti below fat cases Tn ceTak fore recording, . fa) Test cones; Test oh y eee Deseri phon | veal date | expected ofcoma j-we ; J. PReuwneh Plight Rusenvdlim |p) flail resave Fltght Reaervelien Birclowy appears . for valid dota ond Plighl Karerationr window appear for invalid dak en Description | Terk dota | Expedia cxrlenma 1. Launch FR Sfur] evalid agent rome | Flight @ererelion winds 7 % do legin and posidord . | pened | 2) open on existing Ds\ Clight reaervel | En that oped order; order Kreat dota lovee lat nome field volut fo alphabet with tdHeop Qs One OF moe Words Fert cones stip Deacri phi en Fest dela | ; No Tourch £2 @| vobd agent ram de Iegin and posi00rd | wirdew opened e 2, epar eamung grupn iene grap which Was’ used to login tins Jeatcase 4 e,8 i a = : Ter) data Expectid -oridcome . Description valid agent rome| ~~ Plight Rererveltod sy pasword All existing order numbers th dodabate and Do login window opensd - es Open an existing Folal = tickles Price | order C € c € 7 € creating Revaable Actions s— € Cc —> lounch @Tp —s File menu > New nodes =e tonert er Ao rw adlion > Err aston name>, taath duacription dor delve — | °C vrduratondbility » sedkct aevaable action Rack box aa “an ae Clich oh —> record Corresponding operition on Sur + Bollew at is rovtgetion qo carats more Aausable actions . # Se lela Pararwlerizing actions Alby catating revsable actions , tat axtomalirs Porameteri ging shore acti ions for ony Snput to won. Open action —> edt menus —» adlion — aétien properties — Fosamebrs -lob —> click Gdd (+) Toon to casots poramativ 5 © poramabir some along wth Lape , description , default value} > ich odd (4) ‘ton -b csat. move prromabers ik nesclad —> Chick oh” Tn parametiré Window => Replace those ts Poromabra io actton Code > -feltow above rovigatien to Porqmubirige move actin eer eC Cele a ee wn wll (Agent Hosen"). seb Paramatir(* to poroniatars [dewohacsppbidtin, ‘\PrograrnFills \MP| euasen stab Professional Sameples\ slight (app | flightya . exe” | ena: Login | Sa poxomatys & | with Dialog (CAogin’) + Activote “on Je whit” Porausord : "), Set Rarometer (+ eas’) , H stot Button, (Cok?) :etiens Spd with ~|@32 orderopen op potus ‘open poromaler fo. oelit mre WHth window (* Flight Reservition’) + Activa: + Wintenu (* Nenu"), Select * File j open orders... bth Dialog ("open ordar’) stl thcheckBox (" ordur alo. "). set Bioedtl(egege ‘on™ D+B2t Poramatir (“num!) “inButlen (94°). chick End 1H rd with . Nek: Actons are 3 types Local acelin, reusable achon and entirnol oalion By dafatk one teat TA one local acim Reusable action Tnvokable in any tusk. A cablict 2x): Lown = el Yeusgble action an her UAT 40 (que oe samen eeHen, <> Te catl a acvsable action 20 a Bak ai extimad, we can’ follow below now tigation. foaevt menu—> Call to existing raswe aclion > browse -actions fee poth > Specify action name > CLich ob —» Come ee back 4o tist action > Spetify values to parametins —> C Aplleis above newigalien sto coll move actos if etdid 1 i Runaction “action name [filnami|”) onaiterdlion voltae tei € oo ; Poramatirs © € . ' : . 6 ok = nag AL you cath any ockton by using ™ cat ~fo | c existing action" ophion , Han thal oalien Je drod- only, ae “Test serigt for desl caie 1 e¢ eS i C¢ ¢ € € {—__t_an : a -p:\ Plight _ Reserv |iestdeta \ login xls. I ‘¢ option cxplict! « Dim exo , Who, WS50, %, YR LT ( Set exo = creatiobject (excel - Application”) a Bel Neos exo. Workoooks. open (" 0+) Flight. Resen\sesldare | i dogin. xis) | ¢ Sel Wo 2 Who, Norkaheslts (9 Sheed.” ~ARRARARARTAAO | “V2 W880. Usedrange , rows. count \ fort sa to + atp 1 #50 6 « , : He alle (T 1) for Agent name 7 B W50. ctl (1,2) Be Rseword |@® A= ws. celle (3) Bor crittvig | Run Action “ean [actions] ”) oneThrectton “ey Newtaslion | Ron Adio login [actors] ", ons Dtaration x, 4 Sy abvigtion + Te Window(* ehight Reseneilion"). Exist and xsvalid” than Raporder. Raportevent micRuss , “dogin teat", “succes ful” oe | Biadow (“Plight Rezervalion") cloae me the ebael? Dialeg ("Login Dk F Rerervalions'), 2xtat and z= tnelia” © Reportar, ReporkSvenk riicpasa, loginleit”, * omévc Dialog "Y. Dialog | ght Rerervations"). Diotog ("Login") . chose elie Reporter. Reportevent mitefai! ." login Lat”, “uns uccerafet” End WP Next exo. Quié Set 1960 = nothing Set pbe = nothing | Seb eno nothing. TO see : “Order number te 6 order -9 tA @ number number F 4A alio a order an order 2 4 tA Nn Order number, light order ttn flight rerervelion Dp 1\ Plight ~vegery\Feat dats \ordera lat option explicit = Dim: 50, $0, 2,4 Set #59 =Creabiobject (geriphing. Sesplrpet?) Set fo = PS0.0pertent file Co: Ranictien RunActi on while fo. MEndoP stream > tras a = fo. Rodline Sek re new reqgenp vr potern ="Lo-dy" ‘5 maluh numbers riglobod = dvuc Set m= vr, exec’ (a) | umber array for each A fin Rundction ” Next orderopen factions)", onePbralien , 9. *Lelgat— retery \ierl data lordire dat 3} ine Ich 6ne-0r moss words “Nome i") . Gab Visi ble texte | | rapatlorn = *((n-x}fo-a) + fre] 2)41,% “te met ; | | ge window (" eight Raerialion"), Winkdtt ( 42 redeatey) then ~ Reporter, ReporkSvent micpasa )" Name value ype tedling y i € | he | pode. RporkBvent micfail, “rams vole | end 48 : Set rs Nothing | wend t ( C € € fo. hose . oa Cc: window (* pbight” Rscwtion )eclone . ms C | seb fo = nothing. € c Correct Eipe frpe esting”, verona bape set Peo enothing. C | Fh Sacordid} playback methelology tial seriph gareratel c ly talting actions , by gerocling atchimeni vio stap genssabs Camby dteording. @y using slp qenvalor, Jet outomalire are 3 7 a (0 cscting vbscript Punction calle, QP clitity cbjecl access G owt Cj sur deat object accers | Cakigory in \ (Sep qenvaten fonctions Forpase \ 2xornples functions Cink cet exccatyi by, extHenty JedbLo , mido, arreyo, LEO vighto Teatobjects © access objects in window , dislog , winedid , Isut depend odd-' [Lai nbutton Webedit , Selection bromer, page hak, nage ~bla. sofedit LAT y objects |. @tP Special object Datotabse ,AMILTE, Neporate, Reponitorien Collection’ , Environment , Enery ph... “ Teal Sevipt’ for -lest cose 3. :~ Runacion “Saunh [actions] ", one. ibivetion Rafiadion ” login factions |", one Terdlion, * odin”, ” meruuy” wth roindows [ Flight Rercrvebion} Adi vale +WinMeou ("Manu"). Select “Analysis 5 Graphs bith. Disleg (Graph) . ‘ - Homimi ge A = Win Object (Gs -Drowing "). Cedvisibliiert ) WE nate (2,"odmin") than Yeportic. Reporlévent eric pats , “Geaph corti busting”, coreee! de reporkir, Repodevent miicfail,* Cwoph Contint Hating ",”Socorrect ©. end ie «clone End with + clore End wrth, . “Teak Sevipt for test cares Beta einai it option explicit ‘ Aim cen vs, 4,% , +, P dot aaa ~~ RRR RATRAAA Set an: comatiobjack (“ADoD@. Connection”) Con. open“ sn = QTL Plight 22" la Bek vo = couchobject (ADo Dg . kecord ect) =" Select order number Prom ordura" be Ronaction launch [actions] " n7 OP yore Herclier) Rundction login (actions) "| one ‘tavottion , “adlenin’” While rs. CoF 6> trun = 1S. Field’ ( order nvenber"). Value RonAetion “ ordaropen [actions]”, ontTurction, se © A ewindow (" Bight Reserisilion”),wintdit (“Tickebe, *), Gel visiubestes ee = Window (plight Reservation’), winedlt ("Price : *) -Gebviaiblae dot = window (" Flight Reaeiabion}: cineast (° Totals Pe mid (,a, Lance) » os cut $ tok = rbd (Of0t 2, lun(tot)-i) Teale) “Gel tai oleFead 0. VP cdbl (dot) = cint (4) » cabh (*) they reportir. roporlevent micpass Vcaludation text", ele Correct " veporkiv. reportevent ericPoly | * End tf rs. Hove Nexk Wend Winder (" Flight Rerewvotion") close Ys, close coluwtalion fut", “Tncorrect” Con . close Sek vge nothing Set con = nothin ra Fring vet Noi Wn vorng re Steg squncunm to floor On Gil Dur to this atoron ome custation. Sit wot ‘get fol with conect voluass alas: Teak egies t- on Description | Feat dota \ xpedtsd cutcome ‘ 1 launch FR Sfio | ati agent ome Plight Reservalisn ( and Do slogin | % passoord Window opensd ( 2 | gpen exieting onksr | valid order net] ondur opened | ¢ S| pen fox order Fill | valid fox mumber [fax Sant successfully” . fields and Ulich land signatine massage a, Pp S PREBIM: : le 4, >. 01\ hight Reserve \Teabdetal qunbercdab 2p cau. al © TAA Re 4 i is 3 a - 4 i 0 C Coatseript c option eaphict eae Dim £50,f0 ,% ac Set #50 G@,% = Creatrobject scripting filesygtum object) 1 ¢ Set fo = fs0. opentart file (* O+\ flight - reserv\tesldoda numbers, ‘a ar 5, alae) ( Runackion “Jaurch [actions ]’, on Daralion Runacttor © login Joctfons]”, onaDbrodion,” odin” ,* mura” While fo. mw Alendo? Stream <> trun 1 + fo. ReadLine _ | Ranaction * ordaropen factions)”, one Ttrtten, ‘| - Whh twirdow (“PLight Reservation’) | | swintteou (“rluinu"). Select “Pike 5 fax Order my I : +Dialeg (“Pax ordar no. s"), sof Object (* Cax slumber: *) Type “a - whodow ("0% order no.) Rontretog “Trockt” eee ( *Dialeg (*Pox order Nos"), tofn Button (“send’). ‘ | etka « | a vwinokjeck(" fan sent successfully”) , Euiet then C 2° Reportar. Report @vent ric Pass |" fox betting” * succesful” co ele : . € Raporkir, Report event micfall .* fox sterling" , “onsucceisful” Ce gna te od ia © end tolth ; Cc toend c Wndow(* Flight Reservaion ”), close ( fo. clone ( set 7 ct Sek £50 = nothing « | Case Study: [Working wlth signaliae object) ( Dn asacriptive oa fa secordiag methodologies fat | crete, con using onalog Aitording be ascord Aign alin (6 Atk operation . . t fu: Digitol Aigoatinres i groph dsowing paint ..-- Te goto dhis recording moda swe con follow below navigalin Bek Atart oncerding 9 automation manu —y solect anclag recording > Select Acrean bevel 92 window Level > rhow window ley Boebea winesie > cucn Maye anotog yecera —> Nave Ieoee rr alignoture or graph drawing or palct—> aedomalion “mem >”. analog recording fo: stop —» clic alorp - AeCording ” ie Ke > deAlrtop . RonArolog “Teackrome” “screen Devel aecovding a WMedeo(* Path"). RunAnalog “Fro” * indo Level dacording, AC Caw shady 2+ Update object aspostlery to Tdudkify Ayrariic: objach ‘ "Dn recording methodalagy some object art. windotat, c “Hithea axe changing ctyramically “To Udactify: these object ond © ¢ rwindansd Auccestfully ob Auntie , we Gon Change panied c Deference tn. object depository “2 € Exi- Recording t- logical nome : Fax order lov) ‘ Aitew By oped oie 0-4 | ry 4 ts . pe Type + window 5 de a iu Runtime + - logical name: for order not . a o Goethe ele aan » Type + Wind: X haa i pe + windovs eager? a Resouress manu —p object repertory —> Select dynamic abject — € ¢ vafpene —> Seach options Teon Jor test property —s Selec | a ( Regular Baxpreasion —> wall ext with ——LrC ——— = lore seposttony 4 cep] Dialog (Leeks slegin’). winedtt (ollackad Sisk + = tak aloes" ~ARAROAARNRBAAAD _ Cake Study 3 + Diskinglsd Atelier objets ; din moat of the dimes bal oulomabira are Ataug ing with atmilor objecti din same screen. Pn deacriphive rnthodology Gist automolara can ure dads" property So Correnpording sbjee! Abokiments . “index? 20"). seb “etindg Above code con operate firat agent name edit box Bk we om ip aconling mudhodalogy @r can try 0 disfirguish similar objects by follewing default property Labte adertify an adit box, by defardt arp con ure “attacked tent”, “and “nalfve-class” povopertics as mandalary “windwowid” os | ossictive property din aacordiing Dine for ex. more thas one edi! bon “cttobad ent, nalivedass and wirdov'd ” 2 Some, than | oP straggld to Tderdiy spenitze edt box To Dial inguith | hove Like Aimblar objects ihile ronning vecerdad code hen "Mest audomaties tan orton below Aypes | Rayie-Tooks manu —> object Sdediftcalion — select out Luchrology os envinonmant > Sebel Afmilar object -lype in avalloll teat —> Add distinguiahls properties to mandorlory & oariative Properties Lal ——» click ok ee : Mandator: _ araiative pdtlached leat windeudid ralivecles Hondatory assistive Attacked boot notive class haya: Te distinguish aimilar obpetr we can depends on e Lslingerith, Orginal Jdarckifer concept Dn Ain Concapt Wwe con dicing! Almilar object by uring index om lpedtion. Similar object Under atari with 8. Fer ex. / : 0.2 thedy ip Hat y 1 OMIAY ¢ Gheenk eee 59, O ION R coy. Uoopih rae eeeaee © © Seating : & O Fasting Parent > . winrediobutton £* eat ¢2 Mind g,” index t= 15.Set “on! . winnadiobutton € leat : =Testing" | todex + =0'> Seb “on” dacdigne Do guseral Sndex Sx depending on rome 05 dat of aimtior object, but Location depeds on type of Atenilor objeck| ® OHindg, \ O Hind, 2 0 Mindy 3 OrVetting 4 OSarting A ' gy AAARAA TDD ~ AA RA Efarent > . winoodiobutten (° toxt = Miodg.”, “Leeibion sat eset : , On . winsediobutten (Heat te Testing "ba colion 23°).sel ‘on Here Lboction -also slarti with o thin Section numbering foltows top te bullern and deft to alight of th, Aasan. Hay 3'-To Atstinguish similar objets tet autonaliics ove vatag arraat Jide Jigeslion Contapt. Rao the Conespt Sister | Sa dinacing fool toe Sdartify am object daperds on buster Apecified propardicn only Sinstod of cle fote properties . Fools many —> object Idenbikicalion —, select Aut -lechndlogy arvenvixenment —> selack similar objects type —> Select erable ‘root ScuAbf cafion “Chech bok > chtch Conkigure —> Select tase and optima) paopailiar— ctich oh > click oly . ex: Fon winedtt Depa Weaifeation Windordd Nowe — Recoding peopl, ove using Hay! and ney3 lo duslinguish Aimilar Objectt buf daacriplive people Can Fottow wage. to distinguish Mailer objec in same screen Cage tnd 4 Lets py ing Unknown’, copes / Fn duicripive programming Sua autornatis or Uxing Aerdkeys O rithod of sotndord aha object 42 opereti ” an unknown object or hidden object. Gest ascording people are vxing virtual object Concept. Fools menv— virtual objects > new virlual object —> nxt —» Select expectd Bype [ button, List , chet box latoLe, rodtobutten J» lich neat —> Hark object—> Select unknovon object amo —s clich next —> Ulich nent alin Contrmabion of, Seldid arra—> entity a rome to virluo) chjeck —> say Yel otno qo Usele moar virtual objets we dick ftotab. Nok.— AW virlool edjesh Snformation Ta availlobl in lela mano —2 Mirtvel objects srtual object manger or 3¢ © OC € C € c c xe vie . AN AAR ARR | ee | | Hocking with «Wet Add fo mim dao | anee ina fomecs Bechnolegy +o davelop Web bas | Windows based pasjecti . DE a Als Acreans duveloped In Te only , then We can Jaunch Q@rp with «Met odd-fn. Jf a web athi poge | developed Po HTHL With niet then we can daunch @rP cwhh Web addin and «Neb add—fn. Demet windows based sly testing: ° we can daunch erp with -Aleb add. io only to woah with windows developed Wm Net. While working with 36 Wet odd to {ATP follos’ below objecks hierarchy I | } SwEwWindoww ab © ya J T T [as goteatt | ‘as8tKackooi| SeoPloble | sufmnbslant axdiaedel se] st Sukbeilon Sufrodiobutten « swthist — suserllbar Siedler sw08Stebuy ba AAA RANA ATT Set slands for standard twindow form. sup | Deacr? plion \ seal deta. | expectsd out come b Jounch clots sw | sean goth ] Semclosr windows opersd ( Ffesteqsen 7 cy ' | Se Deacription dei dato eapectid outcome oI . 1 | hounds clo Shy exe path Armelais windew opered Bf bak add, Pri Fields | valid class id, | Saved dala tmertia and click save butfm | class rome Y | into 4yont end tobl as Shrongth a rea record alg DercrtpHion | Teal data | gxpectid ouleame . j. }howneh class Sfey rene path $rndass window opened 2. | Bort end Joble consi none. | equal to dela tn dodo | of aacords. bore. | sia Noke:- This .wek project data base dweloped fn sq! server.tiee eee Ya SYS and foltowdd windows qudherlicalion . Sampleoe ws dolatore rome and dbo-class Sy lable nome. Here “ble Conta of 3 Ctlumns Auch as clossid classname ond Strength CsTAP li wes oag 5 “ Sheps fanaling reutalat actions . faunch @IP with » Jet add-in ~> File Menu — new —> Teal 5 intent menu —> call to new action: smear vocHen pare: with dercrigin, <5 ich “oh Ss Becaed Sausoble code - > Fottoro. above navigation +o Carat more actions —» Save adiom fn a pe. Nok: -T avn actions joa Aiftent cela to fut we can Poraméterise those attions Neb ALE Completion of actions cesabion - any — Ahan BAL automating will save these actions tn a panels th. : ; Launch action » ~ é “No paometys . F Sovekeopp lication ~ €*\Rage \dolnelap|datistage|bin| cabal dol € 1 oppex” ES ~erRARARAT TT adkling acter: — ‘diiron payamufrs for clasid, clusramey and Abrongtt, Isith Swfisindow ( frenetass*) | v Adivali «si button (" Add "),click, 7 SwhedE(*intid"), sek parameter Gras) “soFediP (“Ixtname”). seb paramatir (*L" ) val sihedit (“tuksize *), sek parameter ("6") + SPbutton (“save ), cLicl, end with, sak fa Teatseript for Tetteaset eae, Roradien “ lauuneds [oct ont)” janie Mtirab ters iP swfwindeo(“Prmeten”).aucat then bee igte, Rapti. reportevent micpats ,* window) enitlance letting” ened swPraindlow.("Prmncous") . chore elie Reportar. reporkeverk mielat! ," wéndoo enisianes deiting’," aot exist End iE Teakseript for Tat caen, Classtd = -cname Sige 100 HCA 200 lo) BSeby Ako loa noeh Sar Ds \ schoo! \Tertdata \Book!: Is. oprisn expe Dim eno ,wabo, 50, 41) 7, J ,C1, Cn, Ca,0, Flag Sek exo = Carahobsect (enced. vippticclin") Sek Jobo = x6. workbooks . oper (* Ds (Schoo) |Teubdlala | ook 1. x5") Set ws0 = who. wovhtheett (“Sheet ") Fr = wWSo0 vaed range rows. Covouk — Roradion * launch[acken) , onPtirdlien tee ee tO ee me 21080. cellA (7, 1) Basso canta CF») 3 20050 -oll(,3) . a Ranaiion “adding factioni’}”, oricitivedion ,x,4,8 r= Sefidindows (“frmelass” )., SiwAloble (* grdctass’) . Rowcount. log =o ‘ dor jz0 to n-1 abp 1 ; Ci = SwPbindowo ("Frmctass’).ooflable(* pdelass”), Gotcalldala (j,°) Cr Sw windows (“Frmclass”) .soHoble (‘grltlais”) .qutcelblata (Jj, ') C5 WP isindoww (“Frenclass"). suPloble (“graddlasst) Cettattdarte. (j.2)) Jf nk (%) = Gok (Ct) and str compl estr(y) , 65+ (en) J. onl Cintla) = dat (co) her Reportar, Reportévent micpols,‘ petnet tobe fut". “odd Ah fogs Hen Repor ber Report Event mnichost otnebloblcTert "Not oclelad’ End) oe i 4 A RT R ARM AAA TT ITT TO y oe Next Stiindow (~Srmelast"). close exo. Quik | Set Ws0= nothing (Sek wbo = nohing Sek exo = rothing Teatsutpt fa Testcose 3 option exphist Din con, 8,2 Ya s7, Ci, en, 65 , Fg, ; (sek Cons Cuotiobject (A002. Comsétion’) = “can. open ” Provider 2 SQLOLEDS 5 ServeresyS 4-Dalabale = Sarmplng; Frvike A —Connadiion = yer 37! Set v9 > creahobject (*apong. Recorcl set") Sx0Pe, Select ot Prom, dboiclods., Can... Rundction "launch [ations ”, ox Ttiration | while re. eohe > drs | x 215. Fields (* cassis "). velo, | yr rs. field (* clasmame”) . valor ae rs. fields (* strength”). value, v= swhwindows (“Prmeless") , Sioflable Cqrdetats’) . Roweounk Por bao +o ri atip | Ci = swPusindsw (“Prmelass") . swPtable (“qrdctas”) Cetcuttdata( 0) | Cr + Sob idindow (“4renclass’) SsoPloble (“qrdelass’). Cebcetidata (i ,) Cs = SwPwWIndO tw (" Prin class"). Swale ["qrdetass ) Geteatdetar(i, 2) TE ctot(x) =Chot (ci) anol strcomp(y cn) and Cint (a) = Cab (cs) te veporkse, report event micpass, “lela base bet”. " moctched ” pg Flag = cia | Near TF Plageo then LPTs Feportiy. reportevent mickall’;* Dafa base dating © mismateh” End TE S. movensn Wend rs chose. fen, Clore seb vss nothing Set Con = nothing Sef window (" Prmelars").clese . ESTAR pith dascriplive Regrseming / oe mA ARR ONAAAAAAT ' teat | / } € ( ‘ adding objects muthodology “To tasab go shoal aspoaiory Lak autiomators con follow} © belo navigation © “Jauneh ene wi GIP jth Reson, =. red, object | C Sibleble adding mune > epeatiory ‘eect Be ors d Saurch Corre ponding Uae oo 4 a ee @ tt oo Gg Gourtinns oberg Select Be a Chr cas on Shared repeaitory TA “barn Laval. a To assoiah a shoved repository te 0 wedttc Jeth ve |, (C29 follots belo ray’ : ~ ( Filamana - nlew Seat —» barons, Arrodak OS fe ; ae Repositories och (4 Adis) AAsoGoki sduck te browse alon ee es, elgg “*repositor }— ok eat oelion click open t / file poth fy depadk HE stokes action | csTAF ioith osding objec muthodelegy. QE tA a naw muthodology Gn foncti enol fest austoretion [this methodology ony Avppoiting by HP aT? In -dascriptive | nsihodology dat cudamabins gu gelting dascripliens ef chjeck © Sn Sut by Using objecti Spy (or) other Apy sla. thn thar teak euitorndllera are orssling keg osorchs exp lic by : Qn axcorting mudhodology Grp acl can gather duuageription Of ekjet Simplicity. And moieloin them to abject aepository for Teeaihea : Qe adding object muthedology. Tet arlomalintr are crass c € O Ahored repemitory. dampltathy : this aspoattony consis of © deaciptions af oll dealable object So sor ¢ ¢ pee ® c € c Cexplicikly) € ( Zo dateriptive methodology c Tens object repository ( r eee evel eEOECYUYE HY YH YY - ee ee we 6 OO Oo ee Nob. Aker’ osacciating 9 shared repository to 0 fut, tert cxdomal can “open that supositoty uaing \ “Reacvras __, chest repository (chy te) 4 menu | 1 —5Te gararolt script lest auclomators con drop % daop objecti \ From object repository cho tek pone (ae oo! fat qe) cose Adu: ~ A coladotor davoloped th java aa one tea foo, Kuk thts Joua shy we can launch @rp with java sfw. WK 7 a rohth Java prajecht, we con get below Kerarchy \ ese Jove window + ee - | Buedinlog ; : : a ee F a as Favebudton jovatdit Javebut jpuemenu Javoradio on Jeselap ~" jowobee a : chatktoe » | PEE any. Jove object not okt. to oxcogniged that Fim mig tool t& token Jove abject - 22m wer, iP any web object ty rot able to Ascognigzed Hat Hime my bool 14 ake weledement Th jovea cokuleler we can get adetiti on , Sublracti on g, moHipli we can outtorneir below fii cases Descripfion’ |. leat data \expectid outcome open Coleutator nlone [coledtalien window oferta Enter dada ard | g\codeutetor\ | slertdela dato. “n4 iL correc! addition Pertorm addition | Ls Raromulerigadion “i shoe type <> Pala type objects: —> rams. of dota Type. objest piece repur “Aasodot. aapesitery -to kat 56. 42 133/ eel ee Se Cae a option explictt . Dim £90, 80,4, 4, 4d,8 ty ta, dyda. nisbpod : get #50 = cmabrobject (* oni, Ptlesyetimobject ) ne Set fo = $50. opentext file (° 9:\ colewlabn\tertdata | deta - tak” jokile fo. Mendofslrenm «>t j- a 2 fe. readling Set i, > Len( yled) for i=! +o hi Step | . d) = mid (80),4 i) Jawa window (* jews stohg coleutaten”). ‘eutBatton (Ai). cbics, Next Jovenindon (“jovasisingcatuslor "), javegutten (7+) clicks é hy = ben(¥U2) for joi o fy sip 1 da > mid (400,50 parowindsw (‘Jovaswingcolustator *). Jovaloudtton (a2). chick, nlext Jovarsindew (" javasisingcolasate r ") jovebedtor (42 "), Bek x sJovawindews("javasuingraleulator”). Javastalictest ( (*ogst>") Catropro panty (* oftbchect text") | 48 cdbd(a) = cdbl( yd) thin Reporter. Reporkevent micpars , “coleuledion-feat , “correct” i) che Reporter. Report event micfoil, “calesedinn fest”, “ingrrect” Enaif set fo- nothing werd * 50) Pao - nothi fo. clone ° _ TE eC 7 ~AARPRARARART £, obi: J abwe colealelor shu. ofp object table 4a initobly “s Buk ofp with be. Changinging depends on ifps ond operations , Our Pe Hod Sacro we Rergad o/p object Iabl. porn oto “8” in ahared Sapoaitery. FJeattose at eh Descriptiory Feat dala oxpechd outcome 1. Launch jova caluulalor p:\jowaccle} valid of ber add. S0P, "Perform anithmetic. — Jextdafe| mol ond division oporotions” such as expressions ak oda , sub ,rew} 4, division : eat aed mw) Shared repository oxadathe : (2a As Ca option. exphrit: > ; 45 uh = | Dien $0, £5,549) ES Ses- os Qde I= 4b Set $50 = carshi object. ( scripts File systim object) set fo = P50. epentt Bile (“ps jouacale| teldata \ expressions dal ™ HLL Po ak end Stream <5 tau folae) x = fo. readUng ye spl (x ~ A aher(yloy) Pon bat +o Q mips . ; d= mid (yte), 7,1) Joxa.nindoo (" joa, stoing coltustelin’), Javobutten ea | Jowmnindoty (Cuevas sin gcaleuteter) ,fevabutton (* nea ). Chics, Le Jovawsindow(" jove swtingcatewalor "). Javantalicleat (* ofst"): Getropropely {* atartadlent) 7 cabl(a)= cabl (yt) then Kaper. Keporrey ene “mucpas ; AALTnmstie eperouorve Tesving » Corr ele - Reportar, Aporlevent riicfoil, “Aathmatic opedbion’ fag" Sntorrel ena TP. 1 If Wend fo choad ¢ Sek fp = nothing ( Sek $50 = nothing ! . 7 . 7 € working with Web add sin and’ Joyo. add-in i ~? java code Aunning on Server #4 called O4 (pro sabvelets . + Jove code UA dwnning on cLient 1A callid ot Jove applet. [46 aes wah Coming wlth) Qs, mou the webpage . Some web € . “Controls che there} C Some Hmus diveloperA are cerigning web pager by using | C ims and fovea controls my dest thig “Ape of web pager’, we de | Can dassneh QTR vwith web add —fo) and joe odd =I, Here, QT. ite + Ahakements ox Forming Like os felow c Growoner (“4ite’). Poge ("4itfe"). Javaopplek ("xx>+"). Jovebustion (“nen ¢ oe & jova iz fa web + otro reen oF jovo opened) Sin page —dhen th uC Gx called as jovoapplel » ( Bre waer, ( 1 b tuo ada =n 14 age 4 ( Java. applt “ a + an 2 ay 3 ¢ Javoedtit unser | Jovothact box L. i ecu ) 4 Javoliut — voReckiobutton Javaataticfea _ : Continuation of laxt pages eee hLhLhmLUmLC— ales nem cea cljesd cxvineciment variables: - Fo stove savsoble “dala Lhe Pile pals, user tds, Posawords.... eb we, cam Ure ACR defined envineAment variok Jo canoe User: difined emvinnnmint varichlas we can follots below navigatisn Fade meno Settings — Epviaonment—> Select variable ype on cnr defined chich add (4) kon —> Sila variable rams —> specie value —> Click oho clic, add(e) Feon to Carat mone envinonment verlablas—» click export offer, Conacting Suqpned envisonment variables > Specify amt fh path Afbe Saving envinsonment voriables ta aml fit, seat ordomalua one amsorisiling Aged seal fee oth even bak to use these vaniabler enviaoomant. LeodPromeite (° nrodhil pat”) Aliir astocoking am) file with hat, bal automater con vae environment variables La at belo envinonmant value (" Veriable name") ‘Drivaxderiels waiting Se gewoh mona hutics or oudomotion titers cre opplging ests on SuT as batches “To moke fast script: at batcdus in @Tp, we can fotfow any one of -lo00 soe 5 Teal belch avoners | Slort —» Program’ —= QTP —o"Tool4s —> Feat Balch Ruener | > ick add icon —s brewse required lest Pp Hy > Chick open > Wt add 'Co --10 Drewae more Ace purwe —7Z Guds Ron icon _ finally Le - _ We nooks: To wake -HGA Conuph. We can qet Permission bs Aetling eel manu —> option’: —> Selec dest bod Woner Check box —> click apply > click of In QTP. §).,Aon: (Automation object model) hia ta an abternotive way do avn fake at batches, Tn this Aon Concept, lest automolirs ore aurlomating OTP Jounching , dequiacd Beat opening Swooning ; rssulls saving ond grr closing , To automel @TP launching we con Uae below Code 5 option explictt Dim ep : qbhpp = Cauateobject (° Quiles copplicabien”) Stapp. Launch qldep. viaibhe =Taua We con tort above Like Code th notipad § Sove with diver, vos Afbe faunching @TP we can une below Code o fat and dun RAPP open * Deir Vag posth of bak’ qapp “Test. Bon A¥fr ounning a bat cleat audomaliva ave aulomalt bs - remutta generation , ly vaing below Code, lo ofen Te tn ow aa OO a ae option explictt Dim gtdpp ,qtrs . set qdpp = Crrabrobiect ("Qi caiteat.Applicalien") qh App. bounch qkhpp- Visibl. = True , Se yas = Creabrobject (“auehText , Run Results options”) airs. Reaultalocalion =~ path f the pe at App open “ Pash fe file” GEADP Test » Run gtrs rus atApp. Qutk Sed gkrs = Noth, Sek tape - ntothiug . tan eifind” aloove” Code” Bia as belows en: Tertnames ae dogin test mail ~ opon. ct \esks dy mol! — deplg moil — forward degost —Teat To sun thin prepare hat Scvtpti, Storr aeaulty ‘in <3} “Dim gtape , qias," who, W50, exo, Set eno = Crotiobject (* excel + Oppli cation”) Seb Who = exo. Workbooks . open (“c:\ Testa» xls”) Sef 50 > Who. Worksheets (sheets *) Store 80. UAgdvans ¢ « Rows count ‘Te. prepare doaverseri pti 4% mubbight: te or bald, oe Heat rerbly Option explicit Yoda ek stapp = Carobobject (" Quickiest . Appecanon « qhapp. Laxnch aap. Visi bls True! Gok ors = carotrobjeck (Cauiektat . Ron Raut opt ons’ ) girs, Reaulkabocation > ~ cv \ Test veut | for i=a to a ate | me wse- cell4(7,) qkapp-open “cx\ * ex qttpp Test. Run gts, True nenk eh pp. Quik 8 a Stk woo = nothing : Sek wWeo = rothing Sek dha! snotty Set gtrs = nothing rE Altir waiting daiver sevipt for mottighe lest specifieg Jin Sxcet Aheek test arcomelars are exttendiing bose Seripti with Local mailing Slw. (ae eutleok) be forward Jerk reasute ar a mail Driver Sevipt ols. Teak open « on AA TR RRR RR OADAADAAIAGD A~AFRARARAR TO option explicze ” Diem qp, yrs, 226; tbo , 1050, FT pot, rm set 9fApp -cmabrobject (“@uicnTesk - Appl. calion’) @tApp. Launch App .vistble > Toure set gra + Creakiobsect (“QuichTeal, Rin ResLiopti ons”) airs. Reaulbilocstion =" C: \eit Result” set exo = Crrctiobjock (* eat. Appl cetion’) eno. visible 2 Dawe set who = exo, workbooks , open ("c+ Heats sala’) sek WSe = Who, workiheal (* Shert 1") rz WSO, vsedrang. . FowS. Count sel msol = carabiobject (“oul book. Aatiention’ a for Asa to fo Aig? 1655 Sweet Me Be WS. colle Gi.) App open “cil “ax akdpp. Teak . Run girs true set m = m6o}.carotiitin (0) mite = “deatlad @ minelg..con” m Svbje ck = Test reautl of * yx mice = * °m @mindg-.com ” mbodos = * Hat dest rod jPhiote check my tusk reste” mr atachments.odd “¢s\-iealresulls \report “tat ™. Send Set mae nothing Next App - Quit exo. quik mslo. utd Set mslo =nothing get 50 2 Nothing Gal- wbe's nothing Sd. x0 « nothing Recovery Scenarios while wnning lead Pun -time -erverA voroly scrips ot batches we ove geting To Accover these run-time errers i Concept automatically ,we can v4e secovemy Seenar 06 exp So Qrp, Recovery gcenariora are handing 4 Types 4 Proolimy while testing . Bw Test. 208 Error Bx: Srroré attatiad to. vbserPpr. 8 Pop-up window : coe nd Bar Windote salah eran ine Supe bk 2 + D object Aloe. Sx. A bulton 1% dAtzable loehove chich. D) Applicotion Cvash a To handle above 4 types of problems, QTP can pry Ong one 4 4 Sipes +, Solslions . ui a a ich or kegbeard click. 2 Fonction coll tx: a set of Code -lo ducover Jom error D Rertard windows d) close SsuT and Aaopen Alby recover from errora, QTP Can Courdinus remaining tenting in ang ee gh below taays { aA RRR RRA RAAAR ATA TTTF (Post axcovery) 3) Repeat current stip and Courtine B tote next step fon eivor ausume cnt’) © Goto nent Gat Thvalion . 4) Golo neat fat or action 2 Restart current bab f) Slop lest aun. Navigotign Fdentify problem in suv whl testing —> Pile manu —> new —> Ponekion brary ~» wodke @ punckien. to recover’ problem fo ST > Rrourur menu —> Recovery Scanarto morages —» chicle nus scanarfo fcon —> chich neat tn welcome Screen —> Sdack hype ce problem fo “suT'(‘ex! Ror - oP) ek Next —> show Grolotern: 1a toed click nhenk >. cltets.ment Selack. -artovery dhype (ex: fondtion coll) —> Provide secovery delaits. deselect anothur Secovery operation Check box —sclick, Nexk —s sclect- Post oacoverry option (2x: proued to aext Alep)—s clfeh vent _, jentir scerario name and description —» click narlk —s add scenario Ao current fst — hich fini — Save Seamario with filtname. qrs. (ETP Dacoveny Seenarie)—s chick, cliose Nok -- Atte Complitian of artovery Aterarion tration ond saving iterxt ardornatin ore ardorieting recovery Stanarios With suqired det. oper Corresponding Bist —> file menu — settings Recovery —» odd (4) leon —> browne praviously saved Aecoveny SKenerie File, ars —7 clich add scenario —> click opply —» keh of ex! in Problern type 5 Pop-up window Recovery type: fonction cal Post aacoveny + procesd. to nant Atep. Error Window rome, Flight Rarervatians Recovery fonction: Function sucovery( by vel win) with window (“leaf : = Flight Reservation") LWT. Dialog (“deat = open order’) + Dialog t tent = Flap Reservetions’). winbutton (text: = ok’) «click + winedat (+ aad a = 1016") Sek “t - winbutter (ex RT) ichick,* cgi ia ea Ri Ae End with End fonction up Problem ky pe + Por- up window Rocovery bj pe : Purélion call Port recovery: Proceed Ho naxt stip Enor Window = Flight Arsesvations [wacng Paasodord)) Recovery Konetion Fonction aucoveryi( byvel ain) wlth, diolog (ext: = Login”) vdtoleg (“ents PLight Reservations"). oinbutten (“texts oot) click Winbatton (ext 201"), chick, End. wrth End foncdion , eal Reaylia coryersion undike to otter fools @TP win provide a poe, to Convent teak aeaults nto -hhod , doe .pdlf Roo cleat ao get leat aorulla > Pd. mano —> xpork febe > Seek type as htmd, doc, Pak —> browre fe came +o “| fave > clic ok.” ; | Screen oacorder activ tec can folleto ibeteés pavtgat fon). Toole: manu —> options —> Ser Run —> Scasan coplure —> Select Sove move -to results akwous —> Click apply —e Lick ok, To Aee Aecovded movie we can follows below rawigation in { ( ( c c € ec} GP provides dadletop Aecorder hile aunning ch Cc € C : i ( fAeak asaults window ( view raenv —> Screen recorder, ( Active scveen:~ i olde deteding a fut ep coplure sfoties of ser (| OR Hee. To sex sur Snapahots alte Decording, toe 4 | CON Uke view manu —> Active seyeun | Rerking swith passwords: To wrod passwords “in vbécript We Can UAE inputloen-cy \ | foreFion. Buk tAi& Lunetien sthowos yped posaword on thy ~ duaktop. tare. t4 Ao lother fonction In vbscript ~te hide fan Arancl 4 TpU we “an UAe pasrwoyd To bide porrwords. 1 ert scrip Pp erceder, TH conver orginal paatword: into, encay ted password: slart —» programs —» arp —eTodls x Password encoder —2 Type daginad Prruord —> click quvek copy energptd posrawords ‘to Use Sn tera @a) a Crypt Encrypt (" Rercsy") Msgbor a In above revigation or fn coda toe can Spe oaginal .passeoord! atleast ons time. To Prevent thts engined Eyping, the best solubeor| A ontek fectony t epkion explicit din mgfocen roglex my been, 98,9, 79 Sek mngtorn foe! ntloote [2Syktiin 2 Windoies: forms. form’ ,” Syttem . windows forms”) Bek mytext = Telnet factory crrasTristance (*systen. windows foms . cleatbor”, “ Syptim . windows. forms) Sekt mybutton » Det nel factory , Cente lees (“syption Wiodows forms. Button", " Systim. Windows, forms’) Sek pos = potulfaclory. CreckiSentane. (* systim Drossirg «Point”, | * system. daawing” 2,4) i Pos. % = qo fess. = coke Hylext . Cocalion = Pos t = > Hytert, widHy = aoe ng button « loeckinny < p53 Hylton eeSytt inpaietoorchar tre ~ AR RAR ROAAAATRATAIAAD “| Pos. % = [00 te fos y = 130 mybutton. location = Pos my bullon. text = “submit” myform + controla . add mmyteat + Oy ¢ myform. Controls-adad mybutton ‘ myforrm. canceibutton = enybutten . ¢ mgforrn » Showdiatog ( be rogtint . tex ct Topbox ("ertir agent roma) cn ‘Dialog (“ togin"). Activote. . c Dialog ("Login"). win BAIE (“Agent Name:") sek a fe Dialog (*Aogin")- ro nedit (“Posauond 91). seb sb c Dialog (“hogin”): win Gutter ("ok"). click € ( € « Dekvagiogs - Dike oa" programming language! QTP ollows you to ren Spl sling by Wine by vatng En % Fig functional less | Trarnoclions: - ( To colustat, execution time of BE code fo your leat script ( WE Can use transaction point Concept (| open desk —> select position —> inseal menu — start trantachion ¢ [Te enter tramtacion nome —» click of —» select another positior dn Script > Preert menv —> end -lramaction t Series . Start Transaction ” pams” Servicer. EndTramaction “Mam” wn = now ae now mogbox datedi?? ("s', 2,4) a. © meruagtimers. Vimar . Stop - Magbor meruaybimers «Ther, een Rays de Jounch sur 3 ~ Dlayrching woindotss -baued = Sovekeapplicabion (* palk of > Syabirnvttl : Roo, ») dounehing web - bosed sur i 7 Reed sur dnvekrapplicctien ( Path of brewer”) Browaer (“Atle : = about : blak"). nov fgats “ual — loveksapplicatien path oL browser ver” —> Systm util. Ron * Poth of browser”, ” UR” > Set tes Cacahiobject (*Dativart Explorer Application’) Fenavigale “ven” te, Visible «nue & iii e aR RNR RRR RO AAAAN She Cog ke ea 08 ° RRR RRA AABN ATTA Apa dealing | Corponsat “TAtiog Gomatinu orgrigation ore developing frfrnally Wor Keg Spi These Sfios one not having user *nbafetus {eroob end) we tonneck to thse Slins we can vase an applicalion prog romans Jntafo callad as Shien object gu Waiki arp Script to fart fad Whdow Fieaindese , which te Qeellabl, fn Usersa.dil. this horetion itl dake tao fnpuls and Selurna one ofp. Here tps ose daqutred poindowd Nora, ond porank name. Hert ofp is sindow fd. option’ explicit = “pim x xtrn. Dedare micthond ,* Cind Lindow” ace Btern. Finaltindow.(" hotepad 52 w-0 then neghox * Nolepad sindow rot found" | cle Msgbox " Alle pad window find " and 7% exes Watt are sevipt fo nt sekWindowtert > function in | usersadt Library, Here foretion wit! Fake wo Fnpule (and acdurn one output. Unpuba orm windowid and name fo Sek. 0[p is long dobager. + . option explicit im Extern Declare micHwnd s “PindWindow", 'unersa-dll”. "Pind Rinds va micString, mic String extern. Yeciore muctong, © Set Window'text 7 User BQ-dlL” , ” setWindo wih . michlnd , micetring. 2+ Entern, FindWirdow (“Nolepad”,* vbmull string ) eatern, Set WindowText {> Hindg") Dedarecy t- We can vse thts method 46 duclare tertable Component with Snpula and outpub. fatyn, Declare * Returntype *, "fonction name" , " Livroxynome",” aliosname"," Pn put by pes” “To Apecity Inputiypes and aclurndype, Ke can ure below Constanta . Fer tntger —» mieBnt).. long intager > mictong Charactr . i> miccthar String = micString oo 2s Windawid — —> mieHiond on A " Cem |pcom eating [componst object moda) [Dynamic Component object modal} AP) Compo nant con|dconi Fonclions \ Propenties/ 7 rnthoda | Aonckions | Developed in < wnek [oH on He | . “ub ad | From the above ai Gari andl Daw tists | a set of properties and methods, Here properties are Apectying Alalva of objects ard muthode owe Agesity ing ~A RARER RA BAADAATDD = nots To woe wrth POF Like non Hicrosolt | on] actions + an cbjeck « 2x1: Te toork with Ns-gacel noth out depending on Sntaface, we “can vAe ret excels Application. class jes Fo work forth Hs-Werd with out depending on soterface , we | can uae “Word Applicdlion” clara fa1Fe work with Latent explorer browser with oul diperding = ’ inbdfoce ice can une tatirnebexplorer , applicdlion ” class Like In above examples QP have many Com object to work with Sotinolty , Toe nadd- oer [dfnd 6 Co an QTP. i for ex. ‘earn uichTeat, Mantpulclars She User = dekinad {Component Sear “Netaation - < ‘ppen sowe0.Jaanngkp. com ype “manipula PDP" iy Search loulters We tan get “Learn QuichTest art: mantpulatieg Pops in ere’ Clichy downdeod Link + Save downloaded Blinc: \honere” J Extract here On download Zip Fk vy ey Open foldar ond chic Take Ba: Wak QP sevipt +o Find n0. of page 19 given por Hite, Option explicit Dim PdPo,9 A Sek pafo = Creatiobject (“Learn @vibsib Manipulat.ror” ) n= Pd Po, Get Number Cfpoges (“Path of POF File") Hiddkeware fo “blw. QTP ard Por roggbon ‘No.of Pages "Ka eee Testing or SoA esting (Service orienta Appliction) ute] HTTP 2—_| ¥NL] Soap Webrervices Lest Seiiey- Navigation -tc ark web sevicos : Automation launch Q@TP With Keb Series add-in > Seteck meno —> wel Aewice eating igard —» Newb —> byowse poth of Service oniestd applicchion pedi Library (web sews Aefinttion bnguage a Selack veqpired saves fo Leak > provid “npula if dequired —s dick finish —> Bn Gererabid serigk In @TP > Analyze results to corbinn 1 - | dhe Correctness, of Corresponding Servica output { ex. ® WSDL Library. | | 2 ptt «fl, rowie 3 school’ . com webservices Hemp Canvért 1 smn 1 tsa” | “the above wep Library Consish of tuo services such ads celeirva do Foreignkast & PoreighheiE 4o “Celeisus GTP allows your fo launch from pally tantir hen testine oe j veing ql certir By hat rmanagement To fasnch ate fom | quolky center woe tan fallow below Movigation ~ [ABH Rebin hagin & cansank project by Oallig wierd past —> clich close in weleome screan —s dato -iestplan —> select a testing TEBE or Sobheck > Seleck an cnitling lest cose —o change slesltype ak ardomationS atesoiph Ss iainch are occa: feat script on descriptive, Secovdiug or adding abojedli > Save ‘Leak —> Close GTP — hogout fn Qe BC with Load Reoner toad runner tool %% allowing yeu -lo launch from ee Lor ARR RAR ADA RAAT AO Performance testing ( taunch @¢ bin — hogin te by tutiv by Using Vick % Pod > Cj click close tin welcome Sree —> Tert plan —> selecte testing € Aubject ar perfermancs lating —> selcl a bask core anh charge j lek type as LR stenarfo Tut seripk > clic bund, | : Record Vurer script for one User —> Save Script —> Clore Vugen [tee Alves Ge te dee recedes scrip 5 logout | neki Qc ts Tnligtoting wrth WE GIP & eee . Be lh ow manogemant ool pf HP. oe mR RRR RRR ARB BARADATDATS ae! Selenium s— > Web application fundenal eating tool. - | — Released by Solent ium Ha, |» Constala of 3 Components Such os Sdleniven POE, Selaniuw Re and Sekenium Grid. —> Allowing Sertpta fn Core java, htm, Python, Reaby , Perk 5 Laxn 4 —pSeleniom Component aun on windows , Linux, Hac ~2 Selenium Boe th udecl fom secording methodology Selenium RC( Remsti Control) fa ued for ducriphive : methodology Selenium Gatd ie ured foa making Jett Script ou. ae toe Run? om HOH ple Brouaser ore jou be prelgrable pong ee caiving be — Selenium Components are developed in Jove Lo open source futling cleo. and fre dlwsnlead from ww». Stlaniom — Selenium Components arn Customizable because we are setting Seleniver Souree code. fom selenivmha website Selanivm Boe: Pe stands tor Urtagrotid davelepmant eavironmant. “This 'Gomponant dA vaed lo record. a web siti operations in Mogilla « Pinctow 1 browser, becouse Selenium Doe ts a adol-om 7 mogitla Firefox. brmser. Seleniom Pde Accent version Pr Wrehal fa fOr Albi” aetording dita Cevipt wil be Visible in lable Jormot ard lacript Jormeat Jtke in OTP keyword ven We capa fe : Recorded f empe of Seleniven POE 1A Convertid “lo him, java, python, Rebosy | Rexx *. perl. Selenium Res RR =—< Re Stands for vemeti Control. We can use thir Componic . cto tonite duacriptive progaant Pn Coan java Hoal of Salen clextrn are vaing “this Component become Atcordacl crip axe! rok moetrlainal. long -lime Tt ton support molipt. browsers! he mogilla firefor, Trternek explorer, Croogle a opr |e ae Baas |< > Dercriptive programa in core java ox 4 cite, onal jae readifpphle in tome future : ) € LB Selinivm Re Script are th. Cove Java qicdalaniom, objesta.... |e © 3 Soma dimen ieb poges ore aut orning windows Or alert sed ciolegs or pop-ups To hordle Jheze winder, selenivmec ia } c Providing speciad objecti ond methods, el C > Sdiniom Re allows you to get doa fom excel & write fl data -to exce) . ( > Selenium Re will access dota base of Webasiti Undder testing Ws ( by vaing JDBC daiver. Sn Core Jove . ( 3 Selenium ec ork WH exmi fla. also iC ( Selenium Carta _. € odie 8 Aber Complain of script quesalion in ac, test automatirs ave making -\hens oA balcheA . Q1P con Aopport one belch enxeuibion al a dime but selenium grid Can aA ARR RRR RA HARTI T - Avpport multiph. batches, extailion on multiple browsers at aime Selenium IDE installation NA RR RE open mozilla. firefox. browser —> Launch hilpill debenivmhg,- org | 1) 7? Detonlioad —> els 1.0.10 —» Click Tnlall now —> Rslark Strapon oltic un Snalalichion "om Create Fert using sdanium ZOE ax) eos launch lestable websiti —>ools menu fo Frrefex > Selentum TE ors : —> par lest case 5 click oacord 5 operati websik > chich arcora Stoo one Caan clo atop recording Akt. eeneglalien OF -Ancording ,teatey can ure file wmehi—a Save Fert cate lo save that recorded code. z Ayer saving. datorded Cede, Wwe oan gae “ploy Coser. dak? ease Teen We sunning iaekee Codi Ea Oke Post mode os slow mode. 1 To sun all oped fishes as a balth we con ute * poy enting teat suite" Peon. Afr sscording, secorded Code will be Visible tn two views such doble ond Aouurcee, Souru view Le Shotding Secerdact cody 5 him! by default, To change Ao char Janguoges optivns —s format —> Selick suguited Ramnguage Selenive Re :Eotlaltadien | Conk quastion a eee a Poatalling JDK TO. JB creat. a neta folder with Some folder mame | eye Copy ide Shay ter tak & Save it in folder 4) Creak raw Yolder to shat feller with foldev rams 04 Lb © open. tb folder and pork for jor(joe archive) filet dent ~ 6 Jar, Jel. jor, Solenivon yavaa- client! diver jar, Selenium - Server . jor. £) Gnatall. eclipse Q Coto workbench —» f} Mame waclich Configure Jee's 5 chic add —> Select tlondard V4 heh nlert —> browse Jee Piles ee se Uch Pinish Select jor check box > Click ch —» Utck Lwish > enka build pth Balect. creat project > Select TRE Syitim Leibrdny 3 Regi chicks — bulla path —»> Conbigue butid es @dd external Tar's —> Biiags Pb Bar s copy exiting sais seo ctiels ‘openi-schick ok.’ Run mena —> Fey nolo Sek ay Genbiguacs aS Select program —» Specify nome — > Browse File Systirn —> ae Jove sexs in existing Jo —> clich open — browse Sil sytem) Sor werleing diss chorg > Sedhck Vib folder —, click oh > SPeriby argument dike as belovo . Selenivmn — server. Jar- Pork Yuisly chick Opry — click Run (Ar Morting Arar we can Charge port eorber) ! & meng —> new —» Jove project —>Entir a proj | ¢- oe 4 AAA RAR RRA AR OANA BRARAMAADZM ' ~~~ RRR AR ARARARATDTIT Cosgting Teak Sexipt we can wrk dest acripta by vaing core java ¢ Selenium objects In ectipae ve Sropoat corn. thoughtwor hs . Selenium’. DefawtSedlenium ; Public clos’ mail-Sign Ye} popbic atobic Defaultelesiom sdanivm = 4 Deloultsalarium( *locadhost 1234 ,"9 lento”, “hips 4“): Public Stoic String openual i gelaniue. tort () Selenium. open (“hilp : // baw » mats. in. com’); Selaniumn: Windéwmarienige 6 5 suture “pass” ‘ re ‘ Static St ig. Ingion t Salanivm type ("9d 2 Selanivm foram — anyati’): Selenivm type (“Ppod”, “ anjatt”") Selanive. click ("V7 [@ valu =" and @tyre 2 Submit 2”) autora * pass” 5 x : Public stolic void main (String Cj args ) OpenuRe t) 3 login 3: as ge, % 3 Noki: - To get object descriptions Que people ore ning object Apy Buk Selenivm testers are, ving megille, Fire bug for mogita firefox browrerand TE clveloper coo! bar for LE browser. dood Konner a 5 —> Developed by rere Grtwotlive and sake over by He. — Performance jeating -loe! + Renning” on ‘windows plattorms , os Creating Vielual vaeré 40 operale our SUT Conuwranty , > TE Avpports performance eating on Windows posed project, Web bared project and other N-Hier Aofiosnes Perkermance ‘eating Iavels ee While Conducting performance -ledting testing ean Concent rakieng mm 4- levels such aa lead detieg, Moss » ‘| Sterling Spike testing, endarone, testing. wthe execution ol Sf Under Cumomer. expected re % trislorae! etpectid Lnad -le eatimoti’ speed! ta” Tae abr bead seating or Scalability -lesti tng Fe coleuloki sped jo Precesaing woe can vse elapsed ime (Request transmission, | Procenk in Server , Rerponte -lvarkmission) Reaporve Aime [Time to get Firat response) , nitalsec [no. request Attived by Berner ta one sec] % “Throughput (Speed ol. Sewer to oma. 924] — Configuration of Server % erccru > 4. a — Throughput ano aa. 2... kb load eating by vsing Load Bonnar. ae ed ET ek Boner 3 1 SoT g [cent] sewer] | eset onalyser J . Ragusst frat Seenario : Vagen & < , | | customer expettid Conkiguaed Computer | nteFwork, ” Faom the above diagram, lead avriner tool centdati g 3 Vugen Stands fear vielvel urer gererotor, T4 ig allowing you. do Guek vYurer Seripk fcc +y | jovascriph oo your sur Bx teal eating’ tenlrslier Surorig iA Uied o Cuats Aeguired no. Vilual used Jo aun on sur. Results Gralyger Aetorn’ sbtiatia % performance timlerms of elapéed lime , aesponte dime, Hise ond throughput Novigation: Fake customer enpectid cenfauved Computer — Tnslall bocrener and SUT > Start _, Programs’ —> Load Runner —> Load Runner —> chick Create [edit Scripts —» File menu —> sen) —> Select protocel dupends on SUT (Web [HTTP HTHL))_» clicle cach 5 Select sur -lype [web based or windows bared) — specify browser name when Sur wr web- based > Specify ueL or path of SuT—> Specify working init | Action, dive clory > Speciky recording to alart (vevier Maser—end) —> chick 0% —» Opeok ovr SUT as one user - Components such as vege , Carlrbllir scenario & Setulla cnallper. ich Atop decerding . alfir Gonplation Of dempiiond eperatign-in. SOT!” — Save Vuser Sertpt > Tools {Tene —> Carat. Confrolr sceenarto : — Specify no-of vores’ to dihine dosed —> Specify srrvlla direc reich oh —y clich lark seararid Teon > Reaulta manu alter cemplition of extulin —p analyse Serulid —> Tuyrtify leat Summary in terma of hits|oee , through pub, elapsed Hime and | overage aeapente tims —> Report dp project mgt Crroting Trarnactions - - “To caleulat. Perfprmanes of individual eperctiaont, 82 con vrake vulatid code at shana ctign . Vener — Action 1) Ar stosViramaction (names!) Ar. endtrantaction (*rames’, Auto) | ir_startTransad ion (+ roma”) Are endTrantaction ("name a", Auto) Veaer-end td Oe ace), transactions we can follow below navigation, Select Poaition in action —> trgert menu—> start Sramaction > entre tramackimn name —s Click ok ~> Select position th Script jf | — Iotert meno end drarnaction —y ctich ols | A AAR AAR OAADAA € AARARABRAZRS rely a ign :- Abbr sec ding Acript for one user arel then making suqpioed transactions, payormonce dest arctomeber cos Porameerize one uaer: data fr multiple crsers, . Selick one vser dala fn script — Right click 3 Replace with para > enter parameter mame — select parameter Fie aa fib. of “abe —> Lich properties —5 chek crook table —ctich add row —» erty valu —y ick add vow Jo erty move values => follur above novigalion cp poramstirige all Sequined Values in script. Rengagous print :- , we con wre His point to script to de dood balancing oboe reoning Vorer Seripbs:, fostly running Vseré Oe waiting ot Shs point until all He users Comes-to thot point Vorern talt eh addi RAE Acttont) dr Yendezvouk Point by transaction Jy A rototh on Novigelion — YuAer end Select position ontop Of dramtaction —> insert menv—> Randegvous —ertir name for thie point —+ click of oa Alfar Completion of Aveceastal [ood esting under Cutfonar expected tenbigorotion & Lead , esting am seperti acsult to Project managemint ti below forme! Urer | boad’_ | BEB face | Throughrat Avg responte Hme. login 5 | pm fgee | 956 bybrlsee Bsc After seceiving above [tke sesults , project manager Can validake +thore seals worebs : + Performances resulta ef previous verhion > Performance aesulls oP Competdlive produck tn Markel > Por websilir, wac ules, fx. 3 bee Ran urk open |Links aan lace! or forma: Submiasion: A) sheen, Tasting + es © the eneualion of" S]uy order, cuutomar expected conftgpred enviaonment & more than customer expectid toad. “To ertimabr Peak lood % called ot Ares tenting click Veareré batten fn Conlrollur Stunavio Specify quart il \ to ada aftr cick add visers button —> click ok —> chick Aart Scenario —> follows abeve navigetion do odd sera voli] ters nes failed (colted a1 peck load) B Spike testing or Seal Tystiog the cueuation of & Sfno-hextin- under Curtorner expect J Configured envidonment % Sudden lead Snevemantaiion to edtimats| suilabity is colld os aptke testing on soak ating . e eee re a0 i Navigation CUch Vusere in Contr sunario —> clich add vusers —» Spetify quantity to add(suddin dncement i high ood) | Chkan ch > Ulich ose =pchick Stark seenovio ) Eodunane. Leatiog:- The exeustion of Sfx Under customer expected Corfygurest environment and Customer expected Lead Goontinutitaly do. erkimaie Longvity Ts calle a4 endurance ceding 0 chusabily | txating on Pongvikis Rating? : . > Tovert tramaclion point — powometerize Seripk —s Snsert Dendagvous point —> Save Vorer ete Coroke Vanier script fos one user Vuser acript 5 Vvorer menu 2 Ron time tellings > Rootogic > Apeciby no .of; Fralions for Continuour load —» Select Poting —> Sdluck omy ona of belois % optiona © DAs soon as poefious throlion ends a © 8) Delay ax nad [Randa air ever iteration edu. © 9) Deloy os fred | hander aftr idtswal of Heations 7 Heh ols. 5 Tools manus’ creat Controller Scenarjo > Specly customer expectid Load —e click oly 5 Start Scanarto , eae A Perbormance Hye of + Purpose Aeating topic Yood Creation 7 | Hood Testing | nio.oF Véerh’ equal to|Speed tn Processing Customer expected Stress dealing |-2ypremse lead in | Fie peal load fnterval manner Prom Peak load Preveake Sead Sciddadyl, Ruiability | Pcoverg from From eustomnar -expecti obnormal slate de orma) A elke destin mar. -< To Endrones Testing 4) trdsvange testial oe 228 labs. davonce Jestirg tow 4) eure cullonad ramery deckages (tmproper expecta Load. memory managenunt) Pey borrna.nce testing Prowse :- Toke Sut alfir succemtbel Ferctional “Testing « Ertabizh Castemar expectict a: e Contigured environment ieipd: Roonaan). 2$OT. change Atvcture of Creat fedit vurerBeript for one Uter Set Ceding without 1 . : aturbin Functionality y \ (enero) Creeks Control Stenaric for load gexerati on Developers i nck ron. & fessigo PM | Goes performance ~ Streaa Teasting 4 J a | Spike testing } 4 i a ARR ARTA RAR OABRARARAMD ‘ore gy ‘ ‘ Gondiacting perloem : pductiog pertprmance Aeating on-sur tn. network sting om -gur_ in. network ebenth > a5 yu - cnet Ws) Sen No, cay ~ : gen) 25V0 eee ee WwW es se | | \ sevipt Lees | a \ svt qe oF so 25ve cep et : Un 4 load gemrator 3 See ere eee ee ee eee ee ee ae ARAOAAAARA7AAD

You might also like