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

how to convert 100 into hundred repees only and viceversa

0 Answers  


In Remote acess server how u run a test?

0 Answers  


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

4 Answers   Ordain Solutions,


How many types of parameters are available in quicktest professional?

0 Answers  


hi, In A Table there are some columns and dynamic rows and in each row in first column there is a link with name. upon clicking on that link it will show some details. write the vbscript to check that link without descriptive programming?

2 Answers   HealthAsyst,






4. How u will open the build automatically in QTP except using Systemutil.run command

4 Answers  


We are calling Actions in Expert View by using Run Action.but i want to know where we are saving the Actions Scripts.Pls explain??

1 Answers  


How to record objects of Windows taskbar

2 Answers   RoboSoft,


explain keyword driven framework?

2 Answers   Mindlance,


How to export data present in Datatable to an ".xls" file?

2 Answers  


Give me some real time point of way where exactly we can conduct audits?

0 Answers   CTS,


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

0 Answers   Cap Gemini,


Categories