Results 1 to 3 of 3

Thread: Scenario for using Check point

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    1

    Scenario for using Check point

    What is the purpose of check point? CP is used to compare the expected behaviour with actual behaviour. but In which scenario and where we use Check point?


  2. #2

    Re: Scenario for using Check point

    Check point is used to compare the expected results with the actual result of the functionality.

    Take this scenario for example, a user name text box in the log in window has the following constraints
    - should accept only the names more than 6 characters
    - the starting character should only be alphabet
    - special characters other than - or _ should not be included in the user name

    Here you can introduce check points for all the above mentioned constraints. One check point should check whether the user name is more than 6 characters else returns fail, for the starting character as alphabet and no special characters are allowed other than the one mentioned in the requirement.


  3. #3
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: Scenario for using Check point

    Hi,

    Checkpoints basically are used to compare the actual result or Property of an Object at runtime with that of an already stored Baseline or Expected value.

    We have various types of checkpoints like.
    • Text Checkpoints
    • BitMap checkpoints
    • Database checkpoints
    • XML Checkpoints
    • Standard Checkpoints


    Scenarios Using checkpoints.

    Image BitMap Checkpoint - Incase we are trying to work with a bitmap image located on a webpage. We would have recorded the image co-ordinates or Image location during scripting. While Playback we need to ascertain whether the Image exists at the specified location or whether it actually appears or not.

    Database Checkpoint - A DB Checkpoint is used to check if actual connection to DB is established and whether we are able to retrieve records.

    Text Checkpoint - Incase we wish to verify the text displayed within a specified field or a particular area, we could use Text Checkpoint or TextArea Checkpoint. We could also verify that after a particular operation, whether the field name or label changes.
    You can correlate Text checkpoint to the examples stated by Sridhar.

    We have various other checkpoints. I guess you would be able to arrive at ideas of using them in different scenarios based on the above instances.

    Cheers....


  4.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact