for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Hello Everybody,
I am not able to open the object repository using this
syntax, I am getting error "Type mismatch".
please provide me an example by taking any path of the
object repository.
Thanks in advance,
Gaytri
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Hi Gaytri,
This code is perfact--
1. Recodr the Loging scenario of Flight Reservation
2. Save the OR in a place
3 Then Delete the OR
The write the code
Set objnew = CreateObject("QuickTest.Application")
objnew.Test.Settings.Resources.ObjectrepositoryPath
="D:\Documents and Settings\bimanr\My
Documents\Bim_QTP\Test-OR-withshared.tsr"
Set objnew= Nothing
SystemUtil.Run "D:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe","","D:\Program
Files\Mercury Interactive\QuickTest
Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set "biman"
Dialog("Login").WinEdit
("Password:").SetSecure "4694dfafd6fdee359968e66ecfe222e271e
5a424"
Dialog("Login").WinButton("OK").Click
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Hello Biman,
I tried to execute the same steps as per mentioned by you
in QTP 9.2 , but on executing I got the error "Object Does
Not support thir property or method" at this line
objnew.Test.Settings.Resources.ObjectrepositoryPath
="D:\Documents and Settings\bimanr\My
Documents\Bim_QTP\Test-OR-withshared.tsr"
SO kindly let me know where exactly the problem is in my
code.
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Dim qtApp 'As Application
Set qtApp = CreateObject("QuickTest.Application")
Set qtRepositories =
qtApp.Test.Actions("Action1").ObjectRepositories
qtRepositories.Add "C:\Documents and
Settings\n\Desktop\arun.tsr", 1
it will work 101% :)
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Guys...if u r using 9.2 or Above...
repositoriescollection.Add <"Repositoy path\rep.tsr">
check this. it will load specified Object Repository
during run time.
If any queries...
nanda.dreddy@gmail.com
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Re: for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
QTP
1.What type of bugs u commonly find in u r project?
2.what is agile testing explain with example?
3.application is given req n functionality r missing then
how can u start testing?
4.what r the types of defect tracking tools?
5.what is functionality testing?
6.what is change req how u use it?
7.diff bet gul n functional testing?
8.test cases for IE 6.0?
9.where do u store test cases?
10.what r design objects in qtp?
11.what r 5 types of objects in qtp?
12.how to change .mtr to .tsr n vice versa?
13.in which situations qtp will not recoznize objects?
14.how to call .vbs fuctions, library files in qtp?
15.if 10 windows r ope write command to close all windows in
qtp?
16from what stage u start automation in u r project?
17.what is VSS? it is usedin automationr manual?
18.size of object repository?
19.how to conduct GUI testing n performance testing on
MS-Word? what r performance TEST CASES?
20. use of virtual objects explain?
21.how to connect buzilla with qtp?
22. what is API ?
23.how to merge 2 object repositories in qtp?
24.what is recovery scenario manager?
25. diff bet link n hyper link?
26.diff bet test case n test case scenario?
27.what is relational testing?
28.where do we write test cases?
29.what is base line in testing?
30.what r key process areas(KPA) in u r company?
31.what is hot fix?
32.what is sql injection?
33.what is valnerability?
34.what is TOM in qtp?
35.can we do qtp testing with out creating objects in object
repository? can we completely write code in expert view only?
36.where we cant do automation testig? give example using OR
is a advantage r a disadvantage?
My company has recently started using Ajax for building UI
and QTP is nor recognizing the drop down list for
selection.It recognises it as a general Web Element or Web
Table. I have added individual selections from the drop
down as web Table. It works as long as the page is not
refreshed. I need some help and inputs as to how to make
QTP recognise a drop down list for selection. Any help will
be appreciated.
I am Using QTP 9.1 version. I have created a Shared Object
Repository. The size of Shared Object REpository is 9 MB.
In my system i am able to execute the script very flexibly
and it is very fast. But if i copy the same code into other
system with the same configuration, it is executing very
slowly(i.e dam slow). It is not happening in all machines
it is in only some machines. Can please any one give th
esolution. It is high priority to me as i need to give demo
to client on their machines.
i this is balaji from chennai i have 4 yrs exp in testing
and my qualification is bsc computers i completed in
correspondace in which companiies accept the correspondace
plz let me know
If a script has a local repository and also uses a shared
repository, which repository will QTP use first when
searching for an object during playback?
Write a Script With descriptive programming(Without
Repository) to update an
Update an order in Flight App and verify whether it is done
successfully.(Use ChildObjects method)