Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best Practices in Passing Data to Tests
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
I'm new to QTP but am picking up the basics fairly well.

My question relates to best practices.

I am attempting setup up an architecture where QA analysts and Business Analysts can run preparatory tests (to handle mundane and repetitive test required prior to actual tests) quickly and easily.

Firstly, I would like my implementation to require them to know as little about QTP as possible (in most cases the users would require no knowledge of the tool).

Now, I want to allows the users to provide data for the tests (more specifically, the reusable actions). I would like to allow them to only provide the permutations/combinations of changing data points for their specific test and not have to concern themselves with "unimportant" and unchanging data points (keeping in mind that the list of data points could be different for different users or test cycles). So, I need to make sure the tests/actions implement default values when data is not provided.

The tests and actions have been separated so that they can be reused by other tests. So, each test/action is responsible for loading the dynamic data, applyng default values to data not provided and running each iteration of the test.

I have begun my implemtantion using Excel spreadsheets to load Data Tables with each action requiring input Parameters to apply default values. However, I'm not sure if this is the best approach or not. This implementation requries each action to do checks on each and every potential data point and work with Data Tables and Parameters to come up with the right value. This just seems like alot of upfront code that might not be necessary.

Are there other/better methods? Would variables make more sense?
Reply


Messages In This Thread
Best Practices in Passing Data to Tests - by sean.graham@dcsg.com - 08-10-2010, 10:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP API Best Practices wafflehunter 0 912 08-07-2020, 10:25 AM
Last Post: wafflehunter
  Add new recovery scenario to existing tests Autobot 3 3,864 03-08-2017, 08:45 AM
Last Post: workrohit08
  QC Test not found error or not executing remote tests zaira_p 5 9,905 08-04-2015, 10:22 PM
Last Post: mitsuy
  Error launching QTP tests from Quality Center SteveS 0 3,045 09-18-2013, 06:59 PM
Last Post: SteveS
  QC/QTP Error Msg --> some tests are still running. You must stop them all before exit LauraShadle 0 2,785 02-21-2013, 08:30 PM
Last Post: LauraShadle

Forum Jump:


Users browsing this thread: 1 Guest(s)