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

Can any one send me the QTP Basic Coding Samples?

1 Answers  


Interviwer asked, How many years exper.. on QTP? I said, total 2 yrs exp in manual and QTP. QTP only current project arround 3 months. then interviewer ask , HOW BOLD YOU QTP? What you say?

1 Answers  


what is the difference between link and hyperlink?

2 Answers  


How u perform exception handling in QTp,what is other name for ths?

2 Answers  


Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance

2 Answers  


WHAT IS A TEST STRATEGY & WHAT IS THE DIFFERENCE BETWEEN TEST STRATEGY & TEST PLAN?

21 Answers   ABM, AZTEC, CTS, Infosys, Nihilent, Orange,


Hi Samrat, Thank u very much, what u said it is right.

1 Answers  


What is the difference between driver-script and AOM-script?

2 Answers   IBM, Value Labs,


What is time parameter?

1 Answers  


How to add synchronisation points in qtp?

1 Answers  


How to start recording using quicktest professional (qtp)?

1 Answers  


How can we disable popup blocker?

1 Answers  


Categories