Results 1 to 2 of 2

Thread: login function Automation

  1. #1
    Junior Member
    Join Date
    May 2007
    Answers
    4

    login function Automation

    I have to automate login function in qtp for my project following are the conditions...... If anybody has the script for login functionality and pliz fwd it to me enter valid user id and valid password and click on login button enter valid user id and invalid password click on login button leave user id blank and enter valid password click on login button leave user id and password field blank and click on login enter invalid user id and invalid password click on login please fwd me the script for this ..... Thanks in advance

    Last edited by admin; 12-12-2007 at 07:15 AM.

  2. #2

    Re: login function Automation

    You can use this several ways:

    Browser("Browser).Page("Page").WebEdit("name:=userName").Set "Whatever"
    Browser("Browser).Page("Page").WebEdit("name:=userPassword").Set "Whatever"
    Browser("Browser).Page("Page").Image("name:=signIn").Click


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact