Micro Focus QTP (UFT) Forums
Extract Iterations - Using QTP-Datapool in QC - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Extract Iterations - Using QTP-Datapool in QC (/Thread-Extract-Iterations-Using-QTP-Datapool-in-QC)



Extract Iterations - Using QTP-Datapool in QC - Honk - 06-25-2008

I must use QC to manage QTP-tests.

I want to use a global Datapool-Excel-Sheet in QTP, cause it would be costly to maintain several sheets, writing scripts that extracting test data.

IS IT POSSIBLE TO EXTRACT ITERATIONS from Datapool inside the testplan of QC and without touching QTP-settings?

Cause I am not able to define the host, on that the scripts will be run, at time coding them. So the settings in "QTP/Test/Settings/Run/Data Table iterations" should be not used/overruled.

So I want to choose several iterations for several test cases from inside QC.


RE: Extract Iterations - Using QTP-Datapool in QC - Ankur - 06-26-2008

yes you can attach your datatable in QC and using AOM call the global sheet.


RE: Extract Iterations - Using QTP-Datapool in QC - Honk - 06-26-2008

thanks for quick reply.

1. What means "AOM"?
2. I am using my global datasheet. Can I choose special rows (iterations)? When I start the test, the settings of QTP are used.

I want to run the same test (e. g. the Login) by several settings (e. g. 1st: cases only valid for admin, 2nd: cases valid for normal user)

Is the only solution to write two different tests and give there two different datasheets?
(No solution would be: To consistantly change the settings of QTP is not feasible. It is fail-prone and the subject matter editors (using the tests) are simple guys.)

Sorry, when I don't glance over the Mercury workflow yet. Maybe I try something in a wrong way.


RE: Extract Iterations - Using QTP-Datapool in QC - Ankur - 06-26-2008

please refer my post on Automation object Model(AOM), QTP and Excel. You will probably get your answer there.


RE: Extract Iterations - Using QTP-Datapool in QC - Honk - 06-26-2008

That looks like a promising way.
Tough luck for the subject matter agents. They can't choose rows. They need me ;-) But I like it.
Thanks.