Thx. Abraham Itty Sent from my iPhone
On Feb 3, 2012, at 4:26 AM, Archana <[email protected]> wrote: > Use OptionalStep , as above , to skip the line during execution of script . > > On Thu, Feb 2, 2012 at 10:04 PM, Abhijeet <[email protected]> wrote: >> Hi Abraham, >> >> You will need to use the "OptionalStep" command to achieve this. QTP >> will run it anyway, but it will ignore the outcome if it's a fail and >> return a warning instead. >> >> Example : If your code is that you need to execute as an optional >> basis >> Browser("").Page("").Frame("").WebButton("").Click >> >> You can use it like : >> OptionalStep.Browser("").Page("").Frame("").WebButton("").Click >> >> On the other hand, if you completely need to skip the line all the >> time, you can use Shift + F11 as Ravi has pointed out. >> >> Thanks, >> Abhijeet >> >> >> Thanks, >> Abhijeet >> >> >> On Feb 2, 4:47 pm, Ravi kiran <[email protected]> wrote: >>> Keep breakpoint before the step and click Shift+F11 (Step Out) >>> >>> On Wed, Feb 1, 2012 at 11:21 AM, Shalabh Dixit >>> <[email protected]>wrote: >>> >>> >>> >>> >>> >>> >>> >>>> You need to put those lines under some condition... i.e If.. Else >>> >>>> Regards >>>> Shalabh Dixit >>>> My QTP Blog <http://shalabhdixit.wordpress.com/> >>> >>>> On Thu, Jan 19, 2012 at 4:11 AM, Abraham Itty <[email protected]> wrote: >>> >>>>> Dear all, >>> >>>>> Can somebody tell me how can I skip some lines while run time. >>> >>>>> -- >>>>> 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 >>>> "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 >> "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 > "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 "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
