Thanks a lot Manoj, got the solution with Dictionary object. Able to get what i'm looking exactly.
On 23 April 2014 13:33, Manoj Gupta <[email protected]> wrote: > Use dictionary object, take help of qtp help file. > On Apr 23, 2014 12:57 PM, "Prasad.L.V" <[email protected]> wrote: > >> >> >> How to run capture the multiple run time data and store into a variable. >> >> In my scenarios, i have to capture the values and print/report at the >> last. >> >> I am trying to capture the run time values but i could capture only one >> (static data i was able to do, but my scenarios is for dynamic). >> >> Could you please help. >> >> eg: >> >> in my case i will execute only the scenario which was set to Yes (yes >> means to execute; and No means not to execute). >> >> I have 10 scenarios (6 were set to No out of 10), currently we are >> executing one by one scenario and reporting into an XML file. >> >> but now we want to collect all scenarios set to NO, and report at last. >> for this i m trying to save the scenarios into an array but could save only >> one value not all. >> >> could sone one suggest me how to do this, please. >> >> If ScenarioRunFlag=Yes Then >> Executes all workflows >> Else >> Reporter.ReportEvent........ ' im trying to implement my code here. >> End if >> >> -- >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "QTP - HP Quick Test Professional - Automated Software Testing" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
