how to identify an object which is not in the object
repository identification can be done using descriptive
programming.
Answer Posted / 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 |
Post New Answer View All Answers
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
Which scripting language used by quicktest professional?
Analyzing the checpoint results?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
What are benefits of qtp?
What is use of object spy?
How to handle the exceptions using the recovery scenario manager in qtp?
How will you compare keyword and expert view?
Give me some real time point of way where exactly we can conduct audits?
What are the types of environment variables in qtp?
Discuss quicktest professional (qtp) environment?
Can we run multiple QTP scripts one after the other without manual intervention? How?
when to start the automation?
What is quick test pro?