Highlighted
Absent Member.. Absent Member..
Absent Member..
749 views

How to set the "run on all rows" action call property at run time

Hi,

I have to import 2 excel workbooks, one in the local data sheet and the other to the global data sheet, the script should iterate only on the rows of the local data sheet but not on the global data sheet. I know that these settings can be set at design time, but it would be good if these can be set at run time for every script. I have found that the setting for global "run on only one row" can be set using the code (from an associated library) : 

CreateObject("QuickTest.Application").Test.Settings.Run.IterationMode="oneIteration"

I was wondering if there is similar way through code to set this run property for the local data sheet as well?

Thanks

0 Likes
1 Reply
Absent Member.. Absent Member..
Absent Member..

Re: How to set the "run on all rows" action call property at run time

Hello,

 

       Coding that directly from script should be managed with loops: while, for, etc

 

Best Regards.

 

If you find that this or any post resolves your issue, mark it as an accepted solution.

Note: The Opinions expressed in my post are mine alone, and do not reflect the opinions of my employer. No warranties express or implied for any answered posted.

 

Also remember if you have a valid contract with HP feel free to visit our FT/QTP Support Customer Forums: http://h30499.www3.hp.com/t5/Functional-Testing-QTP/ct-p/sws-Fun_Test
You can create an account with your HP credentials

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.