What is the difference between Global sheet and local sheet w.r.t Run on all rows - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: What is the difference between Global sheet and local sheet w.r.t Run on all rows (/Thread-What-is-the-difference-between-Global-sheet-and-local-sheet-w-r-t-Run-on-all-rows) |
What is the difference between Global sheet and local sheet w.r.t Run on all rows - venkatbatchu - 08-12-2009 Hi All, Could you please give me the difference between Global Sheet and Local sheet w.r.t Run on all rows and Run on one iteration only i.e Scenario1: If i have a 10 records in Global Sheet and no records in Local sheet i) What would be the behavior if i use the run on all rows ii) What would be the behavior if i use the run one iteration only Scenario2: If i have a 10 records in Local sheet and no records in Global sheet i) What would be the behavior if i use the run on all rows ii) What would be the behavior if i use the run one iteration only Please let me have a better answer for this... Thanks, Venkat.Batchu RE: What is the difference between Global sheet and local sheet w.r.t Run on all rows - Saket - 08-12-2009 Local sheet is limited to the associated action only. The scope of data is limited to that particular action. Other Actions which are part of the test cannot access those data values. Global sheet has scope with respect to all actions coded as part of a Test. I think this is sufficent to get answer for your scenarios, Please try it out and let us know if any confusion. RE: What is the difference between Global sheet and local sheet w.r.t Run on all rows - venkatbatchu - 08-12-2009 Thanks for prompt response, that is sufficient and can u please let me know about the below scenario i) i have a 10 records in global sheet and 4 records in local sheet i need to print the global sheet data when it is set with Run on all rows and Run on one iteration only. ii) i have a 10 records in global sheet and 15 records in local sheet i need to print the local sheet data when it is set with Run on all rows and Run on one iteration only. My query: In the first scenario does it print all the 10 records data or not w.r.t two conditions (Run on all rows and single iteration) In the second scenario does it print all the 15 records data or not w.r.t two conditions (Run on all rows and single iteration) Could u please explain about this..................? RE: What is the difference between Global sheet and local sheet w.r.t Run on all rows - Saket - 08-12-2009 I wonder why dont you try it out yourself, It will be really helpful for you if you try it out on your own first. answers to your question - In the first scenario does it print all the 10 records data or not w.r.t two conditions (Run on all rows and single iteration) Run on All Rows - will print all the 10 records Run one iteration - will print the first record. In the second scenario does it print all the 15 records data or not w.r.t two conditions (Run on all rows and single iteration) Run on All Rows - will not print all the 15 records, it will print only 10 records Run one iteration - will print the first record. if you select Run on all rows, QTP will run for all rows for the global sheet and one row for local sheet. if you select Run One iteration, QTP will run for single row for the global sheet and same for local sheet. RE: What is the difference between Global sheet and local sheet w.r.t Run on all rows - venkatbatchu - 08-12-2009 I have already executed this and get the analysis on this but i would like to share this type of scenarios to some others there is no nothing logic behind this and want to make people to think in this type of scenarios.... RE: What is the difference between Global sheet and local sheet w.r.t Run on all rows - basanth27 - 08-12-2009 @Venkatbatchu - Please be aware that if you want to expose people to different other scenarios then you have to post it in one of the discussion forums. This forum under which you posted is a question/answer forum where people are eagerly awaiting to get ahead from their technical roadblock. I have seen saket going several steps ahead and answering your question on time promptly. Please respect the conditions under which people post the questions. If you knew the answer well ahead and wanted to gather opinion about people's thought, "QTP others" forum isint the one you should be using. RE: What is the difference between Global sheet and local sheet w.r.t Run on all rows - Saket - 08-12-2009 I completely agree with Basanth on this, If you know the answers then please do not post questions like this, you can describe your scenario and the solution. then may be you can ask for the opinion whether you are in the right track or not. this way you are not helping to members of this group, who spent their time to understand and resolve issues. request you to please do take care of this. RE: What is the difference between Global sheet and local sheet w.r.t Run on all rows - venkatbatchu - 08-12-2009 Surely i will not repeat these kind of things, i thought of thinking that it will helpful for some guys i didnt know in that mean... |