Pages

Friday, 2 October 2015

Selenium and Manual Testing

Selenium and Manual Testing

Home Page

If you think in terms of a year, plant a seed; 
if in terms of ten years, plant trees; 
if in terms of 100 years, teach the people.


H-1B visas to go cheaper

H-1B visas to go cheaper as 'discriminatory' outsourcing fee lapses

HIGHLIGHTS
$2,000 H-1B fee mostly imposed Indian IT firms has now lapsed in a Republican-majority US Congress
Indian firms had described the fee on highly-qualified IT pros coming to the US on H-1B visa as "discriminatory"
The Congress can still come up with a legislation to reinstall the fee
Legislation with regard to a $2,000 fee on H-1B visas for companies having more than 50% of its employees oversees was adopted by the US Congress in 2010.Legislation with regard to a $2,000 fee on H-1B visas for companies having more than 50% of its employees over... Read More
WASHINGTON: In a breather for Indian IT firms, the "discriminatory" $2,000 H-1B fee mostly imposed on them has now lapsed in a Republican-majority US Congress.
The charges, often called outsourcing fee, had forced Indian IT companies in the last few years to pay millions of dollars towards protecting the US-Mexican border from illegal immigration.
Indian firms had described the fee on highly-qualified IT professionals coming to the US on a H-1B visa as "discriminatory."
The legislation with regard to a $2,000 fee on H-1B visas for companies having more than 50% of its employees oversees was adopted by the US Congress in 2010 mainly at the instance of a group of lawmakers led by Senator Charles Schumer.
Passed on August 10, the law contains provision to hike H-1B and L-1 Visa fee per application by $2,000 and $2,250 respectively for qualifying firm; which mainly targeted Indian IT companies.
The duration of law was extended from four to five years under James Zadroga 9/11 Health and Compensation Act of 2010 to provide healthcare and financial compensation for the firefighters and other 'First Responders' who helped out in the aftermath of the 9/11 attack.
In a report released last month, NASSCOM said Indian tech industry contributed an estimated over $375 million during this period to the US Treasury including helping America secure its borders.
In a recent interview, NASSCOM president R Chandrashekhar described the fee as unjustified.
"It had nothing to do with the IT industry. It was applied in an inequitable way, which specifically targeted Indian companies," he said, adding that he would welcome any move to eliminate the fee.
The Congress can still come up with a legislation to reinstall the discriminatory H-1B fee, which lapsed yesterday night, Congressional sources said.

However, Institute of Electrical and Electronics Engineers (IEEE-USA) in a statement criticised the US Congress for the lapse of the H-1B fee.

TOP 10 IT Companies in India

TOP 10 IT Companies in India


India's growing market size
Information Technology in India is expanding its wings day by day the policy of Indian government to encourage the investment in India is so fruitful that the information technology sector in India is generating 2.5 million direct employments.

India’s technology and BPM sector (including hardware) is estimated to have generated US$ 146 billion in revenue during FY15 compared to US$ 118 billion in FY14, implying a growth rate of 23.72 per cent
The contribution of the IT sector to India’s GDP rose to approximately 9.5 per cent in FY15 from 1.2 per cent in FY98
The top six firms contribute around 36 per cent to the total industry revenue, indicating the market is fairly competitive, with TCS being the leader accounting for about 10.1 per cent

Now our focus is on future how these companies will actually perform in the future scenario Like who will be the top ten companies to knock the doors of Indian economy like a blast .

Due to these it company Indian jobs seeking & unemployment is much more fill-up.Most of the city are known due to these it hub like
Bangalore is known as the Silicon Valley of India and IT Capital of India.
Hyderabad is known as HITEC City or Cyberabad
Chennai is the third largest exporter of IT and ITES of India.
The National Capital Region comprising Delhi, Gurgaon and Noida are clusters of software development.
Major Indian and International Firms present in Pune and is one of the biggest global IT services & outsourcing exporter of India

