Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I am analyzing automation design for a web app

  • UI Layer
  • Web Service Layer
  • DB Layer

Intranet based app and limited user base

My Approach for automation is

  • Web Services layer Test automation
  • Similate UI workflows with web services.
  • I'm planning to cover 70% of automation with web services workflows
  • Remaining 30% of End to End user scenarios from UI, UI Elements displayed, Web Service o/p to UI layer output Compared

Tools I'm planning to leverage

  • SOAP UI for web services / Data Driven Testing
  • Selenium for UI Layer verification

Questions

  • Can SOAP UI be used to test work flows. Output of one web service passed as input to another web service ?
  • I would like to know comments / feedback to apply best practices for this approach
  • Testing can be performed From UI Results to Web Service output and check are they mapped correctly. In this case as well when web services functionality is core, Result mapping is the only check. I'm hoping verifying fields, values and running basic P1 cases at UI Layer would cover it. Any comments ?

Thanks in advance

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

SoapUI can be used to verify workflows, but so far, I've only been able to get it to work when they are ordered correctly. I've since discovered that it was much to write these tests programmatically (C#, Java). This allows for you to customize your workflow to how you need.

For your third question, although typically you would want to run it as an integration test, you could use the following scenario:

  1. Have UI automation enter data into required inputs.
  2. After submitting data (BDD may not be a good fit for this), pass same data to test method which tests your webservice
  3. Validate repsonse from web service
  4. Validate response from UI

This would be much better suited however to two seperate tests using the same data.

share|improve this answer
    
Thanks Lyndon. It seems Fine. –  Siva Jul 11 '11 at 1:53
    
Upvote as I was gonna suggest writing the tests programmatically. Although I was going to suggest in Ruby, but that may be just my personal prejudice. ;) –  sean_robbins Sep 2 '11 at 23:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.