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 do u retrieve data from a text file into different variables. i.e. in a text file named "source" , the data is like : india,1000,japan,200,china,50,singapore,45050 this is given in the first line of the text file. in the second line of the text file the dta is: sun,moon,planet,river,earth,water if u use "readline" method by using FSO concept u can retrieve the entire line in to a variable. but i want to import each field (ex: "india" in one variable, "1000" in another variable etc..). Apprecitae proper replies.

5 Answers   Semantic Space,


Mention the test steps of qtp.

0 Answers  


Suppose u write test case in Excel sheet . how u open that test case in Test Director?

4 Answers   Ordain Solutions,


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

0 Answers   IBM,


How to build scripts that access data from external sources?

0 Answers  






How the QTP recognize, handle n reports that a error has been handled by it(QTP) when we perform a recovery scenario in our application n in what manner it will display it in resulting window? Plz help me out.

1 Answers  


What are the main features we have to compulsory test by using qtp in an web based application

1 Answers  


why we are using environment variables instead of global variables?

1 Answers   TCS,


how to test a java project throughqtp?while testing a vb project we generally do vb scripting. but while testing java project do we use java script .plz some one can send me the manual for it my email roy_samata@yahoo.com thanks in advance

1 Answers  


Hi i have a webtable which is having 7 columns and 6 rows of data in that table of 4th and 5 th column each row is partiotioned into 3 sub rows i want to verify in each partitioned rows of corresponding row for ex values will be like this 0 / 1 ,26/28.if it is 0/1 i want to skip only if any num/num greater than 1 i want to click.

1 Answers  


How many ways we can parameterize data in QTP ?

9 Answers  


what is parameterisation?

3 Answers  


Categories