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
What are the types of object repository in qtp?
What are the views available in quicktest professional (qtp)?
Why script error occur in between recording in qtp?
how can i pass a "cript"as a parameter in to a function
Explain how you can delete excel file in qtp?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
To which environments does quicktest professional (qtp) supports?
Whether qtp 9.0 supports Test director8.0
1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
Plz Explain AUTOMATION REFERENCE MODEL?
Write a script to verify font style and color of a windows object using descriptive programming
Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version
How to handle Java tree in QTP?