1. TCS - Tata Consultancy Services

Revenue: Rs. 64672.93 Crore
Net Profit: Rs. 18474.92 Crore
Market Capitalisation: Rs. 487919.14 Crore

Tata Consultancy Services, founded in the year 1968 is headquartered in Mumbai, India.
Home to more than three lakh people TCS is placed among the most valuable ‘Big4’ IT Service brand Worldwide. It has been the face of Indian IT Industry. TCS provides umbrella of services to its customer some of which are Performance Management, Business Process Service, Consulting, Enterprise Solutions, iON Small and Medium Enterprise, IT Services. TCS BaNCS, TCS MasterCraft, TCS Technology Products are some of its well-known software. TCS, leading the way for Indian IT firms has also made in the Top 100 Brand Finance List in the USA. In the recent accolades TCS was ranked number 1 IT Service provider for Manufacturing in Europe, Middle East and Africa by International Corporation in 2014.

2.Infosys

Infosys, founded in the year 1981 has been headquartered in Bengaluru, India.


Revenue: Rs. 44341 Crore
Net Profit: Rs. 10194 Crore
Market Capitalisation: Rs. 221528.83 Crore
It is a home to more than 175000 people with many famous Indian personalities coming from its structure like Mr. Narayan Murthy, Nandan Nilekani to name a few. It is a major powerhouse that operates into business consulting, information technology, software engineering and outsourcing services. Presently headed by Vishal Sikka, Infosys has signed an MOU with local Chinese provincial to open first overseas campus in China. Infosys has nearly 890 clients across 50 countries according to latest data known till 31st March, 2014. It can boost of world’s largest corporate university in Mysore. It get ranked constantly in the world’s top 20 most innovative companies list brought out by Forbes and green companies ranking by Newsweek.

3.Wipro
Wipro, founded in 1945 entered into the IT domain in the year 1980 and since then has become one of the biggest IT Company in the world.

Revenue: Rs. 38757.2 Crore
Net Profit: Rs. 7387.4 Crore
Market Capitalisation: Rs. 132380.73 Crore
Headquartered in Bengaluru, India it is headed by Azim Premji, It was the first software company to get SEI CMMI Level 5 back in 2002. It has been accredited with many first in IT Industry like introducing Lean Management in Service Industry. Home to more than 1 lakh 50 thousand people, Wipro Technologies Applying Thoughts has lead it to be one of the most preferred IT vendors. Cognitive Systems, Smart Devices, Man-machine Interface are few of the future drivers it has been focusing on. Wipro has been selected by DJSI as World Member for the fifth consecutive year and is also recognised with prestigious Golden peacock Award 2014 in the category of ‘Innovative product/Service’ for Wipro’s Assure Health Solutions.

4.HCL Technologies
HCL Technologies, founded in the year in 1976 by Mr. Shiv Nadar is headquartered in Noida, India.

Revenue: Rs. 16497.37 Crore
Net Profit: Rs. 5984.62 Crore
Market Capitalisation: Rs. 129933.28 Crore
HCL has offices in around 35 countries globally and is home to hundred thousand people. Various business lines in which HCL has its presence are Business Services, Custom Application Services, Engineering R&D, Enterprise Transformation Services and IT Infrastructure Management Services. As part of their growth strategy they have alliances with nearly 100 companies in various technological areas which act as a mutual beneficial experience. Their global strategic alliances covers 360 degree relationships across multiple geographies and industry verticals. It has been rated as a leader in IDC SAP Marketplace, Cloud Services Marketplace.

5.Tech Mahindra
Tech Mahindra, founded in the year 1986 is headquartered in Pune, India.

