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 |
1) after inserting the check point how to change the expected value that was captured while inserting the check point
Explain about Checking Bitmaps?
how to write testcases for web based insurance,from the script by using qtp.
WHAT IS OBJECT REPROSITORY?
How to import the Test Results in QTP to an Excel sheet
how to merge 2 object repositories in qtp 9.0.what is use of merge and y merge is used?
Give the syntax to import/export xls into qtp.
What is LoadRunner?
Got job with 3 years fake Experience
want to learn real time automation project(QTP)?
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...
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