Sunday, September 5, 2010

CrazyEngineers Forum - Computer Science & IT Engineering

CrazyEngineers Forum - Computer Science & IT Engineering


How to write good test cases?

Posted: 04 Sep 2010 11:45 PM PDT

Hello CEans,

Many of the CEans might be the great testing professionals,

I want advice from such experienced testing professionals,, I want to know how to wirte the best test cases, and how to think like a geek tester..how to write more test cases?

In my company training, they asked me to write a test cases for login page.I just wrote 20 test cases.He said,"you can write more than 80 test cases for that",,So I found myself as lagging knowledge in testing field..I'm a beginer in testing.Everybody post your suggestions to improve my knowledge in that, also post some name of books which helps me to gain more knowledge in software engineering

Need help in adding no of buttons in java.

Posted: 04 Sep 2010 09:52 PM PDT

Hello friends,
I have to add no's of buttons in applet.
But i did not able to add this.Check this code.
Quote:

import java.awt.*;
import javax.swing.*;
/*<APPLET CODE="kk.java" HEIGHT=300 WIDTH=400></APPLET>*/
public class kk extends JApplet
{
int i;
public void meth()
{
JButton b[]=new JButton[20];
}
public void init()
{
meth();
setLayout(new FlowLayout());
for(i=0;i<5;i++)
{
add(b[i]);
}
}
}

Problem in C++ program.....

Posted: 04 Sep 2010 08:30 AM PDT

Hey guys i have a doubt in C++....
Here is a program....

#include<iostream.h>
#include<conio.h>
void main()
{
float a=0.7;
cout<<a;
if(a<0.7)
{
cout<<"hello";
getch();
}
}

and the output is "0.7hello"

and here is another program....

#include<iostream.h>
#include<conio.h>
void main()
{
float a=1.7;
cout<<a;
if(a<1.7)
{
cout<<"hello";
getch();
}
}

and the output is "1.7" only.....
Can anyone give me the reason.....

No comments:

Post a Comment