Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - How do you invoke an application using the step generator in qtp?




255
views
asked marvit August 30, 2014 02:38 AM  

How do you invoke an application using the step generator in qtp?


           

1 Answers



 
answered By Dharma   0  
Step generator:

  •     This is a facility that QTP provides in order to make adding programmatic steps into QTP easy for the user.
  •     You can use it in the Keyword view, function library, Active screen or Expert view to generate steps
  •     It can be used to write steps into a test or to a function library.
  •     To launch, use the menu option “Insert->Step Generator” menu option. Right click any where you want the step to go and select “Insert Step-> Step generator” or F7(except in Active screen)




Example:

I will explain this with a scenario: Open www.gmail.com and click on “Create Account” link. This is how this statement will look.

Browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Create an account").Click
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert