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 |
What is difference b/w AOM,DOM,COM Have u ever is used ny of the models.If so why?
In QTP, Which are the concepts are needed to do Functional testing and Regression testing?
what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?
What are the ways you can synchronize?
I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail.?
Explain types of descriptive programming?
How i can change shared repository to per test repository in qtp
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
What u say as experience(Interview) "TELL ME ABOUT UR SELf"? As a Fresher(interview) What u Say?
In key word driven framework,we will rename the logical names of objects,why?
Hi all , I have installed the QTP 11.0 Whenever I am opening QTP that time if any open Internet Explorer I was getting message (Internet Explorer has encountered a problem and needs to close. we are sorry for inconvenience caused) and same way new browser also not opening. If you have any idea please let me know.
What is repository parameters in QTP?how will we define that????what is unmapped & mapped repository parameters????????