Gud one Uday...
On Thu, May 29, 2014 at 12:14 PM, aparnadharthi reddy < [email protected]> wrote: > Thank you Uday > > > On Wed, May 28, 2014 at 7:07 PM, udayanem <[email protected]> wrote: > >> Aprana, >> >> As i mentioned in my previous mail, you have to put your breatkpoint at >> "msgbox a". >> >> The reason being, once you reach msgbox statement means you already set >> the value of a=10, then in command tab you can try alter the value to 50. >> >> Then the value will be altered to 50. >> >> >> Thanks, >> Uday >> QTP / UFT Videos <https://www.youtube.com/user/AnemUday/videos> >> >> On Wednesday, 28 May 2014 14:41:31 UTC+5:30, aparnadharthi reddy wrote: >> >>> Hi Uday, >>> >>> Same process followed but problem is not resolved. >>> Please find attachment file. >>> >>> >>> On Tue, May 27, 2014 at 6:04 PM, udayanem <[email protected]> wrote: >>> >>>> Aparna, >>>> >>>> Put a breakpoint at "msgbox a" and run. So here you will see the value >>>> of 10 for "a" in variables tab. >>>> >>>> Now in command tab, enter a=20 and press "enter" button. Then click on >>>> F10 or F5 or Run. You will see the value 20 displayed. >>>> >>>> Find the attachment to get more idea. >>>> >>>> >>>> Thanks, >>>> Uday >>>> QTP / UFT Videos <https://www.youtube.com/user/AnemUday/videos> >>>> >>>> On Tuesday, 27 May 2014 13:04:50 UTC+5:30, aparnadharthi reddy wrote: >>>> >>>>> Thank you Uday and Prasad >>>>> >>>>> Same thing i did explain by uday in command tab but not working as >>>>> expected >>>>> >>>>> I wrote small script like below >>>>> >>>>> a=10 >>>>> msgbox a >>>>> >>>>> In debug viewer command tab changed value as a=20 >>>>> >>>>> but it display value 10 only >>>>> >>>>> Thanks, >>>>> Aparna >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, May 27, 2014 at 9:04 AM, udayanem <[email protected]> wrote: >>>>> >>>>>> A bit more detailed information is here: >>>>>> Debug Viewer is used to debug the scripts, where you can find the >>>>>> value of variables. >>>>>> To know what value variable is holding, you have to run in debug mode >>>>>> or put a break point at the variable. >>>>>> >>>>>> Debug Viewer is having 3 tabs. >>>>>> *Watch*: where you can find the value of a variable of your >>>>>> interest. In your script you might have certain number of variables, but >>>>>> you want to know a specific variable. >>>>>> To view the value of a var. following are two approaches >>>>>> right click on the variable name in your script and then choose "Add >>>>>> to watch", >>>>>> The other way is, in the "name" cell of Watch, double click on the >>>>>> cell and enter the variable name. >>>>>> During execution you can find the value of that var. >>>>>> >>>>>> *Variables*: All variables in your action are displayed with values. >>>>>> >>>>>> *Command*: You can set the value of a variable during run time using >>>>>> Command. >>>>>> For Ex. you are already in debugging, where the value of a var is >>>>>> having set some value, but you want to try with different value. >>>>>> Ex, during debug the value of x say 10, but you want to test with 20. >>>>>> During those scenarios when the debug pointer is at x, in command tab >>>>>> you enter x=20 and then click Enter. >>>>>> Then when you resume your debug the value of x now set to 20 during >>>>>> run time. >>>>>> >>>>>> I hope the above helps. >>>>>> >>>>>> If it is not clear, let me know. >>>>>> >>>>>> Thanks, >>>>>> Uday >>>>>> QTP / UFT Videos <https://www.youtube.com/user/AnemUday/videos> >>>>>> >>>>>> >>>>>> >>>>>> On Wednesday, 7 May 2014 16:19:22 UTC+5:30, aparnadharthi reddy wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Can any one explain Watch, Variable and Command tabs in Debug viewer >>>>>>> with example. >>>>>>> >>>>>>> -- >>>>>>> Regards >>>>>>> Aparna >>>>>>> >>>>>> -- >>>>>> -- >>>>>> 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. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Regards >>>>> Aparna >>>>> >>>> -- >>>> -- >>>> 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. >>>> >>> >>> >>> >>> -- >>> Regards >>> Aparna >>> >> -- >> -- >> 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. >> > > > > -- > Regards > Aparna > > -- > -- > 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.
