Micro Focus QTP (UFT) Forums
Test Script - 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: Test Script (/Thread-Test-Script)



Test Script - siri - 07-14-2008

Hi Ankur and All,

I have placed some Test Cases into Test PLan .Therein in the Design steps in Quality Center we have a Generate Script option .

So for some of the test cases if i click on that option so how is the script generated and what is the procedure.

I would be greateful if you help me

"Knowledge is not part of any one its an ocean any one can join the knowledge Ocean."


RE: Test Script - niranjan - 07-16-2008

Let me understand your question, Do you intend to create a QTP automation script? Correct?

Or you want to know what is "Generate Script" in QC?
Generate Script option option just creates a skeleton for your QTP automation script.
So, if you want to create QTP script then you must record / write script using QTP.

Please let me know if this doesnt answer your question


RE: Test Script - siri - 07-17-2008

Hi Niranjan,

As per your reply i understand that we need to create a QTP automation script .

But my question is in test plan when we place the test cases fro mEXCEL Sheet we get M symbol right to the test cases uploaded .

So when we go to design steps there we get an option "Generate Script" so there we have generate scripts options for QTP,LR,WR etc so wil lthat just create a skeleton or will it generate a scritp for me for the test cases that i have uploaded to the test plan .

I need why this generate option is there .And what is the use of this option .


RE: Test Script - niranjan - 07-17-2008

It will create the skeleton according to your test cases' steps.
Try this: record a script by using qtp. Now log into QC and click on Generate option for some other test case.
Compare the two and you will understand.


RE: Test Script - siri - 07-18-2008

Hi,
So it is only to identify from wher ethe scritp has written from which tool thats it rght .
THere is no other use by clicking on the generate script option rght

thanks a lot .
"Knowledge is an ocean any one can one can join the knowledge ocean"