Exforsys

Online Training

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 ...


Go Back   Exforsys > Testing > Software Testing

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-25-2006, 02:07 PM
Junior Member
 
Join Date: May 2006
Posts: 1
anjaligupta_28 is on a distinguished road
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 :-(
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-23-2006, 12:56 PM
Junior Member
 
Join Date: Jun 2006
Posts: 2
mlatha is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-18-2006, 05:40 AM
bharathp's Avatar
Member
 
Join Date: May 2006
Location: Banglore,India
Posts: 85
bharathp is on a distinguished road
Send a message via AIM to bharathp
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-18-2006, 05:40 AM
bharathp's Avatar
Member
 
Join Date: May 2006
Location: Banglore,India
Posts: 85
bharathp is on a distinguished road
Send a message via AIM to bharathp
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-18-2006, 05:40 AM
bharathp's Avatar
Member
 
Join Date: May 2006
Location: Banglore,India
Posts: 85
bharathp is on a distinguished road
Send a message via AIM to bharathp
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 09-12-2007, 12:08 PM
Junior Member
 
Join Date: Sep 2007
Location: Mumbai
Posts: 2
shah_meg is on a distinguished road
Send a message via Yahoo to shah_meg
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.