Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?


Answers were Sorted based on User's Feedback



Can we do qtp testing without creating objects in Dbject repository? can we do it completely writi..

Answer / visualsoft

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 ?    12 Yes 0 No

Can we do qtp testing without creating objects in Dbject repository? can we do it completely writi..

Answer / neel

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 ?    3 Yes 0 No

Can we do qtp testing without creating objects in Dbject repository? can we do it completely writi..

Answer / sani

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 ?    2 Yes 0 No

Can we do qtp testing without creating objects in Dbject repository? can we do it completely writi..

Answer / sahana

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

Can we do qtp testing without creating objects in Dbject repository? can we do it completely writi..

Answer / alliance info

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 2 No

Can we do qtp testing without creating objects in Dbject repository? can we do it completely writi..

Answer / jeevan

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 4 No

Can we do qtp testing without creating objects in Dbject repository? can we do it completely writi..

Answer / sahana

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 10 No

Post New Answer

More QTP Interview Questions

Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?

1 Answers  


If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP

0 Answers   HP,


What is the main difference between desriptive programming and generic functions

2 Answers   HCL,


Describe how Smart Identification is used

0 Answers  


Explain how you can replace string in qtp?

0 Answers  


What is difference between run time object and test object?

0 Answers  


Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?

2 Answers  


How many types of parameters are available in quicktest professional (qtp)?

0 Answers  


1)what is the Exact Meaning of Environment Variables? 2)what is Compile Module in QTP? what exactly it contains Functions or Actions?

4 Answers  


How you debug your script?

0 Answers  


what is the defference between QTP 8.2 and 9.0and 9.2? plz tell me

6 Answers  


how to test one edit box using Java addin for Web Applications? write script?

1 Answers   IBM,


Categories