Sunday, August 30, 2009

Skills for Automation

Last few months I was in interviewing candidates for Silktest and QTP. Many of them are good at tool related technical terms and concepts. But they are not comfortable to write few string handling functions. Main issue is many of the testers are not interested in hard-core programming. I strongly feel that programming skills is required apart from framework implementation. I used to give following tasks to any new comer for automation side.

Assignments for Automation

  1. Write a script to create a file,Read a file,Append a file and Delete it.
  2. To invoke browser and navigate through links,URL&button.
  3. To get Current Time like "24May2005-10hh-20mm-45ss"
  4. Find - Which window is active now in the taskbar.
  5. Prepare a script and the results should be stored into Excel sheet and Text file.
    Excel sheet should contain one line for each testcase and Text file should contain the information for all events.
  6. Automate simple Testcase without using GUI file. You should pass physical description directly.
  7. Retriving data from Database,Excel.
  8. Update data in Database,Excel.
  9. Access DLL functions.
  10. Implement function for following string problems
    Find and Replace in a given string.
    Get position of substring for given times.
    Get file name only from file's full path.
  11. Print list of files available in a directory.
  12. Create functions to create the log
    First log should contain all the details of the Script Actions.
    Second log file should contain only pass/fail detail of Testcases/Scenarios.
  13. Using any XML Parser, try to parse the XML contents based on given tag.

3 comments:

Dhanasekar said...

Nice article,Problem is Tester don't know coding.Developer don't show interest in coding in automation tool :)
Here are some more to add to the list
14. Should have basic knowledge in OOPS concepts,what is object,method and properties,how to access an object
15. Basic understanding of technology in which the application is developed,i.e if web then should know basics of DOM.

Palani Selvam said...

Thanks for your inputs.

In future, testers also should be able to do coding. Many developers start to think testing side.

Aditya Kalra said...

Hi Palani,
I like your thoughts , i have seen a lot of blog posts that recommend testers to code, but what i don't see are practical examples like the ones you have given here.

This surely makes it a candidate on my blog which has the best articles and posts across the web.
I'm sure you would be happy to see your post there do let me know if you want any changes.

My blog: http://go-gaga-over-testing.blogspot.com/