Web Applications What Type of Tests Are You Going to Do

download Web Applications What Type of Tests Are You Going to Do

of 21

Transcript of Web Applications What Type of Tests Are You Going to Do

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    1/21

    For Web Applications what type of tests are you going to do?

    Web-based applications present new challenges, these challenges include:

    - Short release cycles;

    - Constantly Changing Technology;

    - Possible huge number of users during initial website launch;- Inability to control the users running en!ironment;

    - "#-hour a!ailability of the web site$

    The %uality of a website must be e!ident from the &nset$ 'ny di(culty whether in

    response time, accuracy of information, or ease of use-will compel the user to clic) to a

    competitors site$ Such problems translate into lost of users, lost sales, and poor

    company image$

    To o!ercome these types of problems, use the following techni%ues:

    *$ +unctionality Testing

    +unctionality testing in!ol!es ma)ing Sure the features that most aect user interactions

    wor) properly$ These include:

    forms

    searches

    pop-up windows

    shopping carts

    online payments

    "$ .sability Testing

    /any users ha!e low tolerance for anything that is di(cult to use or that does not wor)$' users 0rst impression of the site is important, and many websites ha!e become

    cluttered with an increasing number of features$ +or general-use websites frustrated

    users can easily clic) o!er a competitors site$

    .sability testing in!ol!es following main steps

    identify the websites purpose;

    identify the indented users ;

    de0ne tests and conduct the usability testing

    analy1e the ac%uired information

    2$ 3a!igation Testing

    4ood 3a!igation is an essential part of a website, especially those that are comple5 and

    pro!ide a lot of information$ 'ssessing na!igation is a ma6or part of usability Testing$

    #$ +orms Testing

    Websites that use forms need tests to ensure that each 0eld wor)s properly and that the

    forms posts all data as intended by the designer$

    7$ Page Content Testing

    8ach web page must be tested for correct content from the user perspecti!e for correctcontent from the user perspecti!e$ These tests fall into two categories: ensuring that

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    2/21

    each component functions correctly and ensuring that the content of each is correct$

    9$ Con0guration and Compatibility testing

    ' )ey challenge for web applications is ensuring that the user sees a web page as the

    designer intended$ The user can select dierent browser software and browser options,

    use dierent networ) software and on-line ser!ice, and run other concurrent applications$We e5ecute the application under e!ery browserplatform combination to ensure the web

    sites wor) properly under !arious en!ironments$

    $

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    3/21

    Web Application Testing Checklist:

    Some or all of the following testing types may be performed depending on your web

    testing re%uirements$

    1. Functionality Testing :

    This is used to chec) if your product is as per the speci0cations you intended for it as well

    as the functional re%uirements you charted out for it in your de!elopmental

    documentation$Testing 'cti!ities Included:

    Test all links in your webpages are wor)ing correctly and ma)e sure there are no bro)en

    lin)s$ @in)s to be chec)ed will include -

    &utgoing lin)s Internal lin)s

    'nchor @in)s

    /ailTo @in)s

    Test Forms are wor)ing as e5pected$ This will include-

    Scripting chec)s on the form are wor)ing as e5pected$ +or e5ample- if a user does

    not 0ll a mandatory 0eld in a form an error message is shown$

    Chec) default !alues are being populated

    &nce submitted , the data in the forms is submitted to a li!e database or is lin)ed

    to an wor)ing email address

    +orms are optimally formatted for better readability

    Test Cookiesare wor)ing as e5pected$ Coo)ies are small 0les used by websites to

    primarily remember acti!e user sessions so you do not need to log in e!ery time you !isit

    a website$ Coo)ie Testing will include

    Testing coo)ies sessionsD are deleted either when cache is cleared or when they

    reach their e5piry$

    Belete coo)ies sessionsD and test that login credentials are as)ed for when you

    ne5t !isit the site$

    Test T!" and C##to ensure that search engines can crawl your site easily$ This will

    include

    Chec)ing for Synta5 8rrors

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    4/21

    Test business work$ow- This will include

    Testing your end - to - end wor)Eow business scenarios which ta)es the user

    through a series of webpages to complete$

    Test negati!e scenarios as well , such that when a user e5ecutes an une5pected

    step , appropriate error message or help is shown in your web application$

    Tools that can be used: FTP, I=/

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    5/21

    Test system responsewhen connection between the three layers 'pplication,

    Web and BatabaseD can not be establishedand appropriate message is shown to the

    end user$

    Tools that can be used: 'lert+o5,

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    6/21

    Website application response times at dierent connection speeds

    @oad test your web application to determine its beha!ior under normal and pea)

    loads

    Stress test your web site to determine its brea) point when pushed to beyond

    normal loads at pea) time$

    Test if a crash occurs due to pea) load , how does the site reco!er from such an

    e!ent

    /a)e sure optimi1ation techni%ues li)e g1ip compression , browser and ser!er

    side cache enabled to reduce load times

    Tools that can be used: @oadrunner,/eter

    2. #ecurity testing:

    Security testing is !ital for e-commerce website that store sensiti!e customer information

    li)e credit cards$Testing 'cti!ities will include-

    Test unauthori1ed access to secure pages should not be permitted

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    7/21

    article will help you tolearn basic of web testing.=efore start testing web site itOs

    !ery important to )now about which all testing methods needs to co!er$

    Prior to see more details on web application testing, 0rst letOs see the de0nition of the

    Web Testing$

    What is Web Testing?

    5Web testingis the name gi!en to Software Testingthat focuses on testing the web

    applications$N In Web-based application is completely tested before going production

    en!ironment$ This could help to address the issues in web application before e5posed to

    public li)e the +unctional issues, web application security, web ser!ices issues,

    integrations issues, en!ironment issues and its ability to handle tra(c is chec)ed$ In this

    stage of Web Testing ma)ing eort to 0nd out the possible bugs in the system$

    Web Application Testing Checklist:

    @et see what all testing is to be carried out on in software web testing$ The testing is

    totally based on your web testing re%uirements but following is the standard chec)list of

    web testing:

    Web Testing

    *$ Functionality Testing:

    In +unctional testing we need chec) the each components are functioning as e5pected or

    not, so it is also called as LComponent TestingN$ +unctional testing is to testing the

    functionality of the software application under test$ =asically, it is to chec) the basic

    functionality mentioned in the functional speci0cation document$ 'lso chec) whether

    software application is meeting the user e5pectations$ We can also say that chec)ing thebeha!ior of the software application against test speci0cation$

    http://www.softwaretestingclass.com/http://www.softwaretestingclass.com/functional-testing/http://www.softwaretestingclass.com/http://www.softwaretestingclass.com/functional-testing/
  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    8/21

    In this testing acti!ities should include:

    "ink Testing:

    Chec) for all broken linkson your web pages all lin)s are wor)ing correctly$ 'long

    with you can chec) the dierent lin)s on you web pages:

    Internal lin)s

    &utgoing lin)s

    /ailTo @in)s

    'nchor @in)s

    Web form testing:

    In the web application testing the L+orms TestingN is the essential part of testing any web

    site$ The main purpose of +orm is to get the information from user store into the

    database$ 'nd )eep on interact with them$ =elow are the test cases which should be

    considered while doing form testing:

    +irst thing to test in the form is the Qalidations on each form 0elds$ Rere two types

    of Qalidation need to be consider LClient sideN LSer!er sideN !alidations$

    Chec) default !alues are being populated

    Chec) for all /andatory 0elds$ Chec) if a user not entered a re%uired 0eldshowing a mandatory error message$

    'dd information using form update information using form$

    Tab orders$

    Chec) for the default !alues of 0elds$

    +orms are optimally formatted for better readability

    In 3egati!e testing enter in!alid inputs to the forms 0elds$

    Cookies testing:

    Coo)ies are the small te5t 0le that gets sa!ed the userOs system$ These 0les are sa!ed in

    the desired location and used by the browsers to use the coo)ies$ =asically used to

    maintain the session mainly login sessions the Coo)ies are used$ Instructi!e information

    is recorded in the coo)ie li)e SessionsD and that can be retrie!ed for the web pages$

    .ser can able to enable or disable the Coo)ies in browser options$ The basic test to chec)

    if coo)ie is stored in the userOs machine in the encrypted format$ I am writing separate

    article on Coo)ie Testing, post it soonD

    So letOs see what should be tested in Coo)ies testing:

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    9/21

    Test the application by disabling the Coo)ies

    Test the application after corrupting the coo)ies$

    Chec) the beha!ior of application after remo!ing the all the coo)ies for the

    website you are testing$

    Chec) website writing coo)ies are wor)ing or not on dierent browser$

    Chec) if coo)ies for authenticated login are wor)ing or not$

    Chec) if beha!ior of application after deleting the coo)ies sessionsD by clearing

    cache or after coo)ies e5pired

    Chec) if login to application after deleting the coo)ies sessionsD

    Test T!" and C##:

    To optimi1e web site in the search engine then testing of RT/@ and CSS ma)e important

    role$ In this testing chec) that dierent search engines can crawl your site without any

    error$ Hou should chec) for all Synta5 8rrors, Color Schemas in the readable, chec) for

    Standard Compliance and the standards are followed li)e W2C, IS&, 8C/', I8T+, WS-I,

    &'SIS

    Test business work$ow:

    This would include:

    8nd to end testing of business scenarioswor)Eow which ensure that the

    completeness of website testing$

    Testing of Positi!e as well as negati!e scenarios$

    "$ .sability testing:

    3ow a dayOs the .sability testing is playing an important role of any web application$ This

    testing is to be carried out by testers li)e you to ensure that co!er all possible test cases

    which targeted audience of the web application are doing regularly$

    This would include

    3a!igation testing of the web site:

    'll possible options li)e /enus, @in)s or buttons on web pages should be !isible

    accessible from all the web pages$

    Web pages na!igation should be 8asy to use

    Relp instruction content should be clear should satisfy the purpose$

    'll options on header, footer leftright na!igation should be consistent

    throughout the pages$

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    10/21

    Content testing of the web site:

    3o spelling or grammatical errors mista)e in content throughout the page$

    'lt te5t should be present on Images

    3o bro)en images

    Hour tas) is to !alidate all for .I testing

    +ollow some standard on content building on web page

    'll content should be legible easy to understand$

    Bar) color infuriates the users, so a!oid using dar) colors in the theme$

    Proper si1e images should be placed on web page

    'll the anchor te5t lin)s should be wor)ing properly$

    2$ Compatibility testing$

    In software application testing the Compatibility testing is the non-functional part of

    testing$ It is ensuring that how applicationOs wor)ing in the supported en!ironments$

    Customers are uses web application on dierent &perating systems, =rowser

    compatibility, computing capacity of Rardware Platform, Batabases and =andwidth

    handling capacity of networ)ing hardware$ The Compatibility testing is to ma)e sure that

    LIs web application show correctly across dierent de!icesMN

    This would include-

    rowser Compatibility Test:

    Web applications are rendering dierently on dierent browsers$ The ob6ecti!e of browser

    compatibility testing is to ensure that no any errors on the dierent web browsers while

    rendering the sites$ In =rowser Compatibility Testing you need to ensure that your web

    application is being displayed properly on dierent browsers$ 'lso chec) ''J, a!aScript

    and authentication are functioning correctly$

    /# compatibility:

    In new technology newer graphics designs are used dierent 'PIs are used which may

    not wor) on dierent &perating systems$ 'lso on rendering of dierent ob6ects li)e te5t

    0elds, buttons may display dierent on dierent &perating System$ So testing of web

    application should be carried out on dierent &S li)e Windows, /'C, Solaris, .ni5, @inu5

    with dierent &S Ea!ors$

    !obile browsing:

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    11/21

    In latest /obi technology you also test out /obile =rowser Compatibility too$ It may be

    possible of Compatibility issues on /obile browsers$ So in the new /obi technology age

    you testing of web pages on mobile browsers should be carried out$

    #$ Batabase Testing:

    Bata reliability is )ey part in the Batabase testing$ So for web application should be

    thoroughly tested$

    Testing acti!ities would include-

    Chec) if %ueries are e5ecuted without any errors$

    Creating, updating or deleting data in database should maintain the data integrity$

    /ore time should not ta)e to e5ecute the %ueries, if re%uired tune the %ueries for

    better performance$

    Chec) load on database while e5ecuting hea!ier %ueries chec) the result$

    Collect data from database represent on the web pages correctly$

    7$ Crowd Testing:

    Crowd testing is when a large group of perfect strangers try your product then gi!e you

    phenomenally helpful feedbac) on usability, bugs and features$

    To test the software application Crowd testing can be used$ It not limited to webapplications, but for all )inds of applications including mobile application testing$

    Crowdtesting is dependent on the %uality of the crowd$ 'lso it depends on a crowd that is

    composed out of a large group of di!erOs people$ It used do system tests for performance

    and usability testing. Simply this is complementary to normalO testing$ The mainly

    complicated 6ob of crowd testing is determining a good enough crowd$

    9$ Interface Testing:

    In the Interface testing mainly three areas should be co!ered: Web Ser!er, 'pplication

    Ser!er and Batabase Ser!er$ 8nsure that all the communications between these all

    ser!ers should be carried out correctly$ Qerify that if connection between any ser!ers isreset or lost then what is happing$ Chec) if any re%uest interrupts in-between then how

    application is responding$ &n returns of any error from web ser!er or database ser!er to

    application ser!er then error should be 8rrors are handled properly display such errors

    to the user$

    Web Ser!er: Chec) if all web re%uests are accepting and not any re%uests are

    denied or lea)ages$

    'pplication Ser!er: Chec) if re%uest is sending correctly to the any ser!er

    displayed correctly$ Chec) if errors are catch properly displayed to admin user$

    Batabase Ser!er: Chec) if database ser!er is returns correct result on %uery

    re%uest$

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    12/21

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    13/21

    Chec) if internal Web directories or 0les are not accessible unless until not

    con0gured for download$

    Chec) if C'PTCR' is added wor)ing properly for logins to pre!ents automates

    logins attempts$

    Chec) if try to access others information by changing parameter in %uery string$

    +or e5ample if you are editing the information in .

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    14/21

    @astly in lin) chec)ing, chec) for bro)en lin)s in all abo!e-mentioned lin)s$

    Test forms in all pages:

    +orms are the integral part of any web site$ +orms are used to get information from users

    and to )eep interaction with them$ So what should be chec)ed on these formsM

    +irst chec) all the !alidations on each 0eld$

    Chec) for the default !alues of 0elds$

    Wrong inputs to the 0elds in the forms$

    &ptions to create forms if any, form delete, !iew or modify the forms$

    @etOs ta)e e5ample of the search engine pro6ect currently I am wor)ing on, In this pro6ect

    we ha!e ad!ertiser and a(liate signup steps$ 8ach sign up step is dierent but

    dependent on other steps$ So sign up Eow should get e5ecuted correctly$ There are

    dierent 0eld !alidations li)e email Ids, .ser 0nancial info !alidations$ 'll these

    !alidations should get chec)ed in manual or automated web testing$

    Cookies testing:Coo)ies are small 0les stored on user machine$ These are basically used to maintain the

    session mainly login sessions$ Test the application by enabling or disabling the coo)ies in

    your browser options$ Test if the coo)ies are encrypted before writing to user machine$ If

    you are testing the session coo)ies i$e$ coo)ies e5pire after the sessions endsD chec) for

    login sessions and user stats after session end$ Chec) eect on application security by

    deleting the coo)ies$ I will soon write separate article on coo)ie testingD

    8alidate your T!"9C##:

    If you are optimi1ing your site for Search engines then RT/@CSS !alidation is !ery

    important$ /ainly !alidate the site for RT/@ synta5 errors$ Chec) if site is crawlable to

    dierent search engines$+atabase testing:

    Bata consistency is !ery important in web application$ Chec) for data integrity and errors

    while you edit, delete, modify the forms or do any B= related functionality$

    Chec) if all the database %ueries are e5ecuting correctly, data is retrie!ed correctly and

    also updated correctly$ /ore on database testing could be load on B=, we will address

    this in web load or performance testing below$

    %7 &sability Testing:

    Test for na(igation:

    3a!igation means how the user surfs the web pages, dierent controls li)e buttons,

    bo5es or how user using the lin)s on the pages to surf dierent pages$.sability testing includes:

    Web site should be easy to use$ Instructions should be pro!ided clearly$ Chec) if the

    pro!ided instructions are correct means whether they satisfy purpose$

    /ain menu should be pro!ided on each page$ It should be consistent$

    Content checking:

    Content should be logical and easy to understand$ Chec) for spelling errors$ .se of dar)

    colors annoys users and should not be used in site theme$ Hou can follow some standards

    that are used for web page and content building$ These are common accepted standards

    li)e as I mentioned abo!e about annoying colors, fonts, frames etc$

    Content should be meaningful$ 'll the anchor te5t lin)s should be wor)ing properly$

    Images should be placed properly with proper si1es$

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    15/21

    These are some basic standards that should be followed in web de!elopment$ Hour tas) is

    to !alidate all for .I testing

    /ther user information for user help:

    @i)e search option, sitemap, help 0les etc$ Sitemap should be present with all the lin)s in

    web sites with proper tree !iew of na!igation$ Chec) for all lin)s on the sitemap$

    LSearch in the siteN option will help users to 0nd content pages they are loo)ing for easily

    and %uic)ly$ These are all optional items and if present should be !alidated$

    )7 *nterface Testing:

    The main interfaces are:

    Web ser!erand application ser!er interface

    'pplication ser!er and Batabase ser!er interface$

    Chec) if all the interactions between these ser!ers are e5ecuted properly$ 8rrors are

    handled properly$ If database or web ser!er returns any error message for any %uery by

    application ser!er then application ser!er should catch and display these error messages

    appropriately to users$ Chec) what happens if user interrupts any transaction in-

    betweenM Chec) what happens if connection to web ser!er is reset in betweenM

    ,7 Compatibility Testing:

    Compatibility of your web site is !ery important testing aspect$ See which compatibility

    test to be e5ecuted:

    ------------

    =rowser compatibility

    &perating system compatibility

    /obile browsing Printing options

    rowser compatibility:

    In my web-testing career I ha!e e5perienced this as most inEuencing part on web site

    testing$

    Some applications are !ery dependent on browsers$ Bierent browsers ha!e dierent

    con0gurations and settings that your web page should be compatible with$ Hour web site

    coding should be cross browser platform compatible$ If you are using 6a!a scripts or ''J

    calls for .I functionality, performing security chec)s or !alidations then gi!e more stress

    on browser compatibility testing of your web application$

    Test web application on dierent browsers li)e Internet e5plorer, +irefo5, 3etscapena!igator, '&@, Safari, &pera browsers with dierent !ersions$

    /# compatibility:

    Some functionality in your web application is may not be compatible with all operating

    systems$ 'll new technologies used in web de!elopment li)e graphics designs, interface

    calls li)e dierent 'PIOs may not be a!ailable in all &perating Systems$

    Test your web application on dierent operating systems li)e Windows, .ni5, /'C, @inu5,

    Solaris with dierent &S Ea!ors$

    !obile browsing:

    This is new technology age$ So in future /obile browsing will roc)$ Test your web pages

    on mobile browsers$ Compatibility issues may be there on mobile$

    http://www.softwaretestinghelp.com/difference-between-desktop-client-server-and-web-testing/http://www.softwaretestinghelp.com/difference-between-desktop-client-server-and-web-testing/
  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    16/21

    rinting options:

    If you are gi!ing page-printing options then ma)e sure fonts, page alignment, page

    graphics getting printed properly$ Pages should be 0t to paper si1e or as per the si1e

    mentioned in printing option$

    -7 erformance testing:

    Web application should sustain to hea!y load$ Web performance testing should include:

    Web @oad Testing

    Web Stress Testing

    Test application performance on dierent internet connection speed$

    In web load testingtest if many users are accessing or re%uesting the same page$ Can

    system sustain in pea) load timesM Site should handle many simultaneous user re%uests,

    large input data from users, Simultaneous connection to B=, hea!y load on speci0c

    pages etc$

    #tress testing:4enerally stress means stretching the system beyond its speci0cation

    limits$ Web stress testing is performed to brea) the site by gi!ing stress and chec)ed how

    system reacts to stress and how system reco!ers from crashes$

    Stress is generally gi!en on input 0elds, login and sign up areas$

    In web performance testing web site functionality on dierent operating systems,

    dierent hardware platforms is chec)ed for software, hardware memory lea)age errors,

    07 #ecurity Testing:

    +ollowing are some test cases for web security testing:

    Test by pasting internal url directly into browser address bar without login$ Internal

    pages should not open$

    If you are logged in using username and password and browsing internal pages

    then try changing url options directly$ I$e$ If you are chec)ing some publisher site

    statistics with publisher site IBU *"2$ Try directly changing the url site IB

    parameter to dierent site IB which is not related to logged in user$ 'ccess should

    denied for this user to !iew others stats$

    Try some in!alid inputs in input 0elds li)e login username, password, input te5t

    bo5es$ Chec) the system reaction on all in!alid inputs$

    Web directories or 0les should not be accessible directly unless gi!en download

    option$

    Test the C'PTCR' for automates scripts logins$

    Test if SS@ is used for security measures$ If used proper message should get

    displayed when user switch from non-secure http: pages to secure https: pages

    and !ice !ersa$

    'll transactions, error messages, security breach attempts should get logged in

    log 0les somewhere on web ser!er$

    * think * ha(e addressed all maor web testing methods.I ha!e wor)ed for around

    " years out of my testing careeron web testing$ There are some e5perts who ha!e spent

    their whole career life on web testing$ If I missed out addressing some important web

    testing aspect then let me )now in comments below$ I will )eep on updating the article

    for latest testing information$

    http://www.softwaretestinghelp.com/choosing-software-testing-as-your-career/http://www.softwaretestinghelp.com/choosing-software-testing-as-your-career/http://www.softwaretestinghelp.com/choosing-software-testing-as-your-career/
  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    17/21

    F*$ Be0ne performance and stress testing$erformance Testing:Performance Testing is performed to e!aluate applicationperformance under some load and stress condition$ It is generally measured in terms ofresponse time for the user acti!ity$ It is designed to test the whole performance of thesystem at high load and stress condition$Stress testing: It in!ol!es imposing the database with hea!y loads$ Such as, largenumbers of users access the data from the same table and that table contains largenumber of records$

    F"$ What are the typical problems in web testingMThe following problem may arise in web testing:

    +unctionality problems

    .ser Interface related problems

    Performance related problems

    Batabase related problems

    &S compatibility problems

    =rowser compatibility problems

    Security related problems

    @oad related problem

    3a!igation problem

    F2$ Write the test scenarios for testing a web siteM+irst we ha!e to assume that 4raphical .ser Interface 4.ID ob6ects and elements of awebsite together is &ne Test Scenario$ Then, we ha!e to chec) all the lin)s and buttons$Then we ha!e to chec) all forms are wor)ing properly or not$ Prepare Test Scenarios ofthe forms of a webpage$ We can identify # dierent types of Test Scenarios of a form:

    Chec) the form with !alid data in all the 0elds$

    Chec) the form with in!alid data which !iolate the !alidations of 0elds in the form$

    Chec) the form by lea!ing some mandatory 0elds in the form$

    Chec) the form with e5isting record details$

    F#$ While testing a website, which are the dierent con0gurations which will ha!e to beconsideredMThese con0gurations may demand for change in strategy of the webpage$ The mostimportant factors that need consideration are following:

    ardware platform:some user may use the /ac platform, some may use @inu5,while others may use /icrosoft platform$

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    18/21

    rowsers:browser and their !ersions also change the layout of the web page$

    'long with the browser !ersions, the dierent Plug-Ins also has to be ta)en intoconsideration$ The resolution of the monitor also with color depth and te5t si1e issome of the other con0gurations$

    F7$ What is the dierence between authentication and authori1ation in web testingM

    The dierences between authentication and authori1ation are:

    'uthentication is the process with which the system identi0es the user whereas

    authori1ation is the process after the authentication process

    The authentication is used to ensure that the user is indeed a user, who he claims

    to be whereas in authori1ation system will decide whether a particular tas) can beperformed by the user

    There are dierent types of authentications, which can be used li)e password

    based authentication, de!ice based authentication whereas in authori1ation thereare two types read only, and read write both$

    F9$ 85plain the dierent between RTTP and RTTPSMThe dierences between RTTP and RTTPS are following:

    Ryperte5t Transfer Protocol is a protocol for information to be passed bac) and

    forth between web ser!ers and clients$ Rttps is refers to the combination of anormal RTTP interaction o!er an encrypted Secure Soc)ets @ayer SS@D orTransport @ayer Security T@SD transport mechanism

    RTTP use port number >A whereas RTTPS use port number ##2

    RTTP can support the client as)ing for a particular 0le to be sent only if it hasbeen updated after a certain date and time whereas Ryperte5t Transfer Protocolo!er Secure Soc)et @ayer is built into its browser that encrypts and decrypts userpage re%uests as well as the pages that are returned by the Web ser!er

    F$ What is the dierence between the static and dynamic websiteMThe dierences between Static and Bynamic website are following:

    ' static website contains Web pages with 05ed content where as in Bynamic web

    site content of the web page change with respect to time$

    Static website are easy to create and donot re%uire any database design but in

    case of dynamic website it re%uire good )nowledge to de!elop the website withprogramming and database )nowledge$

    In static website user cannot communicate with other and same information will

    be displayed to each user where as in dynamic website user may communicatewith each other$

    F>$ Row do you perform testing on web based application using FTPMWe can do the performance testing using FTP by adding the web add-in in the FTP at thestartup of the FTP$ 3ow to ma)e .

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    19/21

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    20/21

    F*2$ What is dierence between web based testing and windows based testingMWeb based testing is concern with the following:

    =ro)en @in)s in the web pages$

    Performance of web li)e response time$

    4raphical .ser Interface

    Te5t on the page

    Where as in Windows based testing we loo) for :

    +unctionality

    Intergration

    F*#$ What are the common bugs in web testingMIn Web based testing following bugs are !ery common:

    Issues in na!igation of application

    .sability$

    Cosmetic Issues and 4.I Issues

    +unctional Issues

    Performance issues - Row time it ta)es to display the page to the user$

    @oad - Row much load an application can handle at any point in time$

    Stress - 't how much load application will crash$

    +low of data - Information which is entered by user is stored in correct format$

    If proper static information is not displayed along with te5t 0elds to enter data$

    @in)s are bro)en, default focus is not set in forms, tab )ey not wor)ing, all )ey

    board short cuts are not fully functional

    F*7$ What is the dierence bw des)top application testing and web testingMBes)top Testing: Bes)top application testing is standalone testing, it is independent ofthe other application which are e5ecuting on the dierent machines$ In this applicationtesting, tester need not worry about number of user$

    Web testing Web testing is related to client ser!er$ Web testing needs to ha!e manytestingOs li)e .sability, 4.I, @oad Testing, Performance Testing$

    F*9$ What is 0eld !alidation in web testingM+ield !alidation is used to ensure that only correct data is entered into the 0eld$ We can

    select !alidation options to ma)e sure that only correct format data can be entered into a0eld correctly$ When !alidation options are selected, we can use the +ile/a)er Pro to

  • 8/9/2019 Web Applications What Type of Tests Are You Going to Do

    21/21

    displays a message when user enter data in incorrectly format$ +or e5ample, you can setan option to re%uire that users enter a !alue in a 0eld$ The 0eld !alidations chec) theformat of the data$ To ensure this we perform the !alidation testing in the website$ @i)ethe email 0eld must contain the data in emailVdomain$com format

    ;12. What is focus testing in website?

    +ocus testing is used to test that when we open a webpage the cursor automatically blin)on the particular 0eld$ @i)e in the case of 4mail login page$ When we open the 4maillogin page the cursor automatically blin)s on the username 0led$ This is the +ocus testingin website$

    F*>$85plain some web testing tools$Some of the webs testing tools are discussed below:

    which is used to create the load test en!ironment and measure performance ofthe application during load test$ It can be used for e5amine the performance of

    static and dynamic website$

    #elenium =Web app testing tool 7:Selenium is a contains se!eral application

    li)e Selenium IB8, Selenium