ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories >> Software >> Testing >> Automation-Testing >> QTP
 
 
 
Question
Can i run the qtp, without OBJECT REPOSTIRY...
 Question Submitted By :: Srinivasan
I also faced this Question!!     Rank Answer Posted By  
 
Answer
Hi Srinivasan!
Identification can be done using descriptive programming.
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.
 
0
Lokesh Kanithi
 
View All Answers
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com