Monday, December 4, 2017

Test Automation Framework Youtube Tut links

Cucumber Framework
https://www.youtube.com/watch?v=pD4B839qfos&list=PL_noPv5wmuO_t6yYbPfjwhJFOOcio89tI

Sunday, November 26, 2017

Selenium WebDriver Eclipse Java Project Setup

Selenium WebDriver Eclipse Java Project Setup

1.Open eclipse
2.Create project
3.Go to seleniumhq.org/download
  3A.Under "Selenium Server(formerly the Selenium RC Server)" header title -> click donwload version
  3B.Under "Selenium Client & WebDriver Language Bindigns" header title -> click Java Download
4.Go to eclipse>File>Folder>Create Folder name "lib"
5.Drag downloaded file "selenium-server-standalone-2.31.0.jar" file to created "lib" folder
6.Drag downloaded file from seleniu-java-2.31.0.zip folder the "selenium-java.2.31.0.jar" file to created lib folder
7.In lib folder select all the two dragged java files and click Build Path>Add to Build Path -> output: java files will be created in Referenced Libraries
8.Go to sourceforge.net/projects/junit/files/junit and click 4.10 folder
 8A.click "junit-4.10.jar"
9.Drag downloaded "junit-4.10.jar" file to created lib folder the build path>add to build path
10.Run test script in Selenium IDE and Export Test Case As.. Java/Unit4/WebDriver then save in created project folder>src in .java file
11.refresh Eclipse and click src then click exported test case.java file
12.in exported test case java file delete package com.example.test; and save

tags:
#selenium #webdriver #automation #TestAutomation

Monday, October 16, 2017

Linux Search Logs File Command


tail -f /var/log/messages [will display 10lines of a file]
tail -50 -f /var/log/messages [will display more than 10 lines]
less /var/log/messages [to search entire log]
less /keyword [to search specific keyword in log file]

grep 'word' filename
grep 'word' file1 file2 file3
grep 'string1 string2'  filename
grep passwordname /etc/passwd

Tags:
#linux, #search, #grep, #less, #tail, #grep

Reference: Click here

Sunday, October 15, 2017

Basic Command Line in Linux


mkdir [make directory]
rm -r diretoryname [remove directory]
mv directory1/sample.txt directory2/sample.txt [to move file in another directory]
cp directory1/sample.txt directory2/ [to copy file in another directory]
rm directory/sample.txt [to delete file in directory]

Create file
cat > sample.txt [to create content file]
type sample text file
another line text.
Ctrl+D [to exit file once done editing]
ls -l sample.txt [to verify edited file]
cat sample.txt [to view file content]
> sample.txt [to create blank content file]
touch sample.txt [to create blank content file]
vi sample.txt [to add text in the file]
Esc then :wq [close vi and save file]



#Tags
#linux, #linuxcommands, #basiclinux, #basiclinuxcommands, #unix

Thursday, October 12, 2017

Software Testing

Regression Testing 
Is a type of software testing which verifies that software which was previously developed and tested still performs the same way after it was changed or interfaced with other software. Changes may include software enhancements, patches, configuration changes.
Regression testing is the process of testing changes to computer programs to make sure that the older programming still works with the new changes. Regression testing is a normal part of the program development process and, in larger companies, is done by code testing specialists.

Integration testing 
(sometimes called integration and testing, abbreviated I&T) is the phase in software testing in which individual software modules are combined and tested as a group. It occurs after unit testing and before validation testing

Software Types of testing

  • Unit Testing
  • Integration Testing
  • Functional Testing
  • System Testing
  • Stress Testing
  • Performance Testing
  • Usability Testing
  • Acceptance Testing
  • Regression Testing
  • Beta Testing  

Agile 
Software development refers to a group of software development methodologies based on iterative development, where requirements and solutions evolve through collaboration between self-organizing cross-functional teams.

Waterfall 
Model is a linear sequential (non-iterative) design approach for software development, in which progress flows in one direction downwards (like a waterfall) through the phases of conception, initiation, analysis, design, construction, testing, deployment and maintenance

Software Test Plan 
Is a document describing the testing scope and activities. It is the basis for formally testing anysoftware/product in a project. ISTQB Definitiontest plan: A document describing the scope, approach, resources and schedule of intended test activities
test cases

Test case 
Is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements or works correctly. The process of developing test cases can also help find problems in the requirements or design of an application.
black/white box testing

Black box testing 
Is the Software testing method which is used to test the software without knowing the internal structure of code or program. 

White box testing 

Is the software testing method in which internal structure is being known to tester who is going to test the software

Software Application 6 Quality Characteristics.

  1. Functionality
  2. Reliability
  3. Usability
  4. Efficiency
  5. Maintainability
  6. Portability
Site Reference: Click Me!

Defect Log Severity Status
Critical
  • Defect results in termination of system or one or more component. The failed function is unusable and there is no acceptable alternative method.
  • Defect causes the business functions to be useless or vulnerable to high business risk
Major
  • Defect results in termination of the system or one or more component. The failed function is unusable but there exists an acceptable alternative method.
Moderate
  • Defect does not result in termination but causes the system to produce incorrect, incomplete or inconsistent results
  • Defect causes the business functions to be useless or vulnerable to high business risk
Critical
  • Defect results in termination of system or one or more component. The failed function is unusable and there is no acceptable alternative method.
  • Defect causes the business functions to be useless or vulnerable to high business risk
Tags:
QA, Software Testing, Quality Assurance 

10 Linux Commands

ls - show all of the major directories
cd - change directories
mv - move file to another directory
man - manuel of inputted commands
mkdir - make new directory
rmdir - remove directory
touch - make file
rm - delete created files
locate - to find a file (locate -i *red*house**city)
clear - to clear commands

Tags
#linux
#commands
#technology
#unix

Reference site: Click Me