Revenue: Rs. 16295.1 Crore
Net Profit: Rs. 2685.5 Crore
Market Capitalisation: Rs. 58621.88 Crore
It is home to nearly 98000 people and has its presence across 51 countries with CP Gurnani as its Present CEO. It is SEI CMMi Level 5.OrderFix, mEMS, Socio, Tecnico, OrderVu are various platforms which Tech Mahindra expertise into. Solutions and Services Provided by Tech Mahindra includes Consulting, Enterprise Business Solutions, Mobility and Integrated Engineering Solutions, Product Life Cycle Management. With Anand Mahindra as it Chairman, the company is under a safe and ethical business person who shall leave no stone unturned to take the companies to more glorious heights. It is recipient of various awards with the important ones being Golden Peacock Award, Leader in Excellence in IT etc.

6.Oracle Financial Services
Oracle Financial Services, founded in the year 1990 is headquartered in Mumbai, India.

Revenue: Rs. 3159.47 Crore
Net Profit: Rs. 1148.36 Crore
Market Capitalisation: Rs. 29538.11 Crore
It is said to be a subsidiary of Oracle Corporation with focus being as an IT solution provider to the Banking Industry. Its present CEO is Mr. Chaitanya M Kamat and the company is home to nearly nine thousand employees. It is present in nearly 145 countries. Oracle Financial Services has various business products such as Oracle FLEXCUBE universal Banking Suites, Oracle Financial Services Analytical Applications for Customer Insight, Infrastructure, Enterprise Risk Management, Financial Crime and Compliance Management and Financial Services Data Warehouses. It also won the Fraud and Financial Crime Software Provider of the year-2014.


7.Mindtree
Mindtree, founded in the year 1999 by ten IT professionals is headquartered in Bengaluru, India. Its present CEO is Krishnakumar Natarajan.

Revenue: Rs. 3031.6 Crore
Net Profit: Rs. 451.2 Crore
Market Capitalisation: Rs. 11148.64 Crore
Its employee stands at around 14000 employees. It has presence in eight countries apart from India. Application Development and Maintenance, Data Analytics, Digital Services, EAI BPM, Engineering R&D, Enterprise Application Services, Independent Testing, Infrastructure Management Services are few of the services it expertise into with industries like Banking and Capital markets, Consumer Devices and Electronics, Manufacturing, Insurance, Media & Entertainment, Retail being its major focus. Mindtree was named a leader in Zinnov’s Global R&D Services Provider Ratings for the third year in a row.

8.Mphasis
Mphasis, incorporated in the year 2000 is headquartered in Bengaluru, India.

Revenue: Rs. 1328.97 Crore
Net Profit: Rs. 223.08 Crore
Market Capitalisation: Rs. 8132.48 Crore
Balu Ganesh Ayer is the present CEO of the company which homes to around 48000 people. It has its presence in tier II cities in India such as Vadodara, Indore, Bhubaneswar, Pune etc apart from being present in metros such as Chennai and Mumbai. It also has more than 30 office globally in 19 countries with Hewlett Packard being its largest client. The Industries it expertise in involves Banking and Capital Markets, Insurance and enterprises such as Energy, Healthcare, Hospitality, Life Sciences, Manufacturing, Media & Entertainment, Telecom and Government. With its Solutions such as Billing as a Service, Digital Customer Experience, NextAngles, Protecht Mphasis is making good stride in the field of technology. Its recent award involve being recognised in 2015 Innovation and Excellence Award for Global Technological Solution Services by Corporate Liveware.

9.Rolta
Rolta, founded in the year 1989 by Mr. Kamal K Singh is headquartered in Mumbai, India.

Revenue: Rs. 1142.89 Crore
Net Profit: Rs. 459.39 Crore
Market Capitalisation: Rs. 1786.72 Crore
It is home to nearly 5000 employees and boosts of a very high profit margin as compared to its competitors. It has executed projects in more than forty countries and expertise in industrial verticals such as Utilities, Process, Transportation, Banking and Insurance, Power etc. Their growth strategy is a balanced focus on organic growth, joints ventures and acquisitions and believe in being an end to end solution provider. The company has a huge list of accolades with the major ones being the SAP Pinnacle award 2014, Oracle ‘Titan’ and Partner Excellence, and Municipalika 2014 Award for best range of municipal Solutions. Some of the solutions they expertise into are BI and Big Data Analytics, Cloud, Geo Spatial Solutions, e-governance, safety and security.

