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

1. How to capture data from images in QTP and produce them in Excel sheet

1 Answers   Broadridge,


does qtp runs on internet explorer 7.0

5 Answers   BeBo Technologies,


Your roles and responsibilities and daily tasks? (As automation tester)

0 Answers   Oracle,


QTP identified the object but not performing the desired action???what could be the reason?????

1 Answers   Mphasis,


How many check points are there in QTP and what are they?

5 Answers  


What does it mean when a check point is in red color? What do you do?

0 Answers  


Explain about Test Fusion Report of QTP?

0 Answers  


what is mean by output parameters? I need full description with example. tell me any one please

1 Answers  


how can we handle errors other than using recovery scenerios in qtp

0 Answers  


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

1 Answers   TCS,


QTP WAS WORKING FINE BUT TODAY I GOT THE ERROR , THE MEMORY COULD NOT BE READ -REFERENCE MEMORY ,pPLEASE REPLY URGENT WHAT IS THE SOLUTON

1 Answers  


How to handle the exceptions using the recovery scenario manager in qtp?

0 Answers  


Categories