Thursday, November 12, 2015

Selenium Testlink API Integration

Now a days most of the companies are using testlink for test execution

To update testcases automatically throw selenium we can use testlink API



Saturday, November 7, 2015

Manual Testing Interview Questions with answers|| Software testing Interview Questions|| Manual testing interview questions for freshers|| Manual testing interview questions for experienced


1) Why testing is required in software development?


Any software application will have bugs so to ensure application is working as per client requirements testing is required in the software development


2) Why software will have bugs?

Due to strict time lines, complexity of the requirement, lack of domain knowledge



3) What is the difference between web-based application and stand-alone application?

web-based application: we can use web based application in the browser directly, no need to install any softwares.
Internet is required to access web based applications EX: Facebook

stand-alone application: we need to download the software and install it before going to use this application

Ex: winzip


4) What is black-box testing and what are black-box testing techniques?


Without having any knowledge on the source-code(developers coding), testers will test the application based on requirements,
this is called as black-box testing technique

Techniques:

1) Boundary value analysis

2) Equivalence Class Partition

3) Decision table

4) Error guessing




5) What is BVA (boundary value analysis)? Where you have used ?


It is a back-box testing technique used for testcase design ,here we will check for the above below edges of the fields (ex: username field)

for ex: if you consider this requirement username should take 7-9 characters then BVA for this is

max+1= 10 should not accept
min=7 shoud accept
min-1=6 should not accept
max=9 should accept
max-1=8 should accept
min+1=8 should accept

like this we can find out conditions

6)  What is ECP( Equivalence class partition) ?


Equivalence class partition is a black-box  testing technique which will divide the data into valid part and invalid parts means what kind of data should application accept and what kind of data application should not accept
for ex: consider this requirement username should take alphabets only

For above requirement we can write ecp like this

valid : alphabets
invalid: special characters, alphanumerics

7) What is decision table testing ?

It is a black-box testing technique  used for documents complicated scenarios. advantage of decision table is we can cover every condition
click here for more information on this


8) What is defect age in software testing?

It is a time interval between defect found and defect closure

 click here for more information on this

 9) What is smoke testing in software testing?

 After deploying code to testing environments first testers will do smoke test, in this testers will concentrate on the following things.
--> verify all the links (to find broken links)
--> verify critical functionalities(login, important functionalities, logout etc)
 If tester find any bugs while doing smoke testing that will be the high priority issue

10) What is sanity Testing in Software testing?

After smoke test is successful testers will do sanity testing in this testers will concentrate on the following things

--> Verification of all major functionalities
--> Verification of newly implemented features in the current release


11) What is functional Testing?

In Functional testing Testers will test the functionality of the application, so tester will test each and every function of the application, Tester will check basic Usability(UI) of the application 
Functional Testing flow

1) Understanding the business requirements(BRS,TDS)
2) Preparing  Test data
3)  Preparing testcases
4) Execution of testcases
5) comparison of expected results and actual results  
 

12) What is the difference between  Re-Testing and regression Testing?

 Re-Testing: After fixing any bug by developer tester  will test that bug to ensure whether it is working fine or not. In simple word we can say it is a confirmation testing

Regression Testing: Regression testing is to figure out un expected side effects due to latest changes in the code. Some times recent bug fixes will cause to brake the existing functionality which was working fine before so testers will do regression testing to ensure that application is working fine with latest changes in code.


Regression testing tools:
1) selenium
2) QTP
3) Test complete
4) Sahi etc


13) What is Priority ?

It indicates the urgency of fixing bug in terms of client perspective

ex: In application client logo is not displayed. this bug we can consider as high priority but it will not affect the functionality so severity will be low.

14) What is Severity ?

It indicates the urgency of fixing bug in terms of project (functionality perspective)perspective.

15) What is Hot fix?

It is bug raised by the client side and developers needs to fix it immediately , after that testers need to work on testing of this bug as a priority to deliver to client as soon as possible

16) What is Installation Testing?

 In Installation testing testers will install the software based on the provided document and verify the software is installed successfully as per the document or not (This is suitable for stand-alone applications ex: winzip)

