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 |
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!!!
What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?
What are the properties you would use for identifying a browser & page when using descriptive programming ?
Can we Script any test case with out having Object repository? or Using Object Repository is a must
What is optional step in qtp? How you can add optional step in qtp?
In real time ,How to run all scripts in QTP? i,e in projects
How will you load few objects in Active Screen?
CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME
can we run the scripts of qtp 8.2 in the qtp7.0?
what is the frame work in J-meter?
how to explain a claims and insurance project?
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.