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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   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
Can we do qtp testing without creating objects in Dbject 
repository? can we do it completely writing code i.e in 
expert view only. Are there any books for this?


 Question Submitted By :: Jeevan
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?
Answer
# 1
i feel object repository is a must.bcoz whatever 
recording,debugging etc are to be  done they r done on 
these application itself which r available in the 
repositoy ......so why do u want to do coding....???
 
Is This Answer Correct ?    1 Yes 2 No
Sahana
 
  Re: Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?
Answer
# 2
Hi Sahana,


Hey good question, but we do not have application ready. we 
are creating mock pages and meanwhile we want to keep the 
scripts ready. so once the application is ready we will run 
the scripts immediately..

Jeevan
 
Is This Answer Correct ?    0 Yes 1 No
Jeevan
 
 
 
  Re: Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?
Answer
# 3
hey jeevan...


how big is ur application...??how many test cases r 
tr??...have u previously dealt with qtp??.if yes then u 
must be knowing....if u just record the appln..and run ur 
appln...within matter of seconds u get the results for a 
smaller appln..otherwise it may take a couple of 
minutes...but i dont understand why u want to get into 
scrpting and all?
 
Is This Answer Correct ?    0 Yes 1 No
Sahana
 
  Re: Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?
Answer
# 4
Yes, we can automate even without adding objects to object 
repository. This can be done using descriptive programming, 
but u should get the properties of the object from 
developers.

Set object=Description.Create()
Object("htmltag")value=something(as given by developer)
Object("micclass").value=Edit box

Bowser("something).page(Object).click

so that it will identify the obejct even it is not added to 
object repository
 
Is This Answer Correct ?    3 Yes 0 No
Visualsoft
 
  Re: Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?
Answer
# 5
It is possible using descriptive progarming where in the 
GUI objects in AUT can be identified by directly feeding 
the object properites and values in runtime.
 
Is This Answer Correct ?    1 Yes 0 No
Sani
 
  Re: Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?
Answer
# 6
yes we will create objects by using DP (descriptive
programming) 

'here no need of o.r
'cp the general recorded program in new test
'then write the dp
'tools>object spy>click on the hand button>test object
properties in object spy>name

For Eg:

dialog("text:=Login").Activate
dialog("text:=Login").WinEdit("attached text:=Agent
Name:").Set "user"
dialog("text:=Login").WinEdit("attached
text:=Password:").Set "mercury"
dialog("text:=Login").WinButton("text:=OK").Click
 
Is This Answer Correct ?    0 Yes 1 No
Alliance Info
 
  Re: Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?
Answer
# 7
hey we can write script with the help OBJECT SPY.
Navigation--->tools>object spy....By clicking this a wndow 
will appears>>Click on the hand icon and click on the 
application which we intend to write script..There you will 
find the objects with the properties and methosd..with the 
help of that you can write script..
 
Is This Answer Correct ?    0 Yes 0 No
Neel
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
After Creation of your QTp frame work, The folders are saved in VSS or Other. plz explain brifly? Infosys3
How can we display the names of the buttons in the toolbar of a webpage  1
Have you used TD?  1
Explain the concept of object repository & how QTP recognises objects?  1
what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs  1
I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded? Syntel4
I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In the next release the Name Property is same but the index property is changed.when i run the script will the script Pass or Fail ADP6
What do you do if QTP doesn't recognize object ,what action should be taken Lehman-Brothers9
how can i replace any text from the qtp script with some anothere text Livetek1
Can we do Load Teting with QTP?  10
How can i count the list box elements in QTP ?using script plz explain me (Chandana) Wipro6
any challange that faced in your project? (please give me some examples in your project?  1
How do you connect to database ,What is the script to connect DATA BASE? Nokia2
In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??  4
3. How to handle the exceptions using recovery secnario manager in Qtp? Wipro2
Once we get the Test Result from QTP.,I Have to convert into Excel file format..Is it possible..Can any gudie me regarding this... For Example : Total Test Case is : XXXXX Test Case passed : XXX Test Case Failed : XXX -------- Total XXXXXX ---------  6
i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no? IBM6
1. How can we use same object repository and Testscript which is in English flavor to check the application in different languages thru QTP?(Chinese,Dutch,French) - I generated script in english and want to use the same script with different languages? - for windows i used regular expressions - I need for edit box,button and combobox, (English,French,Dutch,Chinese) These are the properties of a button in different languages Properties English Dutuch Chinese French x 400 758 631 601 y 673 603 592 676 windowstyle 1342242816 1342242816 1342242816 1.34E+09 windowid 2 2 2 2 windowextended style 4 4 4 4 width 120 120 120 120 visible TRUE TRUE TRUE TRUE righttoleft reading FALSE FALSE FALSE FALSE righttoleftlayout FALSE FALSE FALSE FALSE rightaligned FALSE FALSE FALSE FALSE regexpwndtitle cancel Loschen Chinese language Annuler regexpwndclass button button button button objectclass button button button button hwnd 132872 657228 656932 656782 height 33 33 33 33 focused FALSE FALSE FALSE FALSE enabled TRUE TRUE TRUE TRUE attached text abs_y 669 599 627 597 abs_x 396 754 588 672 text cancel Loschen Chinese language Annuler nativeclass button Button ordinal Identifier type,Value none none none none smartidentification FALSE FALSE FALSE FALSE comment TCS1
how we connect oracle or sql data server database to qtp Tanla-Solutions2
what is smart identification?  6
 
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