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



how to identify an object which is not in the object repository identification can be done using ..

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

how to identify an object which is not in the object repository identification can be done using ..

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

Post New Answer

More QTP Interview Questions

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?

2 Answers  


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.

2 Answers  


What is synchronization? What are the ways you can synchronize?

0 Answers  


HOw to add the recovery file at runtime to the test file .

0 Answers  






Explain about Hybrid Framework

2 Answers   IBM,


What kind of errors can b handled in QTP in real time scenario?

1 Answers  


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..

1 Answers   Wipro,


How to manage a drag drop event in the qtp

3 Answers  


What kind of errors can b handled in QTP in real time scenario?

2 Answers   AZTEC,


how to write vbscript on web applications in qtp. explian with one example?

4 Answers   Wipro,


How to creating an output value using quicktest professional (qtp)?

0 Answers  


Categories