17) What is Un-Installation Testing?

 In un-Installation testing testers will un-install the software based on the provided document and verify the software is un-installed successfully as per the document or not (This is suitable for stand-alone applications ex: winzip)

 

18) What are the  Test deliverables?

 

--> Test strategy   

--> Test plan
--> Test Scripts
--> Test summery report
-->  Test case document 

-->  Test scenarios documents
-->  Requirements Traceability matrix(RTM)
--> Bug/issue report
--> Test results 


19) What is show-stopper?

  

If testers not able to move-forward to test the application then it is called as show stopper.
ex: 1. Unable to login to the application
      2. Any major functionality of the application is not working
 Priority, severity of these bugs will be critical.

20) What is Test scenario?

 
Scenario identifies possible areas to be tested , later testcases describes step by step procedure to test that particular area. 1 Test scenario may have one or more testcases 

Must Read following articles

Agile Testing

Decision table in software Testing

V - Model

Friday, November 6, 2015

Locating elements in selenium webdriver

 

1. ID:

Syntax : driver.findElement(By.id("element id"))

2. CLASS:

Syntax: driver.findElement(By.className("element class"))

3. NAME:

syntax: driver.findElement(By.name("element name"))

4. TAGNAME:

syntax: driver.findElement(By.tagName("element html tag name"))

5. CSS Selector:

syntax: driver.findElement(By.cssSelector("css selector"))

6. Link:

syntax: driver.findElement(By.link("link text"))

7. XPath:

syntax: driver.findElement(By.xpath("xpath expression"))


package selenium99;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class Testid {

public static void main(String[] args) {
WebDriver driver = new FirefoxDriver();
driver.manage().window().maximize();
//maximizing browser window
String baseUrl = "http://www.selenium99.com/2015/10/registration-page-for-selenium-practice.html";
driver.get(baseUrl);
driver.findElement(By.id("name")).sendKeys("Naveen");
// Here send keys is used for typing "Naveen" in name field
driver.close();

}
}

Tuesday, November 3, 2015

SEO 3 Years Experience Resume

+91 XXXXXXXX
NAME

Career Objective: 
To work in a critical environment to contribute for the growth of the organization, there by achieving career excellence and to contribute for our global society.


Experience:

I have 3+ experiences in SEO, SMO, link building, Onpage and Offpage optimization technique.

  • 3 years experience as a Search Engine Optimizer (SEO) & Data quality analyst.


Organization:

Girnar software Pvt Ltd, Hyderabad India.

GirnarSoft is a business value focused IT company working on offshore products and outsourced software development. Its emphasis is to create business value for its clients through innovations and their speedy implementations.

Designation : Team lead andSenior Search Engine Optimizer
Duration : 2012 May 28thto Present
Academic profile:
  • Bachelors Degree in Computer Science from Chaitanya bharathi  Engineering College Bhimavaram during the year 2008-2012.
  • Intermediate from Sri chaitanya  College  hyderabad With MPC during the year 2006-2008.
  • SSC from xxx High School xxxcity .  during the year 2006.

Projects :

Selected Client Projects:

  • www.cardekho.com: CarDekho is not just a web portal that lists cars in India, but is a rich automotive platform that brings to its readers to-the-minute insights from around the world

  • www.bikedekho.com: BikeDekho is not just a web portal that lists bikes in India, but is a rich automotive platform that brings to its readers to-the-minute insights from around the world.

  • tyres.cardekho.com : Tyredekho will provide content, reviews and research tools to guide consumers to make the best choice for a tyre purchase. The site hosts tyre listings for all passenger cars and bikes sold in India, Information on tyre brands, products, pricing, features and dealers.


  • trucks.cardekho.com: TrucksDekho is all about making your life easy with everything about planning and buying the giant wheels, the smart way. A brake-free experience to find trucks in your range of utility and benefits - pulled across with a free-flowing interface based on best of research in the domain.

  • www.pricedekho.com: PriceDekho's Online shopping is all about providing the users a convenient experience with maximum information about the products to get best prices.

Technical skill set:


