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
What is debugging? How you debug your script?
How can you close the second opened browser?
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
How to use actions in qtp ?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
Is it possible to switch between recording modes during a test creation?
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
What is the syntax to call one script from another?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
By using QTP can we record any log files written by the application which is in execution?
How to get the particular property value?
How to record a qtp script ?