Hi Selenium Developers/Users,
 
I have been using Automation tools like Winrunner and QTP for a long period, I am watching Selenium from 0.3 till 0.5, It is really improving/doing well. I tried to implement Selenium for our functional testing, and found some of the improvements Selenium needs.
 
I have just listed a few here which i am able to list it by now. Please ignore if they are already part of the tool, but please take a chance to let me know them.
 
Variables : We should have
    Public variables (which can be used accross test tables)
    Temporary variables (Who's life is with in a table)

Reusable functionalies and Condition handling
Do we have any selenium function, which takes a scripts(html file here) runs and returns the  pass or fail
 
Ex: Every my test case starts with Login or looking for the main page as a pre check for base condition.
Here I should be able to write a test which does this for me. a selenium function like  runTest should take a html file as inputs runs it and returns the result. and I should be able to write something in the beginning of every scripts like below
 
  runTest | VerifyStartUpCondtion.html | varResult
  returnIf | varResult | FAIL

Conditional statements in the depth of test
I want to stop the current test and start the next test in the tests suite based on a PASS/FAIL condition of a test step

 Test step can be a action step or a verification(assertion) step
 Example : In my test I create a Contact and search for the contact which displays a link
 
 Here I want two things
 1) After search If I want to exit the current script if the contact link is not displayed
 2) In the next step I want to exit the current script if it failed to click on the link
 3) On any of the failures I may want to set a flag(push a value in to a variable), which can be used in some other script(s)
 
This is just an example, on implementiaon of this it will help in a lot of places. It is very usual that test cases contain lot of checks and on PASS/FAIL of that step, whe have to decide on further execution.

Action recording will be a good feature.
For a non programmer it is difficult to look at the souce, identify the objects by name or other attributes and write a script/test. It will be a great thing to have something which records the user actions as it required by selenium when the user do some action on the page
This could be a module to selenium or integration with tools like SeleniumAssist, I think as well as suggest there should be some thing as part of Selenium itself to make the test case writing easy.
 
These are some good feature, a Automation test engineer will look into in general in any tool. I think these are not complex though to implement.
 
I bet on introduction of this feature the selenium users just multiplies the way it is now.
 
I just loved it's current simplicity, but there are recommendations to make it a tool in million.
 
Thanks and Regards
****************************************
Basavaraju M K
Lead QA - Test Automation
Cobalt Group India
****************************************

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel

Reply via email to