Marketing : Search Engine Optimization SEO - Google, Yahoo, MSN,
Technologies : HTML, CSS, Word press, JavaScript and PHP
Office Productivity : Microsoft Application (MS word, Excel, PowerPoint, Photoshop,
Dreamweaver and Windows live Movie Maker)


Key Responsibilities:

  • Optimization included creating unique title tags, Meta tags (descriptions and keywords), internal navigation (footer text links, content links), Image alt, title tag optimization and optimization of content.

  • Keyword analysis –Expertise with Stat counter Analytics, SEO Tool such as Google Ad words, Google Analytics and Webmaster Tool,

  • Back link analysis of competitors - Quality of back links, quality of pages the links are placed on and Collecting Quality related sites from competitors.

  • Competitive analysis – Viewing top competitor sites for target keywords. Checking optimization techniques applied, analyzing back links and outbound links and strategies used to gain traffic.

  • Analysis report - Website Analysis, Competitive Analysis, Business Analysis, Keyword Analysis, Search Engine Optimization Strategy, Initial Ranking Report


  • Socail media marketing - Knowledge of Social Bookmarking, Social Networking Profiles creations, Social Networking Profile Optimizations, Content, Video Sharing Optimization, Blogging, Blog Optimization.


  • Report status - Search Engine Ranking Reports, Monthly Work status reports (Detailed)

Job Profile Achievements:

  • As a search engine optimizer, I have placed on the #1 page in the major search engines.

  • Experience using website analytics such as Google Analytics, Blogs and Forums that play a key Role in Updating the Knowledge base and Techniques used in Current Scenarios

Highlights:

  • Always maintain good relations with staffs and clients on all levels

  • Self motivated with an inclination towards New Technologies, with Innovative skills and ideas

Personal Profile:
Name : P.Raju
Age : 24yrs
Father’s Name  : P.Satyanarayana
Marital Status : Single
Nationality : Indian
Date of Birth : 18-05-1990
Languages : English, Hindi.
Address : Do no- 11-130, Masjid Center,ra
Anaparthi – 533342
East Godavari (Dt).
Declaration:                      
I xxxxxx, hereby declare that the above-mentioned information is true to the best of my knowledge and belief.


Date: XXNAME




Place: Hyderabad.                                           (Team Lead & Senior SEO Analyst)                   

Monday, November 2, 2015

Verginia car insurance

Progressive car insurance and pioneer insurance are the best cheap car insurance in verginia you can get a quote in https://www.progressive.com

and car.insure.com also provides cheap insurance 

Friday, October 23, 2015

Selenium "assertChecked" and "assertNotChecked" commands with examples

Selenium  "assertChecked" and "assertNotChecked" commands with examples


assertChecked, assertNotChecked commands are very useful to check whether the check-box or radio button is selected or not.Let's discuss both the commands in detail

assertChecked:

This command is used to check whether check-box or radio button is checked or not, If the check-box or radio button is not selected it will show an error message in the Log

How to use this command in selenium Ide

1) Provide assertchecked in the command field
2) Provide check-box or radio button element locator(css,xpath, id ,name etc..)
3) Click on the play button

If the radio button or check box is selected execution  will be passed, if not execution will be failed and show error message in execution log.

assertNotChecked


This command is opposite to the Assertchecked command, If the check-box or radio button is not selected execution will passed , other wise it will failed and shows error in the execution log.

How to use assertNotChecked  command in selenium Ide

1) Provide assertNotchecked in the command field
2) Provide check-box or radio button element locator(css,xpath, id ,name etc..)
3) Click on the play button


Registration Page for Selenium Practice

Sign Up

1Your basic info
2Your profile


Sunday, October 18, 2015

Decision Table in Software Testing


It is black-box testing technique, test engineers will use Decision Table  to document the complicated scenarios, the advantage of decision table is it will cover each and every possible conditions and combinations.

Decision table contains two values
1. Conditions
2. Actions

lets discuss decision table with an example.

 In this example i am taking an email login page example for decision table.



 For login to any email application first we need to enter email and password. 

Building decision table for Email and Password

 In the above table "F" indicates the invalid data and "T" indicates the valid data. For the above scenario we have 4 possible conditions .

