Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to automate without recording
#4
Not Solved
Hi ,

First add the required object to the object repository.
Ex: If you want to automate 'Login' functionality of the GMAIL page.
1. Add 'Username' , 'password' textboxes and 'LogIn' button into the object repository.
2. Then in the expert view type (While typing itself QTP suggest you the added object)
Ex:
Code:
Browser("Name that is added").page("Page name").webedit("Username").set "
Set the user name which u want"

Similary for the Password text box , then to'click the LOGIN button' ,

Code:
Browser("Name that is added").page("Page name").webbutton("login").click



Like this you can write the code which you wanted , usually while developing script we wont used 'record and playback' , mostly people write thier own code than using the record and playback.

Thanks,
Harish SHenoy
Reply


Messages In This Thread
RE: Is it possible to automate without recording - by harishshenoy - 01-08-2013, 03:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Analog Recording & Normal Recording Shama Ahsan 1 3,783 05-03-2011, 02:38 PM
Last Post: Shama Ahsan

Forum Jump:


Users browsing this thread: 5 Guest(s)