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 ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 :-( |
|
|||
|
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. |
|
||||
|
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
__________________
Bharath Kumar.P Test Engineer Banglore, India |
|
||||
|
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
__________________
Bharath Kumar.P Test Engineer Banglore, India |
|
|||
|
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. |