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   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How do we create and run the scripts with out using O.R. ?
 Question Submitted By :: Usha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do we create and run the scripts with out using O.R. ?
Answer
# 1
Using descriptive programming, you can define all the 
objects in the script itself..you dont necessarily need to 
use OR for that...
 
Is This Answer Correct ?    2 Yes 0 No
Rav
 
  Re: How do we create and run the scripts with out using O.R. ?
Answer
# 2
Thank you for the answer. Can u please give me an example 
so that I get a clear Idea ?
 
Is This Answer Correct ?    1 Yes 0 No
Usha
 
 
 
  Re: How do we create and run the scripts with out using O.R. ?
Answer
# 3
dialog("regexpwndtitle:=login").winedit("attached 
text:=Agent Name:").set "raju"
dialog("regexpwndtitle:=login").winedit("attached 
text:=Password:").set "mercury"
dialog("regexpwndtitle:=login").winbutton
("regexpwndtitle:=ok").click
window("regexpwndtitle:=Flight Reservation").ActiveX
("acx_name:=MaskEdBox").Type "080808"
window("regexpwndtitle:=Flight Reservation").wincombobox
("attached text:=fly from:").Select "Denver"
window("regexpwndtitle:=Flight Reservation").wincombobox
("attached text:=fly to:").Select "London"
window("regexpwndtitle:=Flight Reservation").winbutton
("regexpwndtitle:=flight").click
 
Is This Answer Correct ?    2 Yes 1 No
King
 
  Re: How do we create and run the scripts with out using O.R. ?
Answer
# 4
We can create and run the scripts without Object Repository,
Object Repository is nothing but collection of properties 
and corresponding values. Each collection represents an 
object.
Descriptive programming is a way of specifying properties 
and values without using the OR interface.
Throwing the properties and values straight into the 
command.

Ex:
Systemutil.Run"www.mail.yahoo.com"
Set a=Browser("name:=Yahoo!.*").page("title:=Yahoo!.*")
a.WebEdit("name:=login").Set "yourusername"
a.WebEdit("name:=passwd").Set "xxxx"
a.Webbutton("name:=Sign in").Click

You can try this code.It should work if you provide valid 
username and password.
Let me know still if you are not clear on this.
 
Is This Answer Correct ?    0 Yes 0 No
Rani
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Using Object Repository is a advantage or disadvantage? Wipro5
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()  1
Where can i get the QTP tutorials. I wanna move to automation testing. Is there any book or URL, where i can find the source to read...  1
what is the difference between Reusable action and external action? HCL1
hi Sudhananda reddy, in my resume, i written as , I Am working as a Test Engineer for xyz company. IS IT RIGHT OR WRONG? WHAT IS THE ACTUAL meaning of "IN XYZ COMPANY", "FOR XYZ COMPANY", "WITH XYZ COMPANY".  2
Hi All, I want to know how can we schedule QTP scripts. Am using 9.5 version and in our office they want to schedule individual scripts of QTP so that it can run unattended during night time, Please help me how to do that. 2. what is the use of silent test run in qtp can I schedule the scripts in Silent runner, Please explain. 3.I retrieved data from the database using output value -> Database output value. the result of the query for eg is 5 rows, iam able to output the first row by selecting the cols and adding it to output, but am not able to do it for the rest of the rows. please tell me how to do it. Sorry for posting so many qns, am not able to find answ to any of the above in any websites, hoping that someone would really help me with these here, please help me. awaiting for ur immediate revert. Priya  4
Hi,EXCEL SHEET AND DATA TABLE . BOTH ARE SAME OR NOT?  3
What is the Test Object model in QTP?  3
How to make Shared object repository in qtp 9.1 and 9.2?  2
When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?  5
what is main diff of qtp8.2 and qtp9.0? Covansys1
How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani. CSC2
wht is the difference betn check point and output value? BirlaSoft4
How to handle recovery scenario for a application crash.write script for this. Polaris2
Suppose Object name was changed in the application in the second build.I have just modified the name in the Object repository as changes in the Application. Is it possible to accure changes in the script accordingly? If so Suppose I am calling the script through function, Will the changes affect in the script(which is in the function)automatically? If not affected, tell me the solution,How to handle this. How should I change the object property name while using functions Livetek4
What is the maximum size of Object Repository in QTP 8.2? Mphasis4
hi all need one help . i want scroll down and up but thing the holl page is taking webtable. i need to scroll down and up using scroll tab any bodu knows plz help its urjent regards balaji  5
Pls answer this: What is the difference between a subroutine and a function? A. A subroutine can call itself; a function cannot B. A function returns a value; a subroutine cannot C. A function can accept arguments; a subroutine cannot. D. A subroutine can call other procedures; a function cannot.  1
Tell me the QTP Advantages and Disadvatages ? Accenture3
what is the general issues faced while using automation tool Qtp9.0 TCS1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
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