4 Test cases for above  example: (here iam writing only testcase title)

1.Verify that user should not able to login to the email application with invalid email and invalid password. 
2.Verify that user should not able to login to the email application with valid email and invalid password.
3. Verify that user should not able to login to the email application with invalid email and valid password. 
4. Verify that user should able to login to the email application with valid email and  valid password. 

In the above testcases first 3 test cases are negative testcases and 4th test case is positive test case.

Lets take some complex example.


In this example i am including blank field also, Total 9 combinations are there in this example.
 9 Testcases:
1.Verify that user should not able to login to the email application with blank email and blank password. 
2.Verify that user should not able to login to the email application with blank email and invalid password.
3.Verify that user should not able to login to the email application with blank email and valid password.
4.Verify that user should not able to login to the email application with invalid email and blank password. 
5.Verify that user should not able to login to the email application with invalid email and invalid password. 
6.Verify that user should not able to login to the email application with invalid email and valid password. 
7.Verify that user should not able to login to the email application with valid email and blank password. 
8.Verify that user should not able to login to the email application with valid email and invalid password.  
9.Verify that user should able to login to the email application with valid email and valid password.

In the above test cases First 8 are the negative testcases and 9th test case is positive test case

Tags:

decision table testing example, decision table testing example+istqb, decision table testing,technique+examples,decision table testing simple example, decision table testing questions,decision table testing ppt, decision table testing wiki

Saturday, October 17, 2015

Database Testing Interview Questions

1) Write a Query to display maximum salary of an employee from the below table
Table name: employee 


EmpID Empname Salary
101 Naveen 30000
102 Saidesh 32400
103 Eshwar 26300
105 leeladhar 86345
106 vijeth 10000
Ans:
syntax: SELECT MAX(column_name) FROM table_name;

Query: SELECT MAX(Salary) FROM employee;
output: 86345

2) Write a Query to update the salary of an employee with 59000 for empid 106

Table name: employee 

EmpID Empname Salary
101 Naveen 30000
102 Saidesh 32400
103 Eshwar 26300
105 leeladhar 86345
106 vijeth 10000

Ans: 
Syntax:UPDATE <tablename> SET <column=value>
WHERE <somecolumn=somevalue>;


Query: UPDATE employee SET Salary=59000 where Empid=106;
output:
EmpID Empname Salary
101 Naveen 30000
102 Saidesh 32400
103 Eshwar 26300
105 leeladhar 86345
106 vijeth 59000

 

Wednesday, October 14, 2015

Security Testing in Software Testing

It is a non functional testing , Testers will use the following techniques while doing security testing

  1. SQL Injection
  2. Cross site scripting
  3. URL Manipulation
  4. CRLF Injection
  5. Password cracking
  6. Session Hijacking

Saturday, October 10, 2015

ISTQB Latest Dumps

Now a days most of the organizations are conducting a written test for manual testing for freshers and experienced as well.These Questions are very useful for manual testing written test and ISTQB /ASTQB foundation level exam.

ABOUT ISTQB/ASTQB Foundation level exam


  1. ISTQB Foundation level exam consists of 40 multiple-choice questions
  2.  1 Mark for each question
  3.  No negative marks
  4.  Pass marks is 26 (65% and above)
  5.  Duration of exam : 60 minutes or 75 min(for candidates taking exams that are not in their native or local language)


Test  Questions Take Test
ISTQB Test 1 10 Start Test
ISTQB Test 2 10 Start Test
ISTQB Test 3 10 Start Test

ISTQB QUIZ 3


1. Evaluating testability of the requirements and system are a part of which phase
Test Analysis and Design
Test Planning and control
Test Implementation and execution
Evaluating exit criteria and reporting

2. Repeated Testing of an already tested program, after modification, to discover any defects introduced or uncovered as a result of the changes in the software being tested or in another related or unrelated software component
ReTesting
Confirmation Testing
Regression Testing
Negative Testing


3. Impact Analysis helps to decide
How much regression testing should be done
Exit Criteria
How many more test cases need to written
Different Tools to perform Regression Testing


