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

1) after inserting the check point how to change the expected value that was captured while inserting the check point

2 Answers   TCS,


Explain about Checking Bitmaps?

1 Answers   Crea,


how to write testcases for web based insurance,from the script by using qtp.

1 Answers  


WHAT IS OBJECT REPROSITORY?

4 Answers   BirlaSoft,


How to import the Test Results in QTP to an Excel sheet

4 Answers   Sonata,






how to merge 2 object repositories in qtp 9.0.what is use of merge and y merge is used?

1 Answers  


Give the syntax to import/export xls into qtp.

0 Answers  


What is LoadRunner?

1 Answers   Crea,


Got job with 3 years fake Experience

1 Answers   MNC,


want to learn real time automation project(QTP)?

1 Answers  


Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...

4 Answers   EDS,


i need to learn the descriptive programming very well so for that what to do am reading the qtp user mannual but it is not so any materials or links with examples i want please help me

2 Answers  


Categories