in QTP,how to write a descriptive program for "yahoo"
or "gmail" Login page
Writing the script using object properties and execute teh script without using object repository is called Descriptive program
plz check this descriptive program for gmail
first you have to take unique properties of objects using object spy and write DP
Browser("name:=Gmail: Email from Google").Page("title:=Gmail: Email from Google").WebEdit("name:=Email").set "enter email address"
Browser("name:=Gmail: Email from Google").Page("title:=Gmail: Email from Google").WebEdit("name:=Passwd").Setsecure crypt.Encrypt("enter password")
Browser("name:=Gmail: Email from Google").Page("title:=Gmail: Email from Google").WebButton("name:=Sign in").Click
Is This Answer Correct ? | 12 Yes | 3 No |
How to add a runtime parameter to a datasheet?
Please clarify Automation and QTP both(names) are same or diff?
what is object repository?
What is keyword view and Expert view in QTP?
How to associate function library at a run time?
can we call a test in another test?
How to export quicktest professional (qtp) results to an .xls file?
What is Virtual object wizard in QTP?
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
Can u Reduce the size of Object repository? What are the problems u have faced in Qtp tool?
There are some links on the page,count and click those links and check the text on the page displayed on clicking the link.write script for this scenario.
Can we Test Welcome Screens and Process Images with QTP