Cucumber Framework
https://www.youtube.com/watch?v=pD4B839qfos&list=PL_noPv5wmuO_t6yYbPfjwhJFOOcio89tI
Monday, December 4, 2017
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
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
(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.
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
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 Definition. test plan: A document describing the scope, approach, resources and schedule of intended test activities
Is a document describing the testing scope and activities. It is the basis for formally testing anysoftware/
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.
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.
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.
- Functionality
- Reliability
- Usability
- Efficiency
- Maintainability
- Portability
Defect Log Severity Status
Critical |
|
Major |
|
Moderate |
|
Critical |
|
QA, Software Testing, Quality Assurance
10 Linux Commands
ls - show all of the major directoriescd - 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
Tuesday, October 10, 2017
PHP Source Code
- Limit Search Result
- Image Upload in Ajax using PHP
- Sign up with Email Verification
- Betting/Tipster Competition
- School Management(ERP)
- Student Project Allocation and Management System
- Multiple Delete using Checkbox in PHP
- CRUD in PHP with bootstrap Modal
- Login Authentication
- Selecting Row by Category using PHP with JQuery
- Pop-up Notification in PHP using Ajax bootstrap
- Simple Drag and Drop using JQuery
- Simple Search using Ajax/Bootstrap
- CRUD using AJAX/JQuery
- Delete Multiple Rows Using Checkbox in PHP
- Set Up Expiration in PHP
- Simple Adding/Insert Data in PHP
- Simple CRUD with Print using FPDF
Tags:
#System
#PHP
#Programming
#WebApplication
#Web Application
#SourceCode
#Source Code
Subscribe to:
Posts (Atom)