How to test login page by using QTP

Answer Posted / adlajaipal

'for example:
systemutil.run "Path of u r login page URL"
than check for username and password
like:
Browser("micclass:=Browser").page("micclass:=Page).webedit("name:=txtusername).set
xxxxxx
Browser("micclass:=Browser").page("micclass:=Page).webedit("name:=password).setsecure
xxxxxx
Browser("micclass:=Browser").page("micclass:=Page).webutton("name:=Button).click

Is This Answer Correct ?    2 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If created one virtual object? Next time I changed the window position will it work?

806


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

1732


Why is Client side image is preferred over server side image?

1681


I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.

1842


What are the Disadvantages of shared object repository?

818


Can any body please tell me the steps of keyword driven framework of QTP.

1769


What is the use of an object spy tool in qtp?

780


what kind of frame work you used in your last project?

2100


How do you convert manual test cases to automated test cases?

808


What are the properties you would use for identifying a browser and page when using descriptive programming?

821


What are the different recording modes?

764


What is test object model in quicktest professional?

837


How the exception handling can be done using quicktest professional?

786


What is the synchronization point in qtp?

768


To which environments does quicktest professional supports?

766