how to identify an object which is not in the object
repository identification can be done using descriptive
programming.
Answers were Sorted based on User's Feedback
Answer / sreeprasad
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 ? | 3 Yes | 0 No |
Answer / sagar kuamr sutar
Hi sreeprasad u r absolutely correct. But i want you to
update few more things. Please tell me if there is a web
browser and suppose take a gmail or yahoo mail user id and
password and signin button and forget password. I want
these four to identify using descriptive programming. Can u
please solve this. And send to my mail id:
sagar.iacr@gmail.com
If you have any descriptive programming documents can u
send it to my id please.
Thanks in advance.
Is This Answer Correct ? | 0 Yes | 0 No |
How many scripts do you write per day. What is the average number of scripts you have written in your recent project
1 Answers CenturyLink, Optum, Value Labs,
What is iteration? How it is related to Test Results in QTP?
What are "Ordinal Identifiers" and where it is used in QTP. AS FAR AS i KNOW, its is used to identify the object. but i want clarity regarding this.
What is synchronization? What are the ways you can synchronize?
HOw to add the recovery file at runtime to the test file .
Explain about Hybrid Framework
What kind of errors can b handled in QTP in real time scenario?
In QTP, As a first step wht we will do before going to start a Automation....when it will be decided that we have to go for a Automatio..and who will decide to go for Automation. Any body can pls let me know.. Thanks in Advance..
How to manage a drag drop event in the qtp
What kind of errors can b handled in QTP in real time scenario?
how to write vbscript on web applications in qtp. explian with one example?
How to creating an output value using quicktest professional (qtp)?