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
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Where you are storing your script?
What is Version control?
How will you handle the situation when object is not captured during record?
How to record a qtp script ?
I want to know how to execute the descriptive programming in qtp for the webedit object which does not contain attached text property. but i have checked it with name and html id property. Even though it is not executing. it is giving error in object's physical description.
Hi Friends...this is surendra..recently i joined automation team ...Please send me some documents regarding VB script ...and where can i learn VB script... This is My mail id: surendra.mamilla@gmail.com... please send to my mail.... Thanx in advance surendra.
In QTP, As a first step wht we will do before going to start a Automation....when it will be decided that we have to go for a Automatio..and who will decide to go for Automation. Any body can pls let me know.. Thanks in Advance..
can i compare two databases using QTP ?
How can we import a Open Office excel file in QTP
What are the recording modes in wave event?
How does QTP identifes the object in the application?
How to Parameterize Object repository in QTP?