The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP Functional Testing / Mercury QuickTest Pro / QTP

Pages: 1
sachxn
Member


Reged: 04/24/07
Posts: 28
object repositories in QTP 9
      #376848 - 04/30/07 01:15 AM

how many shared object repositories can be associated with action in qtp 9.

Please guide if and only if someone knows the answer, otherwise don't try to be like "IanF" who did not know the answer but just locked my thread.

the proper way is he should have asked before locking the thread whether I knaw the answer or not, he just THOUGHT that I know the answer and locked my thread. It should not be a thread of dictators but a thread of technical gurus.

I am waiting for your valuable replys

thanks a lot.

--------------------
Sachin
<a href="http://qtp.blogspot.com" target="_blank">http://qtp.blogspot.com </a>

Edited by Tarun Lalwani (04/30/07 01:19 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Tarun LalwaniModerator
Veteran


Reged: 07/21/05
Posts: 15329
Loc: Milwaukee, Wisconsin
Re: object repositories in QTP 9 [Re: sachxn]
      #376849 - 04/30/07 01:19 AM

Don't use ALL CAPS in your post...

--------------------
Regards,
Tarun
** First ever technical novel - And I thought I knew QTP! **
** Download QTP Unplugged 2nd Edition eBook for FREE **

KnowledgeInbox RSS


Post Extras: Print Post   Remind Me!   Notify Moderator  
rscholz660
Super Member


Reged: 12/05/06
Posts: 1556
Loc: Germany, Dresden
Re: object repositories in QTP 9 [Re: sachxn]
      #376851 - 04/30/07 01:22 AM

Quote:

how many shared object repositories can be associated with action in qtp 9....




how many repositories you want to add to your scripts at the same time?
whats the limitation YOU know?

--------------------
http://qcmt.pc-polis.de

de omnibus dubitandum

For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this


Post Extras: Print Post   Remind Me!   Notify Moderator  
sachxn
Member


Reged: 04/24/07
Posts: 28
Re: object repositories in QTP 9 [Re: rscholz660]
      #376862 - 04/30/07 02:10 AM

I dont think it is mentioned in user guide for qtp 9. I have tried to search this on google, it did not provide any help.

I dont know the answer that is why I have asked this question here otherwise why would I waste my time. I have read much about OR's in qtp 9 but this question is still unanswered.

--------------------
Sachin
<a href="http://qtp.blogspot.com" target="_blank">http://qtp.blogspot.com </a>


Post Extras: Print Post   Remind Me!   Notify Moderator  
robbiewinston
Super Member


Reged: 03/06/06
Posts: 1554
Loc: Bristol, UK
Re: object repositories in QTP 9 [Re: sachxn]
      #376864 - 04/30/07 02:21 AM

Why do you need to know this? How you experienced problems?

Post Extras: Print Post   Remind Me!   Notify Moderator  
rscholz660
Super Member


Reged: 12/05/06
Posts: 1556
Loc: Germany, Dresden
Re: object repositories in QTP 9 [Re: robbiewinston]
      #376865 - 04/30/07 02:32 AM

the maximum i have used was 4(!) repositories for 1 action, the most testcases and actions are scripted with 1 or 2 repositories. i think in a real practical environment you will never reach the limit of assigned repositories.

but if there are a real problem you should ask mercury (sry, HP) for this topic. only the developers of QTP are knowing the exact value for this

--------------------
http://qcmt.pc-polis.de

de omnibus dubitandum

For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this


Post Extras: Print Post   Remind Me!   Notify Moderator  
IanFraserModerator
Super Member


Reged: 07/11/04
Posts: 2112
Loc: Brisbane
Re: object repositories in QTP 9 [Re: sachxn]
      #376869 - 04/30/07 02:50 AM

I gave my reason for locking the original post. The poster should declared that this info was headed straight to his blog. There have been a few cases lately of people claiming the work of others as their own.

I thought this was another example of that if I was wrong I am sorry...

The blog

http://qtp.blogspot.com/

--------------------
You can buy my Art from: "Post Cards now available"
Ian Fraser Landscape Photography
World Wide Shipping.

http://mowogman.wordpress.com/

Edited by IanF (04/30/07 02:52 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
sachxn
Member


Reged: 04/24/07
Posts: 28
Re: object repositories in QTP 9 [Re: IanFraser]
      #376875 - 04/30/07 03:38 AM

Hi IanF,

I am sorry too if I sounded harsh. Any body in my place would have done this.

waiting for all the valuable replies.

sachxn

--------------------
Sachin
<a href="http://qtp.blogspot.com" target="_blank">http://qtp.blogspot.com </a>


Post Extras: Print Post   Remind Me!   Notify Moderator  
mwsrossoModerator
Veteran


Reged: 09/30/01
Posts: 4974
Loc: Doncaster, UK
Re: object repositories in QTP 9 [Re: sachxn]
      #376878 - 04/30/07 03:53 AM

sachxn, your previous post "who the **** is ****" was edited, this one was locked, not a good start in my book. IanF is a valued moderator of this forum, he works hard to make this an essential aid to budding QTP automators.

as to your reply "Any body in my place would have done this"...... NOBODY in your place would have done this if they knew how much time and effort Ian puts into making this site one of the best QTP sites available.

I suggest you act like a 99.99% of members of this forum (learn --> appreciate --> contribute) or restrict your post to http:\\support.mercuryinteractive.com and wait 5 days for a poor reply (as opposed to waiting 5 hours for 3 good replies here).

Mark Smith.


Post Extras: Print Post   Remind Me!   Notify Moderator  
thorwathModerator
Veteran


Reged: 07/22/99
Posts: 3840
Loc: Grand Rapids, MI
Re: object repositories in QTP 9 [Re: sachxn]
      #376910 - 04/30/07 05:38 AM

Quote:


How many shared object repositories can be associated with action in qtp 9?





I have just spent some time today reading up on how to create a shared object repository in 9.x, and how share repositories can be mixed with an action's local repository. The example provided in the advanced features manual, showing the use of the OR Manager editor (pg 246) shows 3 shared repositories. Nowhere in the text did I find a limitation on the number that would be supported in a script action, so I am assuming the max number is larger than is practical.

If for some reason I wanted to find the finite limit I would contact Merc (and then post their answer here). If I wanted to ensure that limit was large enough for my planned design, I would create a shared repository and then break it into 50% more than I anticipated needing.

So, do the homework and get the answer, rather than asking others to provide this type of Mercury-undocumented answer for you--which may or may not be accurate.

-Terry Horwath


Post Extras: Print Post   Remind Me!   Notify Moderator  
mwsrossoModerator
Veteran


Reged: 09/30/01
Posts: 4974
Loc: Doncaster, UK
Re: object repositories in QTP 9 [Re: IanFraser]
      #376940 - 04/30/07 07:15 AM

Quote:

The blog

http://qtp.blogspot.com/




YIKES!

Ian I have never seen so much plagiarized material before!

Mark Smith.


Post Extras: Print Post   Remind Me!   Notify Moderator  
IanFraserModerator
Super Member


Reged: 07/11/04
Posts: 2112
Loc: Brisbane
Re: object repositories in QTP 9 [Re: mwsrosso]
      #377022 - 04/30/07 12:31 PM

Quote:

Quote:

The blog

http://qtp.blogspot.com/




YIKES!

Ian I have never seen so much plagiarized material before!

Mark Smith.




Yup

This is why I locked the first thread...

--------------------
You can buy my Art from: "Post Cards now available"
Ian Fraser Landscape Photography
World Wide Shipping.

http://mowogman.wordpress.com/


Post Extras: Print Post   Remind Me!   Notify Moderator  
sachxn
Member


Reged: 04/24/07
Posts: 28
Re: object repositories in QTP 9 [Re: IanFraser]
      #377067 - 04/30/07 09:55 PM

Hi mwsrosso

How are you.

Please let me know how would you write an unplagiarized material on QTP or Please please let me know any place on internet where I can find unplagiarized materials, articles on QTP 9. Let me know any of YOURS unplagiarized items on QTP.

I would be thankful to you.

--------------------
Sachin
<a href="http://qtp.blogspot.com" target="_blank">http://qtp.blogspot.com </a>


Post Extras: Print Post   Remind Me!   Notify Moderator  
sachxn
Member


Reged: 04/24/07
Posts: 28
Re: object repositories in QTP 9 [Re: sachxn]
      #377068 - 04/30/07 10:01 PM

Hi Ian

Yup

This is why I locked the first thread...


Is it a rule in this forum "that if someone has asked a question and he is also writing a blog, which some people feel is plagiarized that his question will be locked"

--------------------
Sachin
<a href="http://qtp.blogspot.com" target="_blank">http://qtp.blogspot.com </a>


Post Extras: Print Post   Remind Me!   Notify Moderator  
mwsrossoModerator
Veteran


Reged: 09/30/01
Posts: 4974
Loc: Doncaster, UK
Re: object repositories in QTP 9 [Re: sachxn]
      #377107 - 05/01/07 03:29 AM

Quote:

Hi mwsrosso
Please let me know how would you write an unplagiarized material on QTP or Please please let me know any place on internet where I can find unplagiarized materials, articles on QTP 9. Let me know any of YOURS unplagiarized items on QTP.
I would be thankful to you.




Unplagiarised, by that I mean writing information that you are familiar with, not copying peoples posts and passing them off as my own.

Mark Smith.


Post Extras: Print Post   Remind Me!   Notify Moderator  
mwsrossoModerator
Veteran


Reged: 09/30/01
Posts: 4974
Loc: Doncaster, UK
Re: object repositories in QTP 9 [Re: mwsrosso]
      #377109 - 05/01/07 03:33 AM

Here is something I'm working on that you will not find anywhere else, bona fide unplagiarised (my own idea/work). I't in it's infancy but the basic structure is there.

I'm writing a webpage from where you can launch a QTP script and set the number of iterations to run:

================================================================================
<html>
<head>
<title>test</title>
<script language=vbscript>

function Flights(fIts)

' Run the Flights test

Dim qtApp 'As QuickTest.Application ' Declare the Application object variable
Dim qtTest 'As QuickTest.Test ' Declare a Test object variable
Dim qtResultsOpt 'As QuickTest.RunResultsOptions ' Declare a Run Results Options object variable

Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object
qtApp.Launch ' Start QuickTest
qtApp.Visible = True ' Make the QuickTest application visible

' Set QuickTest run options
qtApp.Options.Run.CaptureForTestResults = "OnError"
qtApp.Options.Run.RunMode = "Fast"
qtApp.Options.Run.ViewResults = False

qtApp.Open "T:\Test Team\Test Tool Team\QT Scripts\Live\regression\UK\UK_OO_Flights", True ' Open the test in read-only mode

' set run settings for the test
Set qtTest = qtApp.Test
' Set iterations based on user input
numIts = UCase(fIts)
If numIts > "" Then
If numIts = "ALL" Then
qtTest.Settings.Run.IterationMode = "rngAll" ' Run All Iterations
Else
qtTest.Settings.Run.IterationMode = "rngIterations" ' Run only iterations 2 to 4
qtTest.Settings.Run.StartIteration = 1
qtTest.Settings.Run.EndIteration = fIts
End If
End If
qtTest.Settings.Run.OnError = "NextStep" ' Instruct QuickTest to perform next step when error occurs

Set qtResultsOpt = CreateObject("QuickTest.RunResultsOptions") ' Create the Run Results Options object
qtResultsOpt.ResultsLocation = "C:\Res1" ' Set the results location

qtTest.Run qtResultsOpt ' Run the test

MsgBox qtTest.LastRunResults.Status ' Check the results of the test run
qtTest.Close ' Close the test

Set qtResultsOpt = Nothing ' Release the Run Results Options object
Set qtTest = Nothing ' Release the Test object
Set qtApp = Nothing ' Release the Application object
End function

' Add hotels test launch code here
function Hotels(hIts)

MsgBox hIts

End Function

</script>
</head>

<body>
<H1> QTP Test launcher</H1><br><br>
<pre> Number of Iterations </pre>
<input type=submit name=Flights value=Flights onClick="Flights fIts.value"><input type=text name=fIts>
<br>
<input type=submit name=Hotels value=Hotels onClick="Hotels hIts.value"><input type=text name=hIts>
<pre> Enter a number or all </pre>
</form>
</body>
</html>
==============================================================================

Obviouly it needs a lot more work to add more scriptsd and runtime options but I think you will find it's not copied from anywhere.

Do you want to reciprocate with some of you original ideas?

Mark Smith.


Post Extras: Print Post   Remind Me!   Notify Moderator  
sachxn
Member


Reged: 04/24/07
Posts: 28
Re: object repositories in QTP 9 [Re: mwsrosso]
      #377112 - 05/01/07 03:46 AM

Hi Mark,

I started learning qtp just a couple of month back and not a pro in qtp and it was my idea that I will keep on posting my notes on internet in a way of blog or website. I am not a professional qtp expert as many of you there. I also do coding in many other languages. soon I will be reaching at expert(advanced) level in qtp.

I am fed up with this discussion,it was my mistake,I will not ask anything on this forum again.

please lock this thread also.

thanks in advance.

--------------------
Sachin
<a href="http://qtp.blogspot.com" target="_blank">http://qtp.blogspot.com </a>


Post Extras: Print Post   Remind Me!   Notify Moderator  
Turbografx
Super Member


Reged: 10/21/05
Posts: 1756
Loc: London, U.K
Re: object repositories in QTP 9 [Re: mwsrosso]
      #377114 - 05/01/07 03:47 AM

Oh no...sucker punched.

You will see that material appearing here next week :

http://qtp.blogspot.com/


Post Extras: Print Post   Remind Me!   Notify Moderator  
sachxn
Member


Reged: 04/24/07
Posts: 28
Re: object repositories in QTP 9 [Re: Turbografx]
      #377119 - 05/01/07 04:05 AM

Welcome Turboqrafx

this thread was only short of you. I am fed up with with this discussion. But I am not fed up with sucker and ****er like you. lets play.

--------------------
Sachin
<a href="http://qtp.blogspot.com" target="_blank">http://qtp.blogspot.com </a>


Post Extras: Print Post   Remind Me!   Notify Moderator  
thorwathModerator
Veteran


Reged: 07/22/99
Posts: 3840
Loc: Grand Rapids, MI
Re: object repositories in QTP 9 [Re: sachxn]
      #377128 - 05/01/07 04:41 AM

Someone please lock this thread so it stops appearing at the top of the list.

BTW: it is plagurized if it is cut and paste. If it is an idea rehashed in a new author's wording, I think not. We all stand on the shoulders of those who walked before us. I looked at this blog and can't tell which it is (perhaps because none of my ideas were worth a look?).

But then, here I am acting like one of the children...

Terry


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 85 anonymous users are browsing this forum.

Moderator:  IanFraser, Rajkumar_Rajangam, thorwath, TReddy, AJ, Tarun Lalwani, mwsrosso 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 12381

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5