Thread: What maximum number of actions ?

1. What maximum number of actions ?

Hi to all
Could any body tell me what maximum number of actions we can create in QTP 11.0?And also support for answer why this so?

2. Re: What maximum number of actions ?

infinity physically, depending on storage aspect. I guess so.

3. Re: What maximum number of actions ?

Each action has to have it's own sheet in the Data Table. The maximum number of sheets allowed in QTP 11.0 is 255. So the maximum actions allowed should be the same.

4. Re: What maximum number of actions ?

Hi enigmatrix
No this is wrong answer according to Tarun Lalwani's book (I thought I know QTP) in which he said only 120 action.
But did not mentioned the reason for support this answer.

5. Re: What maximum number of actions ?

Yeah.. Even I read the same in the book. I guess maybe having that many actions in a single test case is not a good approach. So they might have kept it at 120. But still not sure why its 120. If its this reason then it could have been anything.

P.S. Just a guess.

6. Re: What maximum number of actions ?

It's 255. Please view the screenshots and run the below code as a ".vbs" file.

Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
qtApp.New

For i = 2 to 500
ActionContent = "Action" &amp; i
ActionDescription = "This is Action " &amp; i
ActionName = "Action" &amp; i

Set NewAction = qtApp.Test.AddNewAction(ActionName, ActionDescription, ActionContent,True, qtAtBegining)
Next

Looks like someone has missed reading the preface to the book [img]/images/graemlins/smile.gif[/img]

Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:42 AM.