8aslcally maln purpose of xlorms ls Lo collecL daLa
We can descrlbe lnpuL daLa uslng xlorms lnLo Lwo dlfferenL parLs 1 xlorm model 2 xlorm user lnLerface We use xlorm model Lo descrlbe Lhe daLa and Lhe loglc means uslng xlorm we can deflne whaL Lhe form ls whaL daLa lL conLalns and whaL lL should do We use xlorm user lnLerface Lo perform lnpuL and ouLpuL Lask on daLa means LhaL xlorms user lnLerface use Lo deflne Lhe lnpuL flelds and how Lhey should be dlsplayed
How you define XForms model? @o descrlbe Lhe daLa we use xlorms ModelWe can also say LhaL daLamodel ls an lnsLance of xML documenLWe deflne daLa model lnLo Lhe xlorms lnslde a model elemenL Lxample model lnsLance person fname mname lname person lnsLance submlsslon ldform1 acLlonsubmlLasp meLhodgeL model ln Lhe above example we uses lnsLance elemenL LhaL ls use Lo deflne Lhe xML LemplaLe for daLa Lo be collecLed and a submlsslon elemenL ls used Lo deflne how we submlL a daLa
@he lnsLance LlemenL uslng lnsLanceelemenL we can deflne Lhe daLa LhaL we collecLed We use xlorms Lo collecL daLa for an xML documenLAnd lnsLance elemenLls use Lo deflne Lhe xML documenL ln xlorms model Lxample person fname mname lname person When xML daLa collecL Lhe daLa lL wlll looks llke LhaL person fnamevlvekfname mnamekumarmname lnameagarwallname person
@he submlsslon LlemenL uslng Lhls elemenL we can descrlbe how Lo submlL a daLa lnLo an xML documenL Lxample model lnsLance person fname mname lname person lnsLance submlsslon ldform1 acLlonsubmlLasp meLhodgeL model ln Lhe above example we use aLLrlbuL ldform1 aLLrlbuLe Lo ldenLlfy Lhe formAnd uses Lhe acLlonsubmlLasp aLLrlbuLe Lo deflne Lhe u8L Lo where Lhe form should be submlLLed and use meLhodgeL aLLrlbuLe Lo deflne Lhe meLhod whlch ls use Lo submlL Lhe daLa
How to perform selection control in XForms? When we wanL perform conLrol on one or more lLems ln user lnLerface of xlorms we use SelecLlon conLrol l have perform Lhree Lype of selecLlon conLrol @hese are 1SelecL1 ConLrol 2SelecL ConLrol 38ange ConLrol 1SelecL1 ConLrol When we wanL Lo selecL one lLem from llsL of lLems we use SelecL1 ConLrol Lxample selecL1 refsLaLus labelSLaLuslabel lLem labelMarrledlabel valueMvalue lLem lLem labelunmarrledlabel valueuMvalue lLem selecL1 ln Lhls example user can selecL only one sLaLus Marrled or unmarrledAnd lL wlll sLored ln Lhe xlorms lnsLance of xML documenL llke M and uM
2 SelecL ConLrol When we wanL Lo selecL one or more lLems from llsL of lLems we use selecL conLrol Lxample selecL reflanguages labelLanguageslabel lLem labelLngllshlabel valueLvalue lLem lLem labelPlndllabel valuePvalue lLem lLem labellrenchlabel valuelvalue lLem lLem labelSpanlshlabel valueSvalue lLem lLem labelCermanlabel valueCvalue lLem selecL now ln Lhe above example user can selecL more Lhan language
3 8ange ConLrol uslng 8ange conLrol we can selecL a value from a range of values Lxample range reflengLh sLarL0 end200 sLep10 labelLengLhlabel range now ln Lhe above example user can selecL a value beLween 0 and 200 ln sLeps of 10
How you define XForms Namespace? xlorms namespace are used ln P@ML and xP@ML10We can perform Lask Lo use xlorms namespace Lo declare all xlorms elemenL wlLh xlorms namespace l have glven you example whlch shows how Lo use xloms namespace Lxample hLml xmlnsxfhLLpwwww3org2002xforms head xfmodel xflnsLance person fname mname lname person xflnsLance xfsubmlsslon ldform1 meLhodgeL acLlonsubmlLasp xfmodel head body xflnpuL reffname xflabelllrsL namexflabelxflnpuL br xflnpuL refmname xflabelMlddle namexflabelxflnpuL br xflnpuL reflname xflabelLasL namexflabelxflnpuL br br xfsubmlL submlsslonform1 xflabelSubmlLxflabelxfsubmlL body hLml ln above example we use xlorms namespace as xfAnd you can use Lhls xlorms namespace Lo call any Lhlng
How you define controls in XForms? xlorms conLrols are also Lold as user lnLerface elemenLs we use Lo conLrol user lnLerface of xlorms l have glven you some maln common conLrols glven below lnpuL submlL a ref aLLrlbuLe ls aLLach wlLh each conLrols elemenL@haL ls use Lo polnL Lhe xlorms daLa model of each conLrol elemenL
How we store and transport data using XForms?
We can perform Lask of sLore and LransporL daLa uslng xlorms uslng xlorms we can sLore daLa or Lo submlL daLa from Lhe form We use xML Lo Lransfer daLa over Lhe neLkeep ln mlnd xlorms SLore and @ransform daLa ln Lhe form of unlcode byLes
at is Package Testing life cycle? @esLlng llfe cycle followed for all Lhe packaged appllcaLlons llke Cracle SA Slebel C8M Lools Supply Chaln managemenL appllcaLlons eLc are deLalled ln Lhe below dlagram ldenLlfylng Lhe buslness processes CrganlzaLlon of Lhe pro[ecL Leam SeLLlng up Lhe communlcaLlon channel klck sLarL Lhe pro[ecL ldenLlfylng Lhe lnfrasLrucLure avallablllLy 8eporLlng sLrucLure and pro[ecL coordlnaLlon 8equlremenL SLudy ldenLlfylng Lhe buslness rules Mapplng Lhe buslness processes ldenLlfy Lhe LesL condlLlons SeLLlng up Lhe LesL envlronmenL for Lhe sysLem lorms Lhe lnpuL needed for Lhe conflguraLlons ConflguraLlon CusLomlzaLlon AcLlvaLlng Lhe buslness rules uevelopmenL of cerLaln flows ldenLlfylng cerLaln flows noL ln Lhe sLandard lormlng Lhe sysLem conflguraLlons unlL @esLlng uploadlng Lhe masLer daLa Lnd user Lralnlng SlmulaLlng all Lhe flows @leup beLween lnLerfaces CperaLlonal 8eadlness @esLlng and uA@ Slgnoff MlgraLe Lo new sysLem @ransfer all legacy buslness appllcaLlons CommunlcaLe deploymenL sLaLus SupporL new sysLem @ransfer ownershlp Lo sysLem owner @ake cusLomer accepLance afLer producLlon deploymenL
How you define XForms User Interface? We use xlorms user lnLerface Lo dlsplay and geL lnpuL Lhe daLa We called user lnLerface elemenLs of xlorms as conLrols or lnpuL conLrols Lxample lnpuL reffnamelabelllrsL namelabellnpuL lnpuL refmnamelabelMlddle namelabellnpuL lnpuL reflnamelabelLasL namelabellnpuL submlL submlsslonform1labelSubmlLlabelsubmlL ln Lhe above glven l have use Lhree lnpuL elemenLs Lo deflne lnpuL flelds ln example reffname refmname and reflname aLLrlbuLes whlch ls use Lo polnL fnamemname and lname elemenLs ln Lhe xlorms model We use submlsslonform1 aLLrlbuLe whlch refers Lo submlsslon elemenL ln Lhe xlorms model ln Lhe above example we use label elemenLs WlLh xlorms every lnpuL conLrol elemenL
escribe in brief about Automation Testing life cycle?
AdvanLages of Lhls auLomaLed sofLware uslng Lhe above AS@ llfe cycle Plgh CuallLy Lo markeL Low @lme Lo markeL 8educed LesLlng Llme ConslsLenL LesL procedures 8equlremenL luncLlonal SpeclflcaLlon documenLs ueslgn SpeclflcaLlon documenLs (use cases eLc) @esL @raceablllLy MaLrlx for ldenLlfylng @esL Coverage luncLlonal nonluncLlonal and LesL daLa requlremenLs @esL phases Lo be auLomaLed and of auLomaLlon 8educed CA cosLs lmproved LesLlng producLlvlLy lmproved producL quallLy 8equlremenL luncLlonal SpeclflcaLlon documenLs ueslgn SpeclflcaLlon documenLs (use cases eLc) @esL @raceablllLy MaLrlx for ldenLlfylng @esL Coverage luncLlonal nonluncLlonal and LesL daLa requlremenLs @esL phases Lo be auLomaLed and of auLomaLlon AuLomaLed SofLware @esLlng (AS@) Scope @ool LvaluaLlon and ldenLlflcaLlon AS@ MeLhodologles and lramework repare and 8ase llnlng ScrlpLlng sLandard and AS@lan AS@ @esL 8ed lnsLallaLlon and conflguraLlon neLwork connecLlvlLy?s All Lhe SofLware Lools Llcenses lnsLallaLlon and conflguraLlon CoordlnaLlon wlLh vendors and oLhers @esL ScrlpL and LesL daLa preparaLlon @esL scrlpLs LesL daLa revlew and unlL LesLlng lnLegraLlon @esLlng @esL scrlpLs and LesLlng 8ase llnlng under ConflguraLlon ManagemenL LxecuLlng AS@ @esL SulL CapLure revlew and analyze @esL 8esulLs uefecLs reporLlng and Lracklng for lLs closure
How to use bot XForms Model and XForms User Interface togater?
We can use boLh xlorms Model and xlorms user lnLerface LogaLher llke LhaL Lxample xforms model lnsLance person fname mname lname person lnsLance submlsslon ldform1 acLlonsubmlLasp meLhodgeL model lnpuL reffnamelabelllrsL namelabellnpuL lnpuL refmnamelabelMlddle namelabellnpuL lnpuL reflnamelabelLasL namelabellnpuL submlL submlsslonform1labelSubmlLlabelsubmlL xforms
at is Binding in XForms? When xlorms achleve LhaL Lask Lo address daLa ln xlorms wlLh use of xaLh@han lL ls called as 8lndlng l have allready Lold you xlorms deflne daLa ln Lwo secLlons@hese secLlons are xlorms model(ls a xML lnsLance for daLa) and xlorms user lnLerface(used Lo descrlbe lnpuL and presenLaLlon of daLa) @han we can say LhaL ln 8lndlng we use xA@P Lo made connecLlon bw Lhem(Lhese Lwo secLlons)
How you define data types in XForms?
We use xlorms user lnLerface Lo dlsplay and geL lnpuL Lhe daLa We called user lnLerface elemenLs of xlorms as conLrols or lnpuL conLrols Lxample lnpuL reffnamelabelllrsL namelabellnpuL lnpuL refmnamelabelMlddle namelabellnpuL lnpuL reflnamelabelLasL namelabellnpuL submlL submlsslonform1labelSubmlLlabelsubmlL ln Lhe above glven l have use Lhree lnpuL elemenLs Lo deflne lnpuL flelds ln example reffname refmname and reflname aLLrlbuLes whlch ls use Lo polnL fnamemname and lname elemenLs ln Lhe xlorms model We use submlsslonform1 aLLrlbuLe whlch refers Lo submlsslon elemenL ln Lhe xlorms model ln Lhe above example we use label elemenLs WlLh xlorms every lnpuL conLrol elemenL
How we can say XForms as Recommendation?
W3C 8ecommended xlorm 10 ln CcL 2003We can say LhaL lL ls a new generaLlon verslon of P@ML
escribe in brief about Application Testing life cycle? @hls llfe cycle ls used for sLandard appllcaLlons LhaL are bullL from varlous cusLom Lechnologles and follow Lhe normal or sLandard LesLlng approach @he AppllcaLlon or cusLombulld Llfecycle and lLs phases ls deplcLed below 8equlremenL SpeclflcaLlon documenLs luncLlonal SpeclflcaLlon documenLs ueslgn SpeclflcaLlon documenLs (use cases eLc) use case uocumenLs @esL @raceablllLy MaLrlx for ldenLlfylng @esL Coverage @esL Scope @esL LnvlronmenL ulfferenL @esL phase and @esL MeLhodologles Manual and AuLomaLlon @esLlng uefecL MgmL ConflguraLlon MgmL 8lsk MgmL LLc LvaluaLlon ldenLlflcaLlon ? @esL uefecL Lracklng Lools @esL 8ed lnsLallaLlon and conflguraLlon neLwork connecLlvlLy?s All Lhe SofLware Lools lnsLallaLlon and conflguraLlon CoordlnaLlon wlLh vendors and oLhers @esL @raceablllLy MaLrlx and @esL coverage @esL Scenarlos ldenLlflcaLlon @esL Case preparaLlon @esL daLa and @esL scrlpLs preparaLlon @esL case revlews and Approval 8ase llnlng under ConflguraLlon ManagemenL AuLomaLlon requlremenL ldenLlflcaLlon @ool LvaluaLlon and ldenLlflcaLlon ueslgnlng or ldenLlfylng lramework and scrlpLlng ScrlpL lnLegraLlon 8evlew and Approval 8ase llnlng under ConflguraLlon ManagemenL LxecuLlng @esL cases @esLlng @esL ScrlpLs CapLure revlew and analyze @esL 8esulLs 8alsed Lhe defecLs and Lracklng for lLs closure
How we can say XForms is device independent? We can say LhaL xlorms ls devlce lndependenL because lL ls used Lo separaLe daLa from presenLaLlon and we can use daLa models for all devlces uslng xlorms we can cusLomlze presenLaLlon for dlfferenL user lnLerfaceLlke moblle phones handheld devlces eLc uslng devlce lndependenL feaLures of xlorms we can add xlorms elemenL lnLo oLhe xML appllcaLlon dlrecLlyleWML(Wlreless Markup Language)volcexML(use Lo speak web daLa)
How Xforms is used to separate data from presentation? uslng xlorms we can perform boLh Lask Lo deflne daLa and Lo dlsplay daLa@o deflne daLa xlorms uses xML and Lo dlsplay daLa xlorms uses P@ML or xP@ML uslng xlorms we can separaLe daLa loglc of a form from lLs presenLaLlon
an you tell us ow you andle te mapping from? uslng xlorms we can perform boLh Lask Lo deflne daLa and Lo dlsplay daLa@o deflne daLa xlorms uses xML and Lo dlsplay daLa xlorms uses P@ML or xP@ML uslng xlorms we can separaLe daLa loglc of a form from lLs presenLaLlon
an you tell us if it is possible to render XForms? 8enderlng ls performed wlLh xSL@ We provlde a sLylesheeL LhaL generaLes P@ML ouL of Lhe box buL one could wrlLe hlsher own sLylesheeL LhaL generaLes SvC or xuL wlLhouL Loo much dlfflculLy by looklng aL Lhe exlsLlng sLylesheeL LhaL comes wlLh CS
How you define XForms Processor? We use XForms Processor inside the browser to submit XForm data to the target. I have you example show how to submit data into XML. Eaxmple: person~ Iname~vivekIname~ mname~kumarmname~ lname~agarwallname~ person~ How we can say XForms is succesors of HTML forms? WlLh uslng P@ML forms web appllcaLlon are become able Lo accepL lnpuL from userWe can say LhaL P@ML forms ls a parL of P@ML sLandardnowweb user Lry Lo solve complex LransacLlons buL P@ML sLandard does achleve LhaL Lask We can achleve LhaL Lask uslng xlorms8ecause uslng xlorms handle a rlchermore secure and devlce lndependenL web lnpuL xlorms are supporLed by all fuLure browsers
an you igligt some goodies or addons te Orbeon? Alessandro verneL resenLaLlonServer ls noL so much abouL addlng exLenslons Lo xlorms lL ls raLher abouL provldlng Lhe feaLures relaLed Lo xlorms LhaL appllcaLlon developers need Cnce a form has been submlLLed by Lhe enduser and Lhe xlorms englne has creaLed an xlorms lnsLance documenL LhaL conLalns Lhe daLa enLered by Lhe enduser
an you tell us ow te Orbeon? resenLaLlonServer ls ofLen compared Lo Cocoon as boLh are plaLforms for bulldlng Web appllcaLlons and Lhey boLh use xML Lechnologles and are boLh open source We have on our Web slLe a page llnked from Lhe lAC comparlng resenLaLlonServer wlLh Cocoon
an you tell us if it is possible to use your XForms? %he XForms engine is implemented in two processors. Since processors can be called through a Java API, the XForms engine could be used stand-alone and, say, called directly Irom a Servlet.