Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feeding the test iteration from database - non descriptive way?
#2
Not Solved
I could not define and use a Database Output value for my purpose. Or I do not know how to do it.

This is my insight
1. Using Output Value
Every Output value, even if there exists multiple rows as a result of the select query, map/point always to a new column in the first row of the data table. So this would correspond to only one iteration of the test (no matter how many rows we get as a result of our SQL query).

I was expecting something like, if I get 5 rows as a result of my database query, correspondingly I would like to map each row to a row in the data-table and I would like to have 5 iterations in the test.


2. Using data-sheet import from database

Also when I try to use the import feature in data-sheet, it is static. So next time I run, I have to redo import to get the latest data.



This kind of concludes like, the only way to map each result row of sql query to a row in data-table is through descriptive (script) programming.

Since I am new to QTP, please advise me if I am missing anything

Thanks
Reply


Messages In This Thread
RE: Feeding the test iteration from database - non descriptive way? - by sepgs2004 - 01-20-2010, 12:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Object not found during the 2nd iteration of an Action call in a For loop BGunay 0 861 04-23-2020, 07:08 PM
Last Post: BGunay
  UFT Tool runs more than one iteration always cthossain 2 3,357 02-12-2017, 01:25 PM
Last Post: cthossain
  Function return value is not passed during the 3rd iteration premanand1979 0 2,053 10-16-2014, 09:40 PM
Last Post: premanand1979
  Iteration in Local sheets for UFT11.5 haithamQTP 1 3,011 02-27-2014, 09:12 AM
Last Post: supputuri
  Parameter iteration bistritapcv 1 3,218 03-28-2013, 10:40 AM
Last Post: Sathiya

Forum Jump:


Users browsing this thread: 2 Guest(s)