Pages

Saturday 7 March 2015

Testing Concepts

29. What are the tables in test plans?
Test design, scope, test strategies, approach are various details that Test plan document consists of.
Test case identifier
Scope
Features to be tested
Features not to be tested
Test strategy & Test approach
Test deliverables
Responsibilities
Staffing and trainings
Risk and Contingencies.
30. What is the difference between UAT (User Acceptance Testing) and System testing?
System Testing: System testing is finding defects when the system under goes testing as a whole, it is also known as end to end testing. In such type of testing, the application undergoes from beginning till the end.

UAT: User Acceptance Testing (UAT) involves running a product through a series of specific tests which determines whether the product will meet the needs of its users. 

JAVA QUESTIONS

What is use of This keyword and Super Keyword?
THIS:
Here is given the 6 usage of java this keyword.
·        this keyword can be used to refer current class instance variable.
·        this() can be used to invoke current class constructor.
·        this keyword can be used to invoke current class method (implicitly)
·        this can be passed as an argument in the method call.
·        this can be passed as argument in the constructor call.
·        this keyword can also be used to return the current class instance.
SUPER
·        super is used to refer immediate parent class instance variable.
·        super() is used to invoke immediate parent class constructor.
·        super is used to invoke immediate parent class method.


What is Annotation in Servlet?
Annotation represents the metadata. If you use annotation, deployment descriptor (web.xml file) is not required. But you should have tomcat7 as it will not run in the previous versions of tomcat. @WebServlet annotation is used to map the servlet with the specified name.

Friday 6 March 2015

Vmware installation


Ø  Run the Vmware application


Ø  Click the next button to continue
Ø  select  the  installation type you want as below
4)select the path the VMware to be installed
4)select the path the VMware to be installed
Ø  for more performance check in the below box then click continue
Ø   for shortcut in desktop check in the below box  and click continue


Ø   click continue for continue

Ø  Then the process will be processed
 Ø   click the finish buttion finally
Visit:www.sssedu.in

Testing Concepts

27. What is verification and validation?
Verification is a process of evaluating software  at development phase and to decide whether the product of a given  application satisfies the specified requirements. Validation is the process of evaluating software at the end of the development process and to check whether it meets the customer requirements.
28. What are different test levels?
There are four test levels
Unit/component/program/module testing
Integration testing
System testing
Acceptance testing.









Oracle Training in Chennai Auto startup and shutdown of database

Ø  We are going to automatically startup and shutdown oracle database in linux server

In the first picture I didn’t startup any of my database,this can be checked by the below  linux command  “ps  –ef|grep pmon
Ø  Give sid name,ORACLE_HOME path,Y/N  in the “ /etc/oratab file as given in the picture

·         If we give Y the database will be startup automatically when server starts
·         If we give N the database will not be startup when server starts…
Ø  create the file in the “/etc/init.d” path with any name, I created the file with the name of “sssora”(your choice)

·         save  the commands in the  <sssora> file as show In the below picture

·         give the execution permission to that file using  “chmod  +x  sssora”
Ø  after that add the file to the startup and shutdown process of the server using the chkconfig command


                              “chkconfig  --add sssora”
Ø  using the same command add the file to diffent run levels


in the below command I added the sssora file to start the database in the runlevel  3&5 by giving the
command “chkconfig  --level  35 sssora on
Ø  by using the same command we can add the sssora file to shutdown the database at run levels 0&6 when the server shutdowns… 
                      command  “ chkconfig –level 06 sssora off ”
Ø  reboot the server to check the configuration
Ø  see our database is startupped automatically whn the server starts…..


JAVA QUESTIONS

Differencre between ArrayList and Vector List?
·         ArrayList and Vector both having same data structure internally, which is Array
·         Vector is by default synchronized, means at a time only one thread can access its methods from out side, where as ArrayList is non-synchronized means N number of threads can access at a time
·         But we can make ArrayList as synchronized by using Collections class, see it bellow
·         Both Vector and ArrayList  have capability to re-size dynamically, means Vector will Doubles the size of its array when its size increased, but ArrayList increased by Half only
How to Sort a Array List in Java?
import java.util.ArrayList;
import java.util.Collections;

public class SortingArrayList {
     public static void main(String args[]){
        ArrayList<String> al = new ArrayList<String> ();
             al.add("sai");
            al.add("sri");
            al.add("arun");
            al.add("john");
            al.add("babu");
            al.add("athish");
             System.out.println("Printing List before sorting......");
             for(String value: al){
                 System.out.println(value);
             }   Collections.sort(al);
              System.out.println("Printing List after sorting......");
             for(String value: al){
                System.out.println(value);
             }
}

}

Thursday 5 March 2015

Testing Concepts

25. In white box testing what do you verify?
In white box testing following steps are verified.
Verify the security holes in the code
Verify the incomplete or broken paths in the code
Verify the flow of structure according to the document specification
Verify the expected outputs
Verify all conditional loops in the code to check the complete functionality of the application
Verify the line by line coding and cover 100% testing
26. What is the difference between static and dynamic testing?
Static testing: During Static testing method, the code is not executed and it is performed using the software documentation.
Dynamic testing:  To perform this testing the code is required to be in an executable form.