Int ern at i onal  Journ al of Ele ctrical  an d  Co mput er  En gin eeri ng   (IJ E C E)   Vo l.   8 , No .   6 Decem ber   201 8 , p p.   5449 ~ 5456   IS S N: 20 88 - 8708 DOI: 10 .11 591/ ijece . v8 i 6 . pp 5449 - 54 56     5449       Journ al h om e page http: // ia es core .c om/ journa ls /i ndex. ph p/IJECE   Test C ase Op timiza tion  an d Redun dancy Reducti on  Using GA  and Neu ra l  Networks       Itt Hood a,  R . S. Chhill ar   Depa rtment  o C om pute Scie n ce a nd  Appl icati on s,  Maha rishi   Da y an and  Univ ersi t y ,   Ind ia       Art ic le  In f o     ABSTR A CT   Art ic le  history:   Re cei ved   Dec   2 6 , 201 7   Re vised  Ju n   2 9 , 201 8   Accepte J ul   22 , 2 01 8       More  tha 50%  of  software   dev e lopment  eff ort  is  spent  in  t esti ng  phase   in  a   t y p ical  software   deve lopment  pr oje c t.   T est  ca s design  as  well   a exe cut i o n   consum lot   of  ti m e.   Henc e ,   a utomate gene r a ti on  of  te st  ca se is  highl y   req uire d .   Here   a   novel   t esti n m et hodolog y   is  be ing  pre sent ed  to  te st  obj ec t - orie nt ed  softwar base on  UM state  cha r di agr ams .   In  thi s   appr oac h ,   func ti on  m ini m i za t ion  techniqu e   is  bei ng  app li e and  gene r ate  te st  c ase aut om at i ca l l y   fr om   UM stat cha rt   dia gr ams .   Software   te stin fo rm an   int egr al   par of  the   software   d e vel opm ent   li f c y c le.  Since   the   obje c ti ve  of   te sting  is  to  ensu re  the   conf orm ity   of  an  app li c ati on  to  it spec ific at ion ,   te st   ora cl e ”  is  n ee d ed  to   determ ine   whethe giv en   te st  ca se   expos es  f aul t   or   not.   An  aut o m a te or ac l to   support  the  a ct iv it ie of   hum an  te sters  ca n   red uce  the   actu al   cost   of  th t esti ng  proc ess  a nd  the   r el a te m ai nte nan ce  costs.   In   thi p a per ,   n ew  con c ept   is  bei ng   pre sente using   an   UM stat e   cha rt   dia gr am  an ta bl es  for  the   t est  c ase   gen er a tion,  ar ti fi cial  n eu ral   n et work  as  an  opti m iz at i on  tool   for  red uci ng  the   red undan c y   in  th te st  ca s gene ra ted   using  the   g ene t ic   a lgori thm.  A   neur al  net wor is  traine b the   b ac k - propa gation  a lgo rit hm   on  set   of   te st  ca ses  app li e to  th origi n al   ver sio of   the   s y stem .     Ke yw or d:   Au t om ation  tes ti ng   So ft war e  test in li fe cycl e   Test  drive n de velo pm ent   Test  optim iz at i on   Ver ific at io n   Copyright   ©   201 8   Instit ut o f Ad vanc ed   Engi n ee r ing  and  S cienc e   Al l   rights re serv ed .   Corres pond in Aut h or :   Itti  H oo da ,   Dep a rtm ent o f C om pu te Scie nce a nd Ap plica ti on s,   Ma har is hi D ay anand  U niv e rsity , Ro hta k,   Pin C od e     12 4001, Ha ryana,  Ind ia .   Em a il i tt iho oda01@ gm ail.co m       1.   INTROD U CTION   Test ing   is  def i ned   as  proc ess  of  eval uation  t hat  ei ther  the  sp eci fic  syst e m   m ee ts  it s   or i gin al ly   sp eci fied  re qu i rem ents  or   not It  is  fun dam e ntall pr oce dure  i nclu ding  appr ov al   a nd   c onfirm at ion   process   that  w hethe t he  c reated   f ra m ewo r m eet the  necessit ie cha racteri ze by  cl ie nt.   S ubseq uen tl y,  this   act ion  br i ng a bout  con trast   am on gs real  an exp ect e outc om e.  Pr ogram m ing   Test ing   al lud es  to  disc ov e rin bugs m ist akes  or   m issi ng   ne cessi ti es  in  the  create f ram e work   or   pro gr a m m ing Along  these  li nes,   thi is  an  exam inati on  th at  f urnis hes  t he  p a rtners  with t he  c orrect l ear ning a bout th e   natu re  of  t he  it e m .   So ft war Te sti ng   ca al so   be   con si der e as  risk - base ac ti vity The  i m po rta nt  thin w hile  te sti ng   process   the  pr oduct  a naly zer m us com pr ehend  t hat  how  to  li m it   an  ext ensive   num ber  of  te sts  i nto   s ensible  te sts  set   an s et tl on   i ns i gh tful  c ho ic es  ab ou t he  dange r that  are   im per at ive  to   te st  or  w hat  are   not.  [1 ]   Figure  dem on st rates  the   t est ing   e xpen se   an blun der s   fou nd  relat ion s hi p.   The   Fi gure  unm istak ably  dem on strat es  that  cost  goes  up  drast ic al ly   in   te sti ng   the  tw sorts  i.e util it arian  an no nfun ct io nal.  T he  basic   le ader s hip   for  wh at   to  te st  or  dim inish  te sts  then  it   can  ca use   to  m iss  m any   bugs The  via ble  te sti ng   ob je ct ive   is t o do that i de al   m easur of  te sts wit the  goal that  a ddit ion al  test ing exe r ti on  ca n be lim it ed.   A cco r ding  to  Figure  1,   S of t war te sti ng  is   an  im po rtant  com po ne nt  of  so ft war qual it assur a nce.  The  im po rtanc of   te sti ng  ca be  c on si der e from   li fe - crit ical  so ftw are  (e. g. flig ht  co ntr ol)  te sti ng  w hi ch  ca Evaluation Warning : The document was created with Spire.PDF for Python.
                IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  8 , N o.   6 Dece m ber  2 01 8   :   5449   -   5456   5450   be hig hly ex pe ns ive  beca us of   risk re gardi ng s che dule  d e la ys, cost  ov e rrun s , or o utright  cancell at ion   [ 2], and   m or e about thi s [3], [ 4].           Figure  1. Eve r y Sof t war e  P roject ha Op ti m al  Test Ef fort  [ 1].       The  pri m ary  tar get  of  te sti ng   so ftwa re  m od ule  is  to  deci de  how  well   an  assesse ap pl ic at ion   fi ts  i n   with  it requir e m ents.  Tw norm al   ways  t deal  with  program m ing   te sti ng   are  blac k - box  a nd   w hite - box  te sti ng Wh il the  wh it e - bo app r oac util iz es  the  wr it te co de  of   the  pro gr am   un de r   te st  to  play   ou it s   te sti ng the   bl ack  box  a ppr oa ch  c heck s   the   p r ogram   yi eld   ag ai ns the  con t rib ution   w it ho ut  c onside r ing   it inwa rd   wor kings.  S oft war te sti ng   is  well   e xp la ine int three  phases:   ge ner at io of   te st  data,  ap plica ti on   of   the  data   to  t he   softwa re  bein te ste d,  a nd  e valuati on  of  th res ults.  In  pa st pro g ram m i ng  te sti ng  wa s   done   ph ysi cal ly   by  hu m an  analy zer  w ho   pick e the  te st  case and   i nv e sti ga te the  outc om es  of   the  s oft war e   m od ule.  N ow   days,  beca us of   the  e xpansi on   in  t he  num ber   a nd   siz of  the  pro j ect bein trie in  pr ese nt   days,  the  bur de on  t he   hu m an  analy zer  is  m or e,  a nd   a lt ern at ively som autom atic  pro gr am m ing   t est ing  strat egies  are  r equ i red.  Wh il autom at ic  strat egies  seem   to  con si der   the  c on t ro over  t he   par of  the  hu m an   analy zer,  the  i ssu es  of   reli ab il ity,  qu al it a nd   the  ca pacit of   the  pro du ct   te sti ng   te chn iq ues  sti ll   sh ou l be   ver ifie d.   Alon g t hese lines , tes ti ng  is a  criti cal  v ie w po i nt in  the  ou tl ine  of a  so ft war e  prod uc t [5 ] .   Au t om at ed  te st  case  ge ne rati on  is  process  of  ge ner at i ng  the  te st  data  on   the  basis  of  usa ge  of  th e   app li cat io n   an real  ti m sce nar i o.   Wh e t he  pr ocess  is  a uto m at ed  then  it   is  qu it po s s ible  that  the  pr ocess  m igh produce   the  case,  w hich  are  sam in  so m m ann er  f or   wh ic the  outp ut  is  sa m fo al instance s,  th e   si m il ar  ty pes  of  te st  cases   wil no t   af fect  the   eff i ci e ncy  of  t he  s of t war e   m odule  but  will   aff ect   t he  e ff ic ie ncy  of   the  te sti ng  proces in  te rm s   of   the  r unni ng  tim e.  The  two  functi on of   r edun dan cy   are  passive  redu ndancy   and   act ive  redunda ncy B oth  f un ct io ns  pre ven pe rfor m ance  decli ne  from   exceedin sp eci ficat io lim it without  hu m an  inter ven ti on  usi ng ex tra  cap a ci ty .   Passive  re dund ancy  us es  exce ss  capaci ty   to  red uce  the  im pact  of   com po ne nt  fail ur es O ne  com m on   form   of   pa ssiv redunda ncy  is  the  extra  str eng t of  cabli ng   a nd   str uts  us e in  br i dg e s.  This  extra  s tren gth  al lows   s om st ru ct ur al   com po ne nts  to  fail   without  bri dge   colla ps e.  T he  extra  stre ngth  us e in  the  de sign   is   cal le the m arg in  of sa fety .   Acti ve  re dund ancy  el i m inates  perform ance  decli nes  by   m on it or i ng   t he  pe rfor m anc of   in div i dual   dev ic es an th is  m on it or in i us e in v otin lo gic.  T he  vo ti ng   lo gic  is  li nk ed  t switc hing  that  aut om at i cal ly  reconfi gures  t he  com ponen t s.  Er ror  detect ion   a nd   c orrec ti on   an t he  G l ob al   P os it ion i ng   Syst em   (G PS)   a re   two  e xam ples o f  acti ve  r ed un dan cy .     Ther a re  so m of   the  chall e ng e relat ed  to   the  con ce pt,  te st  case  gen era ti on   is  hav i ng   so m of   the  def i ned chall en ges  s om e o t hem  w hich  are  c on si der e i th e wor a re:     C1:  Def i ning  the  com plete   req ui rem ents  clear ly   and   c omplet e,  C2:  la ck   of   a bili ty   to  i den ti fy  t he   crit ic al   do m ain   re quirem ents,  C3:  F un ct i on al   requirem ents  de finiti on   gap,  f or   t he   eff ic ie nt  te st  case   gen e rati on  bette el ab or at io of   t he  require m ent  is  bein require d.   I n   th pro posed   w ork  UML  diag r a m   is  bein us e f or   def ini ng   t he  f un ct io nal  an oth e relat ed  r equ i rem ent  of   the  syst e m   m o du le   under   te st C4:   Re dundancy  in   te st  case  ge ne rati on   proces s,   in  the  case   w he the  c om plete   functi onal   an ot her  relat ed  par ts   of   the  syst em   is  being   el ab or at e for  bet te cov e rag t hen   the  gen e r at ion   process  so m et i m gen erates   duplica te   te st  case  for  w hich   in  the  pro po s ed  w ork  A N N   is  being   us ed   fo reducin t he  re dundancy   in  the   gen e rati on  of  t he  te st case s .   Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g   IS S N: 20 88 - 8708       Test C as e  Opti miza ti on  and R edun dancy  Red uction U sin g G A an Ne ural  Ne tw or ks   ( Itti  H oo da )   5451   2.   RELATE D  W ORK   UML  act ivit di ag ram - based  te st  case  gen er at ion   has  bee inv est igate in [ 6]  by  Liz ha ng   et   al They   hav e   pro duced   te st  cases  util iz ing   grey   bo strat e gy.  I t heir  a ppr oach,  te st  sit uations   are  strai ghtf orwardly   go tt en  from   th act ivit char ts  dem on strat ing   a operati on T his  te chn i qu m anag es  the  log ic al   co ve rage   crit eria  of  w hit box  strat egy  and  disc overs  al the  co nceiv able  ways  fro m   the  desig m od el   wh ic e xp la in s   the  norm al   con duct   of  an  operati on.  Alon these  li nes,   al the  data  for  ge ner at io of  the  te st  case  (i. e.  input/ ou t pu gro upin pa ra m et ers,   the  con st raints  co ndit ion a nd   e xp ect e ob j ec m et ho stra te gy)  is  extricat ed  fro m   each  te st  situ at ions.  At  lo ng  la st,  t hey  pr oduce   the   possi ble  val ues  of  al the  in form at i on /y ie ld  par am et ers  by   ap plyi ng  cat e gory  par ti t ion  strat egy.   It  c reates  te st  cas es  w hich   ca accom plish  th pat cov e ra ge.   In  a ny  case,  t his  te chn i qu e   dis regards  data  a bout   the  c onditi on  of   t he  it em inside  the  fr am ework  at  the tim e o e xe cution.   The  ap proac i ntr oduce by  Andrews  et   al .   [7 ]   rec ognized   thin  strin gs   f r om   top - le vel  U ML  act ivity   diag ram thin  threa is  ba se  us sit uation  in  s of t wa re  fr am ework.  It  sign ifie total   sit uation  f ro m   the  end   cl ie nt' per sp ect ive T hat  is,  the  f ram e work  ta kes  i nput  in f or m at ion play out  few   cal c ulati ons a nd  yi el ds   the  ou t com e.  They  pr op os ed  nove m et ho do l ogy  to  produce  thin  th reads  from   activity   di agr am ,   wh ic incl ud e pr e processi ng  of   t he  syst em   le vel  act ivity  char ts,  c ha ngin ov e the m   into  act ion  hype r   diag ram and   after  that  getti ng   al exec utio pat hs   f ro m   t he  dia gr am Their  te ch nique  do e not  co ntain  an y   sta te   data  f or  the  obj ect of  t he  fr am ewo r k.  Che Mi ngs ong  et   al [8 ]   di sp la ye a   pla to  get  the   dec reased   te st  su it f or   a   us a ge  util iz ing   act ivit grap hs They  c onsi der e t he  ar bit rar e ra  of   e xperim ents  for  Java   pro gr am s.  Runnin the  pro j ec ts  with  ap plyi ng  the  e xperim e nts,  they   go t he   traces  of  the  pro gr am   execut ion .   At  lo ng  la st,  dim inished   te st  su it is  gott en  by  c on t rasti ng  the   ba sic   ways  a nd   pro gr am   exe cution    fo ll ows.   Sim ple  pat c ov e r a ge  c rite rio he lps  to   av oid  the  pa th  e xplo sion  due  t t he   presen ce  of  loops     and co nc urren c y.   Kan s om keat  and  Ri vep i boon   [9 ]   have  pr opos e te ch nique  f or  creati ng   te st  cases  util iz ing   UM L   sta te   char ts  diagr am They  change  the  sta te   char gr a ph  into  sm oo thed  var i ous  le veled  struct ur of   sta te cal le te sti ng   f low  dia gr am   (TFG).   T he  TF is  then  cr os s ed  from   the  root  node  to  t he  le af  node  t cre at te st   cases.  F ro m   the  TFG,  they   li s con cei vab le   e ven se quence   wh ic they   c onside as  te st  s equ e nce.   Th te sti ng  basis they  us ed  to  direct t he  er a o te st se qu e nce is the s c op e o t he  sta te and  c ha nges of  a TFG. T his strategy   m anag es  s pe ci fic  sta te   char diag ram Howe ver,  in  a exec utio of   us case,  m or than  one   obj ect   regularly  takes  an  i nterest.  Such c ond uct wo uld   be ha rd to t est  u ti li zi ng  thi s approac h.   Kim   e al [1 0]  propose te chn i qu t pro duce  te st  cases  f or   cl ass  le vel  t est ing   util iz ing  UML  sta te   gr a ph  cha rts.  T hey  cha nged  sta te   diagr am to  e xten ded   fini te   sta te   m achine  (EFS Ms to   infe te st  cases .   Th e   var i ou le vele an sim ultan eo us   str uctu r of   sta te is  sm oo thed  an com m un ic at e co rr es ponde nces  are   disp e ns e with   in  the  s ubseq uen E FSMs.  The n,   data  flo is  ide ntifie by  trans f or m i ng   EFSMs  i nto   f l ow   gr a phs  to  w hi ch  co nventio na data  flow   a naly si te chn iq ues  are  a pp li e d.   H artm ann   et   al [1 1]  enla r ge  the   UML  dep ic ti on  with  par ti c ul ar  doc um entat ion t m ake  desig n - base te sti ng  c ondi ti on T he   en gi neer s   init ia ll char a ct erize  the  dynam ic   con du ct   of   eve ry  fr a m ewo r pa rt  util iz ing   sta te   char dia gr a m .   The   associat ions  be tween  m od ules   are  then  dete r m ined  by  exp l ai nin th sta te   char grap hs ,   and   the  s ub se qu e nt   global FSM  th at  r el at es to t he  incor porated  f ram ewo rk co nduct is  u ti li zed  to cr eat e t he  te sts.   Gn esi   et   al [12]  gav m at he m at ic al  way  t de al   with  c onf or m ance  te sti ng   a nd   a uto m at ed  te st  case  gen e rati on  f or  UML  sta te   di agr am s.  They  pro po se f or m al   con f orm ance  te sti ng  connecti on  f or  in pu t - e m po we re tr ansiti on   fram ewor ks   with   ad van ces   nam ed  by  in put/ ou t pu s et (IOLT Ss).  Test ing  pro gr am m ing   so   as   to  set   up   the  sat isfact io of  the  pr e de te rm ined  pr e re qu isi te is  known   as  c onf orm ance   te sti ng co nfor m ance  co nn ect io cha r act erizes  the  eff ect ive ness  of   the  exe cuti on   as  f or   the   fo rm al  determ inati on . I OL TSs g ive  a   reasona ble  sem antic   m od el   t co ndu ct   s poke  t by  s ubset   of   sta te   dia gr am s.  They a dd it io na ll y give an al gorithm  w hic h p rod uces a  te st s uite f or  a  g i ve n st at e char t  m od el   Ali  et   al [13]  hav pro posed  an  ap proac f or  sta te - base in te gr at io te sti ng.  T heir  work   const ru ct a   transiti on al   t es m od el   cal le SCOTEM  ( Stat Coll abo rati on  Test   Mo del)  from   UML  colla borati on   diag ram   and  the  c orres pondin sta te   c ha rts.  SC OTEM   m od el ever y con cei vab le  way   for  ob j ect   st at cov e ra ge  cr it eria   that  m essage  patte rn   m ay   t rig ger SCOT EM  at   that  po int  crea te te st  ways  in  vie of   diff e re nt  co ver a ge   crit eria.  T heir  pro du ce te st  c ases  inten t r eveal  sta te   de pe nd e nt  inte racti on  f a ults.  T heir  w ork   co ns ide rs  t he   sco pe  of  e ver sing le   c on cei va ble  co ndit ion   of   c ollab or at io am on cl asse in  com m unic at ion Bri a nd  et   al [14]  hav c on s idere com m u nicat ion am ong  obj ect in  th ei work,  howe ver   their  at te nt ion   is  again  on   cl ass - le vel  te sti ng Their  w ork  de li ver an  e xp e rim ent  detail  c om pr isi ng   of  a   feasible  seq ue nce  of  transit ion In  their  wor k,   to   cat ch  the  conne ct ions  am on sta te   dep en de nt  obj ect s,  an   inv ocati on  se qu e nce  tree  is  bu il wh ic is t hen use t o deriv e  te st co ns trai nts  f or the tra ns it io se quences  to be test ed .         Evaluation Warning : The document was created with Spire.PDF for Python.
                IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  8 , N o.   6 Dece m ber  2 01 8   :   5449   -   5456   5452   3.   PROP OSE D MET HO DOL OGY   Pr og ram m ing   te sti ng   play a crit ic al   par in  so ft war e d evel op m ent  since  it   can  lim i the  dev el opm ent   cost. Pr ogram m ing  test ing  a ppr oach es  are parti ti on e i nto t hr ee s ect ion s   i.e. code - base d t est ing , speci fi cat ion - base te sti ng   and   m od el - bas ed  te sti ng.  I m od el - based  te sti ng t he  te sti ng   be gin at   desig ph a se.  Th us ly ,   early  r evelat io of lac ks  can be r efi ned   by usi ng  this app roach m or eov e r edu ci ng  ti m e,  cost and endea vors  of  the  pro gr am m er  to  an  exte nsi ve  de gr ee.  In  this  pap er  proce dure  is  propose f or   m a king  te st  cases  us in UML  diag ram ,  g e netic  alg or it hm  an the  AN ( A rtific ia l N eur al   Netw ork )   In   t he  init ia s ta ge  ric a nd  fi nish   UML   gr a ph  is  im po rte w hich   w il be  parsed  t e xtricat fun dam ental   m et a - data  a nd  s ha pe  data  to   po pu la te   a   sta te char ta b le   w hic will   com pr ise   of  s ubtl el em ents  of   t he  in div i dual   gr a ph.  T his  will   add it io nally   help  us   to  de fine  the  te st  ca ses  util iz ing   th appr oach   exa m ined   unde the  h ea di ng   Test  Case  Gen e rato r [15]   In   t he  sec ond  sta ge  we  c ha nge  ove m odel   gr a ph   by  e xt r ic at ing   the  da ta   by  parsi ng   m et ho a nd   popula ti ng   this   inform at ion   in  decisi on   ta bl e.  Test   cases  are  obta ine us i ng   al com bin a ti on usi ng  Ge netic   Algorithm  an furthe r op ti m ized   us in g Ar ti fi ci al  N eu ral Net work.   In   t he  first  sta ge  we  im po rt  m od el   char t   of   t he  m od ule  of   softwa re  under   te st.   A gain we   will   be   con ce ntrati ng   just  on  the   act iv it and   sta te ch art  gra ph s   m ade  acco rd i ng  to   the  UML  2.0  pri nciples.   We  a ccept  the ch a rt to be  finish e a nd r i ch  ye t t her e is  a chance f or  t he  cli ent to i m po rt a UML  gr aph   w hich  m ay  no be  in si m il arity w it UML 2.0 be nch m ark s. In  t he  pa per   [16] V.  Mary S um a la tha an d Dr. G.  S.   V.  P . Raju tal ke about  sim ple   appro ac to  e xp el   am big uiti es  from   activity  char ts.  T his  can  be  c onnec te to  infl uen c th e   gr a ph to  free f r om  i m p erf ect ion s.   The  gr a ph  im p or te will   be  pa rsed   t ob ta in   m et a - data.  I the  eve nt  of  a act ivit gr ap we  rec ove r   the  swim - la ne  act or s swim - la ne  s pecific   act ion s,  deci sion   node f ork  node join   node,  co nne ct or s ,   dep e ndencies   a nd  al so  it rela ti on s hip   with   t he  pr e vious   an nex t   sh a pe Transf or m at ion   of  any   grap to  te st   cases  inclu des   par si ng  as  it f irst  phase.   Alt erati on  of  sta te char gr a ph  t sta te char ta ble   is  strai ghtf orward.  As  for  our  first   ap proac h,  w e fou nd   t hat  c ha ng i ng  ove a ny  gr a ph  to   sta t echa rt g ra ph wou l prof it  u i ns te ad  of fram ing  a d i ff e ren proce dure fo eac h kin d of g raphs   Pr ese ntly   con c ern i ng   t he  sta te   char gra ph,   we  extricat data,  f or   e xam ple,  the  sta te s,   com po sit sta te s,  subm ac hin sta te s,   dec isi on  n odes co nn ect or s c ondi ti on a nd  f ur t he rm or it asso ci at ion   with   th past   and  ne xt  s ha pe A   sta te cha rt  ta ble  is  a op ti on al   m et hod  f or  desc ribi ng  s equ e ntial   m od al   log ic .   Ra the tha dr a wing  sta te and  tra ns it ion s   grap hical ly   in  sta te char gr a ph,  the   m od al   log ic   is   com m un ic at ed  i a   ta bu la r   orga nizat ion .   We  will   be  c hangin over  sta te char gra ph  int sta te ch art  ta ble  since   it   is  br is k,  fr es config ur at io f or   sta te char gr a ph.  They  a dd it io nally   le s sen  the  upke ep   of   grap hical   it e m s.  No at   all  li ke   sta te char grap hs will   exp a nsi o a nd   e ras ur of   sta te into  sta te cha rt  ta ble  discar the  ove r - he ad  of   m od ify ing  stat es, a dv a nces a nd intersect i ons.   Af te the  act ivi ty   gr ap is  parsed  an sig nifi cant  sh a pe  dat is  extricat ed  our  fram ewo rk  will   isolate   act ivit ie in  l igh of   on - scree c har act ers  in  t wo   cl asses,  cl i ent  act ivit ie a nd   f ram ewo r pro du ce act iv it ie s.   Cl ie nt  act ivit ies  in  the  s wim - l ane  dia gr am excep ti onal ly   w el po rtray  t he  inf co ndit ion s   to  be  inc orp orat ed  into  the  decisi on   ta ble.  de ci sion   hub  li ke wise  de picts  the  co ndit ion on   w hich  t he  app li cat io un der   te s t   will  d epe nd. I n o ur ap proac h cl ie nt acti viti es an d decisi on  hubs wil l act  li ke  cond it io ns  t o t he  decisi on table.    The  fr am ewo r create act iv it ie rep rese nts   outp ut  act ivit ie to  be  c om pl et ed  in  t he  dec isi on   ta ble.   Condit ion   opti on or  ge ne rall cal le com bi nations  are  c re at ed  util iz ing   Ca rtesi an  pro duct T his  is  li kew ise   cal le as  ex ha us ti ve  te sti ng.  These  c onditi on  opti ons  will   be  in  T r ue/fals sh a pe.   T ge the  est i m at io of  the   norm al  ou tp ut  we  fo ll ow  the  UML  Dia gram   con side rin it   as  tree  with  the  beg i nn i ng   node  goin ab ou as   the  r oo t.   Be gi nnin with  the  r oo node  we  go  th rou gh  the  t ree  to  disc ov e r   the  out pu act ivit whose  norm a l   resu lt   is  to   be   c om pu te d.   Ba se on   t he  c om bin at ion  col um values  we  deci de  the   d irect i on o t he  tra ver s al At  wh at e ver   po i nt  there  is  an  act ivit and   tru ou t pu is  gott en  from   the  gr ou ps   f or   the  i nd i vidual  act ivit we   m ov fo r ward.   In   the  eve nt  that  false  ou t pu is  gott en  we  stop   a nd  r est or false  value  to  the  norm al   ou tc om se g m ent.  At  w hatev er  point  t her i decisi on  hub  i the   way  to  the  ou t pu a ct ivit the  choi ce  of   wh ic child  to   m ov reli es  up on  the  m ix  values  for  that  cho ic e.  At  wh at ever   poi nt  ther is  fo rk   hu in  the   way  to  t he  outp ut  act ivit al the  offs pr i ng  of  th e   f ork  hub  a re  na vig at ed   one  by   on e   to  sea r ch  f or     the outp ut stat e .   The  sta te ch art  ta ble  as  of   no c on ta in al the  data  im po rt ant  to  m ake  t est   case.  Wh il e   m aking   te st   cases  from   s ta t echart  grap c are  ought  to  be   ta ken   that  eve ry  on of  the  tr ansiti on a re  pract ic ed  in  any   even t   on ce . T his strat egy f or test ing  gu a ra ntees ide al  scope  without creat in e xp ansive  num ber   te sts [17].   Til the  tim e,  ou tp ut  of  the  m e thodo l og is  th set   of   ce rtai te st  cases  and  h ence so   as   to p r ovide  th e   m axi m u m  co de  covera ge,  di f fer e nt co m bin a ti on of the test  cases a re  gen e rated  us in t he Geneti c al gorithm .   Gen et ic  al gorithm s u se the  f ollow in t hr ee  operati ons  on it s  populat ion.       Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g   IS S N: 20 88 - 8708       Test C as e  Opti miza ti on  and R edun dancy  Red uction U sin g G A an Ne ural  Ne tw or ks   ( Itti  H oo da )   5453   a.   Sele ct ion :   sel ect ion   process  is  ap plied  to  dete rm ine   way  in  wh i ch  in div id uals   are  ch os en  for  m a ti ng   from   a   popula ti on   bas ed on t heir  f it ne ss.   b.   Cros s ove r:   Af te the  sel e ct ion   process the  cro ss over  op e rati on  is  app li ed  to  the  chrom os om es  sel ect ed  from   the  popula ti on .   c.   Muta ti on :   Af te r   the  c rosso ver   proces s,  the  m utate   operati on  is   ap plied  to  a   rand om l sel ect   su bse of   the     popula ti on   [ 18] .   Af te r   ap plyi ng  the   Ge netic   Algo rithm   there  a re  different  te st  cas es  obta ine by   diff e re nt   com bin at ion of   e xisti ng   te st  cases  that  m e ans  the  re dund ancy  of   the  te s cases  increas es  so   optim iz ation   of  the  te st  cases  i bein do ne   us in the  A rtific ia Neu ral  Netw ork.   A N is  bei ng   use li ke  if  t he  new ly   gen e rated  te st  case  is  m a tc hin with  t he  al r eady  existi ng  t est   case  in  the   li st.  If   ye s,  t he it   will   just  re m ov e   the g e ne rated t est  case an el s e the  gen e rated  test  case   is a dded  to  t he  te st  pool.   Ar ti fici al   ne ural   netw orks  ( ANNs are  m ade  ou of   strai ghtfo r ward  com po ne nts  w hich  w ork   si m ultaneou sly N syst em   can  be  pr e pa red   to  play   ou sp eci fic  pa rt  by  changin the  weig hts  betwee com po ne nts.  S yst e m   wo r is   con t ro ll e by   the  ass ociat io ns  bet ween  com po ne nts.   T her e   is  act ivati on  f unct io us e to   create   ap plica ble  outc om e.  In put  proces [ 19]   wi th  N N   orga niz that  incl ud i ng  weig hts  delivere ou tc om e.  The  ou t pu is  c on t r ast ed  with  t he   exp ect e ou tc om e,  if  the  de li ver ed  out co m per fectl m at ches  with  outp ut  th en  the  in form at ion   is  rig ht  el se  m ake  an  adjustm ent  in  the  weig ht.  N syst em   esse ntial ly  worked  with  w ei gh ts.  The  b ac k prop a gatio n neural  net w ork  u se in  this e xperim ent is cap able of  gen e ral iz ing   the  trai ning  da ta ho w e ve r,   t he  net wor ca nnot  be  a ppli ed  to  the  raw   data,  as  the  at tribu te do   not  hav e   un i form   pr esen ta ti on S om inp ut  at trib utes  are  not  nu m eric,  and   in  order   f or   the  ne ur al   ne twork  to  be  tr ai ne on  the   te st  data the   ra data  hav e   to   be   pr e processe d,  an d,  a t he  value and  ty pes   dif fe f or  eac at tri bu te ,   it   beco m es  neces sary  that  the  i nput  data  are   no rm alized.  The   values  of  c onti nu ous  at tri bu t var over  a   r ang e ,   wh il the re  are   on ly   tw poss ible  values  for   bin ary  at trib ute  ( or  1).  T hu s f or   t he  ne two rk   to  be  a bl to   process   the  dat unif or m ly the  co ntinuo us   i nput  at trib utes  hav e   to  be   nor m al iz ed  to  num ber   bet wee a nd  1.   T he  outp ut  at tribu te wer e   processe i dif fer e nt  m a nn e r.   If  the  ou tpu at trib ute  was  bin a ry,  th tw po s sible  netw ork   outp uts   a re  a nd  1.  On  th oth e ha nd,  con ti nu ous  ou t pu ts   can not  be   treat ed  i th sam e   way, si nce th e y ca ta ke  a n u nli m it ed  nu m ber   of   value s [2 0].   The  sim plest f un ct io t hat  does this is t he   st ep fu nctio n.   The  ste p functi on is  def ine a s:       (1)     Th us cal c ulati ng the  outp ut of  our neu r on m od el  is  co m pr is ed of  tw ste ps :   1)   Ca lc ulate   theinte grat io n.   The  integ rati on,  as  de fine above,  is  the  s um   for  vecto rs ,w an scal ar.   2)  Ca lc ulate   theo utput The   outp ut  is  the   act ivati on  f unct ion  ap plied   to  the   res ult   of  ste 1.  Si nce  th e   act ivati on   f un c ti on   in  our  m od el   is  the  ste f un ct io n,   the   ou tp ut  of  the   neuron  is  w hi c is1whe >0  a nd0othe r wise.   Ther e   is  co ntinuo us   a ppr ox im at ion   of  the  ste f unct ion   cal le the   log ist ic   c urv e,  orsigm oi functi on,  de note as.  This  f un ct ion ' ou tp ut  r ang e over  al values  betwee n0   a nd1a nd   m akes  transiti on  from   values  n ea r0 t o values  n ea r1 at   at  x =0 , s im il ar to  the  ste p func ti on   H(x).   Sigm oid al  Fun ct ion  is  r ep rese nted  a s:       (2)     Step  by step  exe cution o t he pr opos e m et ho dolo gy   Step 1 :   UML  di agr am  o th e s yst e m   m od ule  unde is i m po rt ed (sta te  and a ct ivit y diagr am s ar e c onside re d),   Step  2:   UML  diag ram   is  con ver te into  t he   decisi on  ta ble   and   sta te   c hart   ta bl us in pa rser   for  in for m at ion   extracti on,   Step 3 :   Test  ca se g e ner at io n,   Step  4:   Now  t he  te st  case  ge ner at e us i ng  the  decisi on  ta ble  are  re ge ne rated  us in G eneti al gorith m   fo r   bette c od e  cov erag e  u si ng cr osso ver   an m utati on ,   Step  5:   T he  re dundancy  of   t est   cases  is  in creased  beca use   of   t he  re ge ne rati on   of  the  te st  cases  us in the  Gen et ic   Algori thm , h ence  Op t i m iz ation  is  done,   Step 6 :   Op ti m i zat ion   of the te st case us in g Ar ti fici al  N e ural  N et w ork.   Evaluation Warning : The document was created with Spire.PDF for Python.
                IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  8 , N o.   6 Dece m ber  2 01 8   :   5449   -   5456   5454       Figure  2. Bl oc k diag ram  o th e pro posed  m eth od ology       Exam ple il lustrati ng  the  m et ho dolo gy:           Figure  3. Acti vi ty  d ia gr am  o f t he  Co nnect ion m aking  pr oces s.       Con si der i ng th e exam ple o f  the c onnecti on  m aking   proces s of a ny d e vice  w it h dif fer e nt  po s sibil it ie s,  the U ML  d ia gra m  o t he  m odule s howing t he  conn ect i on m akin g process:       Table  1.   Stat e char t t a ble corr esp onding t a ct ivit y diagr am  in fig ur 3.   State   Of f lin e   o n lin e   Co n n ectin g   Er ror   Of f lin   -   -   Switch  ON   -   On lin e   -   -   -   -   Co n n ectin g   -   -   -   Multip le f ailu re   Er ror   Switch  of f   Co n n ectio n  estab li sh ed   -   -       Test   cases  are   con si der e f r om   the  info rm at ion   obta ine from   the  m er ged   gr a phs  of   the  softwa re  m od ule  under   t est con si der i ng  two  te st  case for  an  exam ple  as  11   an 18 know  obta in  the  bin a ry  eq uiv al ent   of the test  case s,   Bi nar y eq uiva le nt of  11 is  00001011   Bi nar y eq uiva le nt of  18 is  00010010   Apply cr os s ov er (Ge netic  A l gorithm at  the  4   bits  of  t he o btained  b i nar string o t he  te st case s,   New   bin a ry  str ing a fter  cr ossove a re  00 000010  an 0001 1011,  c om pu te   the  decim al   e qu i valent  of   the obtai ne d bi n ary st rin gs  as:   000000 10 = 2, 0001 1011=2 7   a nd  27  are   t wo  ex pecte te st  cases  for  t he   syst em   m od ule  un der  te st  he nce  know  t he  t est   su it T   is  wr it te as:   T=  {1 1,  18,   2, 27 } sim il arly   we  ca go  m or cr os s over   by   choosi ng  ot he bin a ry  bit  posit ion  onto   the  bi na ry  bits  and   al s the  ge netic   al gorithm   can  al so   be  a ppli ed  bet wee the  ne wly  ob ta ined  te st  cases  and  al read e xisti ng  te st  cases N ow  after   ob ta in ing   t he  e xpect ed  te st  cases   the   A NN  chec ks  wh et her  we   ha ve  th e   sam te st  case  al read in  t he  pool o t he  te s t   cases  w ritt en  as  T.  F or  that  t he  ANN  assi gns  weig hts  t th input   (n e te st  cases)  an for ward  the  sam towards  the  hi dd e la ye rs  of   the n e twork  a nd   afte r   processin f rom   the  hidden  la ye t ou t pu la ye a or  w her sig nifies  not  pr ese nt  an s ign ifie pr ese nc of   the  te st  c ase  in   the  te st  po ol.  The  ultim at go al   of  t he  ANN  is  to   re duce   the  redu nd a nc of   t he  te st  cases  ge ne rated  a fter   app ly in g gene ti c algori thm  f or  gen e rati ng th e ex pected  test  cases for  b et te r  test ing   of the  s yst e m   m od ule.   Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g   IS S N: 20 88 - 8708       Test C as e  Opti miza ti on  and R edun dancy  Red uction U sin g G A an Ne ural  Ne tw or ks   ( Itti  H oo da )   5455   4.   RESU LT   A N ALYSIS   The  pro posed   m et ho dolo gy  i qual it at ively   analy zed  on  th basis   certai factor  as   ef fici ency  m eans  the  abili ty   of  the  m et ho dolo gy   to  detect   t he  error  in  t he  a va il able  co de,   num ber   of  te st  c ases  ge ne rated  wh ic def i nes  li ke  w hen  the  te st  ca ses  ge ner at e a re  m or then   there  is  m or c han ce   of  te sti ng  the  m odule  wh ic is  unde te st,  c ode  co ver a ge.  Re dundancy  of  th te st  cases  tha m eans  to  e nsure   that  wh et he the   ge ner at e te s t   cases  are  rep e at ed  in  the  fin al   li st,  cod cov era ge  m eans  le vel  to  wh ic the   te st  cases  cov e rin the  c od or   te sti ng  the  cod e       Table  1 Qu al it at ive Analy sis of the  relat ed work  a nd the  pro posed  m et ho do l og y.   Para m eters   Ef f icien cy   No o f  T est cases   g en erate d   Red u n   d an cy   Co d Co v erage   Metho d o lo g ies   1.   Mediu m   Mediu m   Hig h   Mod erate   2.   Low   Mediu m   Hig h   Mod erate   3.   Mediu m   Mediu m   Mod erate   Mod erate   4.   Mediu m   Mediu m   Hig h   Low   5.   Mediu m   Mediu m   Hig h   Low   6.   Hig h   Increased   Low   Hig h       Table  Fact ors and  Im pact Ra ti o.   Facto rs   I m p act  in  L izh an g   et al  [ 6 ]   I m p act  in  And rews  et  al.   [ 7 ]   I m p acts in   Prop o sed  M eth o d o lo g y   Reg u lated  Deoictio n   55%   50%   60%   Valid  and  I n v alid  inp u ts   38%   35%   45%   Go o d  detaillev el   44%   48%   50%   Variation  in test  ca ses   75%   70%   80%   Un d erstand  Sy ste m  f ra m ewo rk   50%   55%   60%   Clear beg in n in g  positio n   60%   55%   65%   Test des ig n  techn iq u es   80%   70%   84%   Accurate su p p o sitio n s   70%   78%   80%   Test cae s  asses s m e n t   50%   45%   55%   Tidy  u p  af ter  ex ec u tio n   78%   70%   85%       The se  factors  are   play ing  ver y   i m porta nt  role   in   te st  ca ses.  B y   a naly z ing  it   finds  tha el abo rated  fac tors  havi n g   diffe ren l eve of   infl uen ce   on  te s ca ses  for  d iffe r ent   t ec hniqu es  d iscussed  in  the   literature   r evi ew .   All  the se  f actors  hav diffe ren impac t   rat io  and  the se  ent ir ratios  desc ribe in  ta b le   2 .   Here   ar four  sets  of  te st  c ase s,  in  which  m ax imum  impact   of  r egul a te dep ic t ion  is  60%  for  the   pro posed  m et hodol og y   and  is  be tt e tha al d iscussed  in  the  rev i e w.  For   diffe ren techniq ues  conside red ,   m axi m um  impact   of  input   ana l y s is  is  38%  is  for   the   proposed  m et hodolog y .   Thi stud y   indi c at es  that  29%  of  the   subjec ts  did  not  rea the   dire c ti on  of  convey an ce   of  e xper iment  and  16%  did  not  fini sh  the  whole  l a y out ,   so   it' impact 45% for t he   proposed m et ho dolog y .         5.   CONCL US I O N   Test ing   is  the  m os cri ti cal   p art  of   the  S of t war Dev el opm ent  Lifecy cle,   as  it   is  so m et hin up on   wh ic the  final   delivery  of   t he   pro du ct   is  depend e nt.  It  is  ti m con s um ing   and   a i ntensive   process the r efore,   enh a nce te ch niques  a nd   i nnov at ive   m et ho do l og ie a re  re qu isi te F or  w hi ch  the  ef fici en te sti ng   m et ho do l ogy   is  require w hich  ca gen e rat te st  cases  as  m any  as  possi bl with  c onside rin the   fact or   li ke  re dundanc an al so   s hould  prov i de  m axi m um   cod co ver a ge.   I the   pr opose m et h odology  the   UM al gorithm Gen et ic   al gorithm   and   la stl the  trai ned   A N is  bei ng   us e f or   re du ci ng   t he  re dunda ncy  of   t he   gen e rated  te st   cases.   The  UML  al gorithm   in  the  form   of   the  Sequ e nce  diagra m   and   the  sta te   diagr am   is   us ed  for  the  bette r   represe ntati on   of   the  s of t ware  m od ule  w orkin so   that  t he  te st  case  giv es  the  m axi m u m   cod co ver a ge .   Gen et ic   al gorit hm   is  being   use f or  ge ner at i ng   al po s sible   te st  cases  for  the  m od ule  un der   te st.  As  pe the  resu lt the   al gorithm   prov i de the  m axi m um   eff ic ie ncy  an co de  c overa ge  al ong  with  deali ng  with  the   redu nd a ncy  of   the g e ne rated t est  cases .       REFERE NCE S   [1]   P.  Ron,   Software   t esti ng , ”  In dia napoli s: Sam’s , v ol.   2 ,   2001 .   [2]   S.  Am la nd,   "Ris k - base t esti ng , Journal  o S ystem s and  Soft ware ,   vol .   53 ( 3 ) ,   pp .   287 295,   Sep .   2 000.   [3]   Redmill   and  Fel ix,   The or y   and   Prac ti c of  Risk - base Te sting , ”  Soft ware  Testing,   Ve rif ic at ion  and  Re li ab il i ty vol.   15 ( 1 ) ,   M ar 2005.   [4]   B.   Agarwa l, e t   a l . ,   Software   eng i nee ring   and   te st i ng , ”  Jone &   Ba rtle tt Learning ,   2010.   [5]   K.  Bogdan ,   Autom at ed  softwar t est  da ta  gen e rat ion , ”  Soft war Eng ine ering ,   I EE E   Tr ansacti o ns ,   pp.   870 - 879,   vol.   16 ( 8 ),   1990 .   Evaluation Warning : The document was created with Spire.PDF for Python.
                IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  8 , N o.   6 Dece m ber  2 01 8   :   5449   -   5456   5456   [6]   Jac obson, et al.,  The   unified  sof twar d evelopm ent   pro ce ss , ”  R e ading:  Add ison - We sley ,   vo l. 1, 1 999.   [7]   Eve re tt ,   e a l.,  Software   t esti ng te st ing  a cro ss   t he  en ti re   softwa re  dev el opm ent   li fe  c y c le , ”  John   Wil e &   Son s,   2007.   [8]   Verm a,   Automa te T est  c ase   gene ra ti on  usin UM dia gra m base on  b eha vior , ”  Int ern ati onal  Journal   of  Innov ati ons  in  E ngine ering   and  Technol ogy   ( IJI ET) ,   vol.   4 issue  1 ,   pp.   31 - 39,   Jun 2014.   [9]   M.  V anmali ,   M.  La st,  A.  K ande l ,   Us ing  Neura Network  in  the   Software   Te st in Proce ss , ”  Inte r nati onal  Journa l   Of  Intelli g ent Sys te ms ,   vol .   17 ,   p p.   45 - 62 ,   2002 .   [10]   J.  John,  A   Perf orm anc Based  Stud y   of  Software   Te sting  using  Artifi c ia Neura l   Network , ”  Inte r nat ional   Journa l   of  Logic   Based   I nte lligent Sy st ems ,   vol. 1 ( 1 ) ,   pp .   45 - 60,   2011 .   [11]   Sharm a,   R.   Pat ani   and  A.  Agg arwa l,   Softwar Te sting  Us ing   Gene tic  Algori thms , ”  Inte rnati onal  Journal  of   Computer  Scien ce   &   Engi nee ring S urve y   ( IJCSES) ,   vol. 7 ( 2 ) ,   pp .   21 - 33,   Apr  2016 .   [12]   S.  Keshava rz  an R.   Javida n,   Software   Qualit y   Control   Based  on  Gene ti Algor it hm , ”  Inte rnat i onal  Journal  of  Computer  Theory  and  Engi n ee ri ng ,   vol .   3 ,   Iss ue   4,   2011 .   [13]   Soni y Ma li k,   Software   Te sti ng  Us ing  Gene ti Algori thm , ”  Inte rnational   Confe renc on  Technol ogi es  for   Sustainabi lity -   E ngine ering ,   In fo rm ati on  Technology Manag eme nt ,   pp .   1011 - 101 6,   Nov 2015 .   [14]   M.  La st ,   S. E y al,   and  A.  K ande l ,   Eff ec ti v Bl ac k - Box  Te sting   wit Gene tic  Algor i thms , ”  Department   of   Computer   Sci en ce and  Eng ine ering ,   B en - Gurion   Univer si t of  th Neg ev, B ee r - Sheva ,   Isr ae l , 2005   [15]     Ranj it Sw ai n ,   Vikas   Panthi ,   Autom at ic   T est  ca se  Gene ration   from   UM Stat Char Diagr a m ”,   Inte rnation al   Journal  of   Computer  App li ca ti on s ( 0975    8887) ,   Vol.   42   No.7, p p. 26 - 36,   Marc h   2012.   [16]   V.Mar y Sum al a t h a   et   al . ,   UM base Autom at ed  Te st  Case   Gene ration  tec hnique   using  Acti vi t y - Sequen ce  dia gra m ”,  The  I nte rnational   Jou rnal  of  Comput er  Scienc &   A ppli cations  ( TIJCSA) ,   Vol.   1 ,   No.  9,   pp.   58 - 7 1,   Novem ber   2012.   [17]   M.  Phili ps,  N.  P awa r ,   N.  Jos hi ,   S.Khande bha rad ,   S.  Deshm ukh,   K.T ambe ,   Automa te Te st  C ase   Gene ration  Us ing  Multi ple  Modelling  T ec hniqu es ,   Int ernati onal   J ournal  of  S ci en c and  Re search   ( IJS R) ,   Vol.   Is sue  3,   pp .   722 - 725,   Mar ch  201 4.   [18]   P.R.   Srivasta v aand  Ta i - hoon  Ki m ,   Applic at ion  of  Gene tic  Algo rit hm   in  Software   Te sting ”,  In te r nati onal  Journal   of  Soft war Eng i nee ring a nd   Its  Appl ic a ti ons ,   Vol.   3 ,   No . 4,   pp.   87 - 96,   Octob er  200 9.   [19]   Mee nakshi  Van m al i,   Mark  La st ,   Abraha m   Kande l,   Us ing  Neura Network  i the   Software   Te sting  Proce ss ”,  Inte rnational   Jo urnal  o In te l li g e nt  Syst ems ,   pp.   4 5 - 62,   Janu ar y   20 02.   [20]   Gall an t, “S . I.   Ne ura Ne twork  L e arn ing and Expe rt  S y st ems ,   Ma ss achuse tt s Insti t ute   o Te chnol og y ,   US A,  1994 .   Evaluation Warning : The document was created with Spire.PDF for Python.