in QTP,how to write a descriptive program for "yahoo"
or "gmail" Login page
Answer Posted / thirumala reddy
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 |
Post New Answer View All Answers
What is expert view in qtp?
How to save your test using quicktest professional?
What is synchronization? What are the ways you can synchronize?
How you can make an action as re-usable action?
Explain the concept of object repository and how quicktest professional recognises objects?
how to write xml output check point bu useing descriptive programing .means without useing output check point
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
What is the difference between the keyword view and expert view?
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
Which features or drawbacks of QTP lead to the upgrade for a newer version?
What are the different types of action?
What is difference between run time object and test object?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com