10.Cyient
Cyient, previously known as Infotech Enterprises, was founded by Mr. B.V.R. Mohan Reddy in the year 1991 and is headquartered in Hyderabad, India.

Revenue: Rs. 1224.49 Crore
Net Profit: Rs. 254.91 Crore
Market Capitalisation: Rs. 5725.92 Crore
It is home to more than 12000 employee and has it presence in nearly twenty countries with 38 offices globally. The company generally acquires other companies as part of its growth strategy with Rangsons Electronics being its latest acquisition in 2015. The company expertise in Outsourcing activities and has clients from diverse Industries such as aerospace & defense, consumer, energy, transportation, communications, navigation, off-highway, oil and gas, mining, medical etc. The company has been recently awarded with ICSI National Award for Excellence in Corporate Governance 2014.











2015 India's Top 25 Companies to Work For

2015 India's Top 25 Companies to Work For


1. RMSI Pvt. Ltd.
842 employees
www.rmsi.com
Industry: Information Technology

2. Google India Pvt. Ltd.
1678 employees
www.google.co.in
Industry: Information Technology | Software

3. Marriott Hotels India Pvt. Ltd.
6,500 employees
www.marriott.com
Industry: Hospitality | Hotel/Resort

4. American Express India
9,036 employees
www.americanexpress.com
Industry: Financial Services & Insurance | Banking/Credit Services

5. SAP Labs India
4,844 employees
www.sap.com
Industry: Information Technology

6. Godrej Consumer Products Ltd.
2,228 employees
www.godrejcp.com
Industry: Manufacturing & Production | Fast-Moving Consumer Goods

7. Intuit Technology Services Pvt. Ltd.
806 employees
www.intuit.com
Industry: Information Technology | Software

8. Accor Hotels India
3,690 employees
www.accor.com
Industry: Hospitality

9. Forbes Marshall Pvt. Ltd.
1,417 employees
www.forbesmarshall.com
Industry: Manufacturing & Production

10. Lifestyle International Pvt. Ltd.
10,820 employees
www.lifestylestores.com
Industry: Retail | Clothing

11. DHL Express (India) Pvt. Ltd.
2,000 employees
www.dhl.co.in
Industry: Transportation | Package Transport

12. Hyatt Hotels & Resorts
6,133 employees
www.hyatt.com
Industry: Hospitality

13. Lupin Ltd.
13,926 employees
www.lupinworld.com
Industry: Biotechnology & Pharmaceuticals

14. Federal Express Corporation
5,303 employees
www.fedex.com
Industry: Transportation | Package Transport

15. Teleperformance India
3,943 employees
Www.teleperformance.com
Industry: Information Technology

16. Bajaj Finance Ltd.
3,109 employees
www.bajajfinservlending.com
Industry: Financial Services & Insurance

17. InterGlobe Enterprises
11,337 employees
www.interglobe.com
Industry: Transportation

18. Radio City 91.1 FM
377 employees
www.planetradiocity.com
Industry: Media | Radio

19. Pitney Bowes Software India
547 employees
www.pitneybowes.co.in
Industry: Information Technology | Software

20. Microsoft Corporation India Pvt. Ltd.
6,931 employees
www.microsoft.com
Industry: Information Technology
Ownership: Publicly quoted

21. Adobe Systems India Pvt. Ltd.
3,133 employees
www.adobe.com
Industry: Information Technology | Software

22. NetApp India Pvt. Ltd.
1,835 employees
www.netapp.com
Industry: Information Technology | Storage/Data Management

23. Silver Spark Apparel Ltd.
5,173 employees
raymondindia.com
Industry: Manufacturing & Production | Garmenting

