Pages

Saturday, March 26, 2011

what is Selenium?

 Selenium:

• Test tool for web applications
• Runs in any mainstream browser
• Supports tests in many languages
• Selenese (pure HTML, no backend required)
• Java, C#, Perl, Python, Ruby
• Record/playback (Selenium IDE)
• Open Source with corporate backing
• Lives at selenium.openqa.org.

Selenium Uses:

 • Use Selenium when it makes sense
• when you want to reproduce a user’s interaction with your application in a real web browser
• when you depend on the browser (AJAX)
• Do consider presentation model and HTTPUnit
• Use Selenium for Integration Testing
• Use Selenium in your development environment
• Use the features offered by your language

A few Selenese commands:

Click,  Close, CreateCookie, dragdrop, fireEvent, getEval, getHtmlSource, , getTitle, getValue
goBack, isElementPresent, isTextPresent, isVisible, ,keyPress, mouseOver, open, refresh, type

The most commonly used commands for building tests:
Open:   opens a page using a URL.
click/clickAndWait:  performs a click operation, and optionally waits for a new page to load.
verifyTitle/assertTitle:   verifies an expected page title.
verifyTextPresent:   verifies expected text is somewhere on the page.
verifyElementPresent:  verifies an expected UI element, as defined by its HTML tag, is present on the page.
verifyText:  verifies expected text and it’s corresponding HTML tag are present on the page.
verifyTable:  verifies a table’s expected contents.
waitForPageToLoad:  pauses execution until an expected new page loads. Called automatically  when clickAndWait is used.
waitForElementPresent:  pauses execution until an expected UI element, as defined by its HTML tag, is present on the page.

Data Driven Testing using Selenium and TestNG

Thursday, March 24, 2011

Selenium Introduction sample video witth google example

Bug Types, Severity and Priority


Types of Bugs:

UI bugs: (Low severity)
Spelling mistake: High Priority
Wrong alignment: Low Priority

Input Domain bugs: (Medium severity)
Object not taking Expected values: High Priority
Object taking Unexpected values: Low Priority

Error Handling bugs: (Medium severity)
Error message is not coming: High Priority
Error message is coming but not understandable: Low Priority

Calculation bugs: (High severity)
Intermediate Results Failure: High Priority
Final outputs are Wrong: Low Priority

Service Levels bugs: (High severity)
Deadlock: High Priority
Improper order of Services: Low Priority

Load condition bugs: (High severity)
Memory leakage under load: High Priority
Doesn't allows customer expected load: Low Priority

Hardware bugs: (High severity)
Printer not connecting: High Priority
Invalid printout: Low Priority

Boundary Related Bugs: (Medium Severity)

Id control bugs: (Medium severity) Wrong version no, Logo

Version Control bugs: (Medium severity) Difference between two consecutive versions

Source bugs: (Medium severity) Mismatch in help documents


Tuesday, March 22, 2011

Testing Documents

Every Organization maintains the Testing Documents in following way. This is the procedure for Testing Environments to maintain the documents.


      Test Policy                                      C.E.O
               |
              \/

  Test Strategy                       TEST MANAGER /QA/PM
|
\/

Test Methodolgy                  TEST MANAGER/QA/PM
|
\/

       Test Plan                       TEST LEAD/TEST ENGG
|
\/

   Test Cases                         TL/TE
|
\/

Test Procedure                      TL/TE
|
\/

       Test Script                     TL/TE
|
\/

         Test Log                      TL/TE
|
\/

  Defect Report                     TL/TE    
|
\/

Fianl Test Summary Report      TL

Tuesday, March 1, 2011

Top 10 Web Sites That Help Your Career

I am always in a hunt for earning those extra bucks or for that matter land with a next best job available, in my career I have come across more then million web sites, that either give you false promises of earning or sites that you just register for name sake. But here is a list of web sites I like to share with you  that not only help you increase the network of professionals but also give you a platform to showcase your skills and may give you chance to land up in a good job, these are some of the top 10 websites I recommend for you.

1-http://www.freelancer.com/ : This is one of those sites, where even if you are jobless, you can always have a job as freelancer and keep your earning rolling and you would be surprised it has all kinds of jobs available from writer to developer and what is even interesting is,  if employers can’t find the resources they need to do a job and want to hire someone immediately over the web  then this is the site to be where bidding of employers and employees take place for the right candidate.
2- http://www.linkedin.com/ : what interested me in this site is the fact that how having job recommendation for your work is all that easy and also the way you can present your resume with 100% authentic look, this is one site where all talk of the town may be registered on, and you won’t be surprised to see your own boss or peers recommending for your work, and since most of the employers and your colleagues flocking on it, it’s all that easy for landing in a good job.
3- http://www.facebook.com/: Though it is popularly used for socializing and connecting with your old friends this site also has an option of joining or starting your own community, for instance I am a oracle consultant and I have oracle communities I can join or start, the reason why this would work is simple, its popularity and the growing number of users, and recently employers consider this a portal for hunting down the right candidate.
4- http://www.timesjobs.com/:  When you join naukri or gulf these are country specific logins, so for extra buck until you pay your resume may be visible to only the employers of the country you registered in, a good example is there are 2 sites naukri gulf and naukri, so I would say better then registering on two it’s good to register with a site that helps show case your resume to the globe, and also times has some of the best employers.
5- http://www.beliefnet.com/: Inspiration, spirituality and faith what seems to encouraged by this site and I think these attributes need to be there in one, I subscribed to this site 3 years back, and whenever I was stressed at my work this site had lot to offer, a must visit site.
6- http://www.monster.com/ : Following times jobs I recommend monster, one of the features I like in this personally is, you can a have -recorded interview of yours, and employers get to view it without your physical presence, may be some basic questions that are asked in an interview you can answer well in advance, and also put your expectations forward well before hand.
7- http://www.execusearch.com/ : If you're looking for a higher level professional job, Execusearch.com is for you. They don't take just anyone at this career website - you must be at a certain level, such as CEO or VP) to put your resume (which is reviewed before posting) on their job website. 

8- http://www.careerbuilder.com/: Boasting a number such as 23 million internet hits a month, Careerbuilder.com is certainly one of the most popular career websites out there, both from an employee and employer perspective. 

9-  http://www.careerbuilder.com/: If you've checked the above best career websites and still have had no with your job search, there's always Craigslist. Although there might be jobs listed on this online job search site, be wary of offers. There are a lot of scams running around Craigslist.
10-http://www.careerbuilder.com/: Of course without silicon india how would l have communicated this to you, you know better.

So these are some of the sites that join my lists best websites on the web.Hope this blog provides you the source for helping you land in the next best job.