Answer Posted / lokesh kanithi
Hi Srinivasan!
Identification can be done using descriptive programming.
Here is example # 1 with description object.
set EditDesc = Description.Create()
EditDesc("Name").Value = "userName"
EditDesc("Index").Value = "0"
Browser("Welcome: Mercury").Page("Welcome: Mercury").WebEdit
(EditDesc).Set "MyName"
Here is example # 2 with out description object.
Dialog("text:=Login").WinEdit("window id:=3001","attached
text:=Agent.*").Set "john"
Dialog("text:=Login").WinEdit("window id:=2000","attached
text:=Password:").Set "mercury"
Dialog("text:=Login").WinButton("text:=OK").Click
These both method will be used in expert view to identify
object with out object avaialble in object repository.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com
How to attach a file to TD?
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
Do you know how to connect database? Can you tell me the procedures?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
How you can find length of array in qtp?
How many types of status are there?
How does QTP identify an object?
What are the types of properties that quick test learns while recording?
Is it possible to use two instances of UFT on the same machine? If not why?
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
Who uses qtp tool?
What are the main differences of qtp and win runner?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.