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

Hi Currently am using Qtp 10.0 Lisenced product.. but when am adding objects to object repository from google page it was identifying as windows objects.. please help me!!!

3 Answers  


What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?

1 Answers  


What are the properties you would use for identifying a browser & page when using descriptive programming ?

2 Answers  


Can we Script any test case with out having Object repository? or Using Object Repository is a must

3 Answers   Crea,


What is optional step in qtp? How you can add optional step in qtp?

0 Answers  


In real time ,How to run all scripts in QTP? i,e in projects

3 Answers  


How will you load few objects in Active Screen?

1 Answers  


CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME

2 Answers   TCS,


can we run the scripts of qtp 8.2 in the qtp7.0?

2 Answers  


what is the frame work in J-meter?

0 Answers  


how to explain a claims and insurance project?

0 Answers  


Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example.

2 Answers   Wipro,


Categories