24. Ujjivan Financial Services Pvt. Ltd.
6,547 employees
www.ujjivan.com
Industry: Financial Services & Insurance

25. Mahindra & Mahindra Automotive & Farm Equipment Sectors
11,133 employees
www.mahindra.com
Industry: Manufacturing & Production | Automotive


Wednesday, 30 September 2015

New on Facebook

New on Facebook: Looping video profiles, temporary pictures, larger images

Coming soon to Facebook: Big changes to profiles

Some of the new features are:
  • Instead of a static photograph now users can upload a short, looping video clip that plays when people visit their profile on Facebook.
  • Users will also be able to temporarily change their profile picture while on vacation or for a major event and have it change back at a specified time.
  • Facebook is giving users new controls over what people can see when visiting their profile.
"We're making it easier for you to see what others can view by introducing a new customizable space at the top of your profile. You can curate this space— and convey what you want people to know about you— by changing the visibility of the fields that show up here," Facebook said. "You can also fill out the new, one-line 'Bio' field: select certain public About fields like work and education details to appear there; and even visually highlight what’s important to you by choosing up to five Featured Photos to be showcased at the top of your profile. While this space is visible to anyone who visits your profile, you have full control of what information appears here."

The giant social network is rolling out the features to a small number of users on iOS in California and the United Kingdom before introducing the changes more broadly. The reason Facebook is focusing on profiles: It says people visit them four billion times a day.

Among other changes: Facebook is also making profile pictures and videos bigger and more prominent.


"We believe these improvements to profile will give people more ways to connect and share with each other, and express themselves in meaningful ways," the company said.

Inheritance: Tutorials For Selenium WebDriver

Inheritance : Tutorials For Selenium WebDriver

What Is Inheritance In Java?

Inheritance is one of the feature of Object-Oriented Programming (OOPs). Inheritance allows a class to use the properties and methods of another class. In other words, the derived class inherits the states and behaviors from the base class. The derived class is also called subclass and the base class is also known as super-class. The derived class can add its own additional variables and methods. These additional variable and methods differentiates the derived class from the base class.

Inheritance(parent-child) Is very useful concept of java object oriented programming language by which we can reuse the code of parent class. Inheritance Is providing us a mechanism by which we can inherit the properties of parent class In to child class. Example : Audi class Is child class of Car class then Audi class can access/use all the non private properties (methods, variables..etc) of Car class. Using Inheritance, we can reuse the code of parent class In to child class so that size of code will decrease. Maintenance of code will be also very easy.

Inheritance is a compile-time mechanism. A super-class can have any number of subclasses. But a subclass can have only one superclass. This is because Java does not support multiple inheritance.

VIEW EXAMPLE OF USING INHERITANCE IN SELENIUM WEBDRIVER

extends keyword Is used to Inherit child class from parent class. Let me show you very simple example of Inheritance In java. In this example, Car class Is parent class of Audi class so all the non private properties of Car class are Inherited and able to use In Audi class.

Parent Class
public class Car {//Car Class Is Parent Class Of Audi Class
private String type="Vehicle";
public static int wheels = 4;
public String color = "blue";
String fuel = "Petrol";
public String getfuel(){
return fuel;
}
protected void Seats(){
int seat = 4;
System.out.println("Car Seats = "+seat);
}
}

Child Class or Sub Class

public class Audi extends Car{//Audi Is child Class Of Car Class.
public int speed=150;
public static void main(String[] args) {
Audi A = new Audi();
A.printdetails();
//Can access instance variable of parent class using object reference of child class Inside static methods.
System.out.println("Color Of Audi = "+A.color);
//Can access non static method of parent class using object reference of child class Inside static methods.
System.out.println("Fuel Of Audi = "+A.getfuel());
}
public void printdetails(){
//Can access class variables of parent class directly Inside child class non static methods.
System.out.println("Wheels Of Audi = "+wheels);
System.out.println("Speed Of Audi = "+speed);
//Can access non static methods of parent class directly Inside child class non static methods.
Seats();
//Can not access private variable of parent class In child class.
//System.out.println("Wheels Of Audi = "+type);
}
}

Output of above example will looks like bellow.
Wheels Of Audi = 4
Speed Of Audi = 150
Car Seats = 4
Color Of Audi = blue
Fuel Of Audi = Petrol

Overriding

In sub class, When you create a method with same signature, return types and arguments of parent class's method then that sub class's method Is known as overridden method and It Is called as overriding In java. Overriding Is useful to change to the behavior of parent class methods. Let me show you simple example of method overriding In java.

Note : Method overriding is different than method overloading. VIEW POST on method overloading.

Consider same above given example. Generally all cars have 4 seats so we have created Seats() method with 4 seat variable. But supposing ford car has 6 seats and I wants to print 6 seats for Ford car. In this case we can use method overriding In Ford class as bellow. For this example, Consider Car class of above example as parent class of Ford class. Here method Seats() Is overridden In sub class.
public class Ford extends Car{//Ford Is child Class Of Car Class.

public static void main(String[] args) {
Car C = new Ford();//Created Ford Class object with Car Class reference.
C.Seats();
}
//Parent class method Seats Is overridden In child class.
protected void Seats(){
int seat = 6;
System.out.println("Audi Seats = "+seat);
}

}

Output of above example will looks like bellow.
Audi Seats = 6


Tuesday, 29 September 2015

Setup and Configuration for Selenium Webdriver With Eclipse and Java

Setup and Configuration for Selenium Webdriver With Eclipse and Java

Introduction
In this tip, we will learn how to setup and configure Selenium Webdriver using Eclipse IDE and Java & run your first test script.

Step 1

In the first step, download and install JDK (Java Development Kit) in your system.

For downloading Java, you need to visit the following link:

  • http://www.oracle.com/technetwork/java/javase/downloads/index.html
Install_JDK
















Step 2

In the second step, download and install Eclipse from the link below:

  • http://www.eclipse.org/downloads/
Eclipse_IDE



Step 3

Download the Selenium Java Client Driver from:

  • http://docs.seleniumhq.org/download/
Java_Client_Driver


Click on the download link for Java language, you will get a ZIP file named “selenium-2.43.0.zip”. Then extract the contents of this ZIP file on any location say “D:\selenium-2.43.0\”. The unzipped folder contains the ‘libs’ folder, 2 jar files and Change Log.

Step 4

Configure Eclipse to work with Webdriver:

  • Double click on ‘Eclipse.exe’ to launch eclipse
  • When asked to select for a workspace, just accept the default location. Or, you can change the location.
Launch_Eclipse



  • Create a new project through File ? New ? Java Project. Name the project as “MyProject”.
  • Right-click on the newly created project and select New > Package, and name that package as “MyPackage”.
  • Create a new Java class under MyPackage by right-clicking on it and then selecting New > Class, and then name it as “MyClass”. Your Eclipse IDE should look like the image below:
New_Project



Step 5

Add Jar Files to the Library:

  • Right-click on MyProject and select “Build Path” and then “Configure Build Path”.
Build_Path


  • This will open the Libraries tab in Properties dialog. Then on click “Add External JARs...”


Add_Jar_Files

  • Navigate to D:\selenium-2.43.0\ (or any other location where you saved the extracted contents of “selenium-2.43.0.zip”).
  • Add all the JAR files inside and outside the “libs” folder.
These are the Jar files present outside the Libs folder:

Lib_Outside

These are the Jar files present inside the Libs folder:


  • Then your Properties dialog should look similar to the image below:
Properties_Jar_Files



  • Finally, click on the OK button and we are done with importing Selenium libraries into our project. Now, we are ready to write our test script in Eclipse and run it in WebDriver.