Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Query on data driven approach for web functional test cases

Options
venki
venki Posts: 4

Hi All,

I am new to Parasoft web tool . I have created web functional test case with below data source.

And I have created below two test cases
1. To launch browser with navigate URL from data source

  1. To type text into search field using Xpath and Value from data source

While executing test cases, browser automatically closing for first navigate URL(i.e google page) before launching second navigate URL(i.e MSN page). so it is giving below error for type text step.

For second row type text step is passed because browser not closed .

Could you please suggest me inputs for above issue.

Thanks for your help .

Tagged:

Best Answer

  • [Deleted User]
    [Deleted User] Posts: 0
    Answer ✓
    Options

    Hi There,

    It sounds like your scenario may be set up so that the data source is iterated over once per test, rather than per group. To clarify, it could be running the navigate action for both google and msn before running the type action for both xpath values.

    Please make sure the parent suite execution options are set up to run the tests as a group.