Use VB script, IF ... Then ... Else If ... End If On Mon, Oct 20, 2008 at 6:13 PM, Harish <[EMAIL PROTECTED]> wrote:
> > Hi, > > I have a test with 5 actions starting with "Login" action and ending > with "Close" action. The "Login" action is parametrized with 2 id's > where QTP can login to the application using these 2 ID's. There is > one action in the test that should not be executed when QTP comes to > Login ID 2. > > For example, there are two ID's: UserA and UserB and there are 5 > actions: Login, Sort, Print, Query, Close. UserA can execute all 5 > actions in the test whereas UserB should not touch the Print action. > How do I control this? Any ideas? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
