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
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