Simple tricks to estimate testing hours with test cases or without test cases. How ?

Hey guys n girls,

I am here again with a new and interesting mind blowing word “Estimate” ๐Ÿ™‚

When somebody in IT sector/software field or any field talks about estimates then they are never real estimates.They are simply assumptions made by more or less experienced persons.

Now let’s come to the topic – It came in my mind when first time my Project manager asked me to estimate the testing hours or my work hours for test case preparation and testing.

Well at that time I was very new so that I thought how can I estimate my effort because in previous company my Project manager really estimates my work like by saying “Man ! you have to do this task in two hours or in three hours ” at that time I had not known how my PM is estimating my effort, has he have any super powers ? ;).

1

But now I really know that those estimates was not just estimates but they are a type of targets for me which is set by my project manager without asking to me :(.

So this time when You have any requirement then I tell you what you should do to write estimates ๐Ÿ™‚

Guys let’s take a simple example if requirement is to test the function of a phone number text box then how you have to judge it for estimation in your mind.

1. You have to consider in air (in your mind) that Phone number is a number box so

Step 1First it will take only numbers

Step 2 Then it can take (brackets) and Step 3 if required then it can take hyphen “- “also

Step 4 Fourth is your text box should be GUI aligned or perfect with GUI.

So all you have is above points are in your mind(may be more than above) so you can easily count above steps which are 4 steps here.

So you will have to estimate that you will have 4 test cases exactly but for your safety take some other conditions or like if you are forgetting something so say your project manager about 6 test cases you will write in above requirement.

2

Now it’s time to count time of above test cases.

Consider you will take time to write each test case – 2 minutes (you can take 3 or 5 minutes if you are lazy like me ;))

Now ย Total 6 test cases time = 6X2 = 12 minutes then approx it to 15 minutes

So tell your PM that you will take 15 minutes to write test cases.

Now the time comes to execute above test cases or if you have readymade test cases then how you will estimate time ???

You don’t have to make lot of effort, here is the simple steps

1. Just count your test cases like in above case you have 6 test cases

2. Again give time for each test case to execute and one more golden rule “Always write word “Average” in front of your estimated time ”ย because it will save you in future if anything bad happened in project :(.

3. Now for 6 test case again average time to execute each one = 3 minutes(depends on your speed and also relation with PM :D)

So for 6 test cases 6X3= 18 minutes so you can say it will take 20 minutes to execute test cases.

Friends wait wait..you are thinking why I am estimating extra so just remember you will not only execute test cases but you will have to take screenshots or write some text for issue if any found(if not found any issue then you can text your girl friend in that time ;):))

So by above steps you can better estimate just forgot those theoretical bla bla bla…methods to estimate.

Thanks for reading friends.

See you in next…. :)(y).

Please like us on facebook for more to connect
https://www.facebook.com/pages/Knowledge-World-For-You/1660665640835573

How to use Badboy tool for Recording Jmeter load testing scripts ?

Hey Friends,

During my work, I found someone saying that this SSL techniques of Jmeter for recording the load testing script is someway hard to understand and apply, so one of my friend suggested me to use Badboy tool, it is free to use.

So How to use Badboy script in Jmeter ?

Here are the steps for beginners and smart people –

1. Install the badboy tool from linkย http://www.badboy.com.au/download.

2. Now open the bad boy tool from your startup menu

badboy1

3. This will open your bad boy tool with a cool boy icon.

badboy2

4. Now you will see an address Bar on the top of the application

badboy3

5. Enter your Application (which you want to test for load or performance) URL in the address bar and Click Green icon or directly press enter button. It will load your URL of application.

badboy4

6. Now a good point for those who are thinking that My application is working on Local IP so is it work for that ? So don’t worry my friends, it will work for those also.

You can check screenshot in above point 4, there I had used an IP address on which my application was running, so dont worry…. ๐Ÿ™‚

7. Now after entering URL of application, you can see that there is a dark red button on the tool bar of this application… Yes you got it right….. ๐Ÿ™‚ Click on that red button.

badboy5

8. Now your script recording is started, now click on the pages or actions which you seems to be performed for load testing like search records, listing pages, data grid.

9.Now export this file to Jmeter by going into File>Export to jmeter

HOW TO LOGIN IN A SITE WITH USERNAME AND PASSWORD USING SELENIUM WEBDRIVER

 

10. Now you can use this .Jmx file into your Jmeter tool and run this.

So this is all about use of badboy to create jmeter script.

You can also see the results in Badboy tool on left hand side of tool by clicking on samples

It will give you graph view etc.

I personally suggests to use Jmeter proxy recording.

Thank you guys n girls. Keep posting your responses…

Thanks for reading….See you in next post. ๐Ÿ™‚

Thank you for your appreciation and donations ๐Ÿ™‚ and if you really feel happy by reading this, then you can help us by donation using donation box or using paypal link https://www.paypal.me/knowledgeworldforyou ๐Ÿ™‚ [Donation box is in the left side bar on our website (http://www.knowledgeworldforyouteam.com/ ) ]. We will be really grateful to you ๐Ÿ™‚ and still we are ๐Ÿ˜‰ .

donation-box

Please visit us and like on social media to encourage us more for writing and sharing with You.
http://www.knowledgeworldforyouteam.com/
https://www.facebook.com/Knowledge-World-For-You-1660665640835573/timeline/
https://twitter.com/you_knowledge