Exforsys
+ Reply to Thread
Results 1 to 6 of 6

expected and actual result

This is a discussion on expected and actual result within the Software Testing forums, part of the Testing category; Hi all, I just started learning winrunner. How does winrunner know about expected result and then pass/fail test. whatever is ...

  1. #1
    anjaligupta_28 is offline Junior Member Array
    Join Date
    May 2006
    Answers
    1

    expected and actual result

    Hi all,
    I just started learning winrunner.
    How does winrunner know about expected result and then pass/fail test.
    whatever is object/window/bitmap property(s),does it take it as a expected result. and then compare with actual.
    Please reply me..
    anjali :-(


  2. #2
    mlatha is offline Junior Member Array
    Join Date
    Jun 2006
    Answers
    2

    how WR recognizes expected results?

    [FONT="Century Gothic"][/FONT]


    hi
    Whenever u select GUI OBJ/WIN checkpoint it captures the whatever present in the application as expected and as well as actual.

    Ex:
    suppose the cusomer gave the requirement as the Student Name in the application should be "Mythri".
    But while developing the application by mistake development team put it as "Mythi".
    the same application came to testing team ,they had customer requirements with them.
    Then they put GUI Checkpoint for Object/Window and they captures the name in the application.ie.Mythi.
    There it will give an option as Expected Value:Then the testing team provides "Mythri"which is exact expected value of customer.If run the test the test fails.Then the testing team will send a defect report to development team mentioning that.


  3. #3
    bharathp is offline Member Array
    Join Date
    May 2006
    Location
    Banglore,India
    Answers
    83
    HI
    In winrunner whenever u insert a check point it captures the values stores the values as the expected in exp folder
    After inserting the check point while executing the same script it will compares the actual result with expected if there is any mismatch in the actual value it shows the results as fail
    For example:
    u inserted a bitmapcheck point and captured a Signature as :Bharath
    So it stores the the signature Bharath as expected result in Exp folder
    Then u modified the signature to Bharath.P
    While executing the same script on modified the signature with one or more letter in verify mode it compares actual result with the expected one
    And it founds the difference and results the test as fail as there is a mismatch between actual and expected result
    Gives the result as
    Expected:Bharath
    Actual:Bharath.P
    Difference: .P


  4. #4
    bharathp is offline Member Array
    Join Date
    May 2006
    Location
    Banglore,India
    Answers
    83
    HI
    In winrunner whenever u insert a check point it captures the values stores the values as the expected in exp folder
    After inserting the check point while executing the same script it will compares the actual result with expected if there is any mismatch in the actual value it shows the results as fail
    For example:
    u inserted a bitmapcheck point and captured a Signature as :Bharath
    So it stores the the signature Bharath as expected result in Exp folder
    Then u modified the signature to Bharath.P
    While executing the same script on modified the signature with one or more letter in verify mode it compares actual result with the expected one
    And it founds the difference and results the test as fail as there is a mismatch between actual and expected result
    Gives the result as
    Expected:Bharath
    Actual:Bharath.P
    Difference: .P


  5. #5
    bharathp is offline Member Array
    Join Date
    May 2006
    Location
    Banglore,India
    Answers
    83
    HI
    In winrunner whenever u insert a check point it captures the values stores the values as the expected in exp folder
    After inserting the check point while executing the same script it will compares the actual result with expected if there is any mismatch in the actual value it shows the results as fail
    For example:
    u inserted a bitmapcheck point and captured a Signature as :Bharath
    So it stores the the signature Bharath as expected result in Exp folder
    Then u modified the signature to Bharath.P
    While executing the same script on modified the signature with one or more letter in verify mode it compares actual result with the expected one
    And it founds the difference and results the test as fail as there is a mismatch between actual and expected result
    Gives the result as
    Expected:Bharath
    Actual:Bharath.P
    Difference: .P


  6. #6
    shah_meg is offline Junior Member Array
    Join Date
    Sep 2007
    Location
    Mumbai
    Answers
    2
    Yes whatever is the current state when you record a test is the expected and then when you run it again it may be after a day or after a month whatever is the scene at that time it will compare the actaul result that it gets at that time with the results that you have stored while recording.

    Thus exepected result is the reslt when you are recording.
    Actual is the result that ou are getting when you run the test.

    If not then then something is broken after you recorded and hence it is a fail.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...