4. Functional system testing is
testing that the system functions with other systems
testing that the components that comprise the system function together
testing the end to end functionality of the system as a whole
testing the system performs functions within specified response times


5. Peer Reviews are also called as
Inspection
Walkthrough
Technical Review
Formal Review

6. The Kick Off phase of a formal review includes the following
Explaining the objective
Fixing defects found typically done by author
Follow up
Individual Meeting preparations


7. Which of the following is not phase of the Fundamental Test Process?
Test Planning and Control
Test implementation and Execution
Requirement Analysis
Evaluating Exit criteria and reporting


8. Which of the following techniques is NOT a black box technique?
State transition testing
LCSAJ (Linear Code Sequence and Jump)
syntax testing
boundary value analysis


9. Success Factors for a review include :
 i. Each Review does not have a predefined objective 
ii. Defects found are welcomed and expressed objectively 
 iii. Management supports a good review process.
 iv. There is an emphasis on learning and process improvement
ii,iii,iv are correct and i is incorrect
iii , i , iv is correct and ii is incorrect
i , iii , iv , ii is incorrect
ii is correct


10. Test Conditions are derived from
Specifications
Test Cases
Test Data
Test Design


Score =
Correct answers:










ISTQB QUIZ 2

1. During the software development process, at what point can the test process start ?
When the design is complete.
When the code is complete.
When the software requirements have been approved.
When the first code module is ready for unit testing
2. In a review meeting a moderator is a person who
Takes minutes of the meeting
Mediates between people
Takes telephone calls
Writes the documents to be reviewed
3. Given the Following program
IF X < Y
THEN Statement 1;
ELSE IF Y >= Z
THEN Statement 2;
END McCabe™ Cyclomatic Complexity is
2
3
5
1
4. How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other : - if (Condition 1) then statement 1 else statement 2 fi if (Condition 2) then statement 3 fi
2 Test Cases
3 Test Cases
4 Test Cases
Not achievable
5. Acceptance test cases are based on what?
Requirements
Design
Code
Decision table
6. How much testing is enough ?
This question is impossible to answer
This question is easy to answer
The answer depends on the risk for your industry, contract and special requirements
This answer depends on the maturity of your developers
7. A common test technique during component test is:
Statement and branch testing
Usability testing
Security testing
Performance testing
8. Independent Verification & Validation is:
Done by the Developer
Done by the Test Engineers
Done By Management
Done by an Entity Outside the Projects sphere of influence
9. Code Coverage is used as a measure of what ?
Defects
Trends analysis
Test Effectiveness
Time Spent Testing
10. Which of the following uses Impact Analysis most?
Component testing
Non-functional system testing
User acceptance testing
Maintenance testing
Score =
Correct answers:

Thursday, October 8, 2015

V Model (Verification and Validation model)

V - Model means verification and validation model . Each phase should be completed before starting the next phase, In this model testing will be done parallel with the corresponding phase of development


Why V model is in "V" shape ?

Validation phase completely depends on the verification phase (Acceptance testing completely depends on BRS, System testing  depends on SRS, Integration testing depends on HLDS, Unit testing depends on LLDS) so we can draw only this diagram in V shape
Verification phase should be carried out from SDLC(software development life cycle) and validation phase should be carried out  from STLC.

V Model starts from the Requirement gathering , Business analyst(BA) gathers all the requirements from the client and prepare BRS(Business Requirements Specification) document. BA will review that document after completion of the requirements gathering, System Analyst will prepare the SRS(System Requirements Specification) based on the BRS, and SA will review that document after completing that document.
Technical architect (TA) will prepare HLDS(High level designs) based on SRS and  TA will review that document after completing that document, Developers will prepare LLDS(Low Level Designs)

and developers will review that LLDS, After that developers will start coding and they will do unit testing with the help of LLDS, after that they will do integration testing with the help of HLDS, after that Testing team will test the application with the help of SRS.
Acceptance testing will be done based on BRS.

Advantages:
--> For  small projects V model is very useful
--> Review activities are performed in each and every stage(ex: BRS, SRS, HLDS, LLDS...etc)
---> Most of the bugs are found early in life cycle.