How to load a object repository(using VBScript) ... very
urgent....
Answers were Sorted based on User's Feedback
Answer / naag
Adding Object Repository Dinamically:-
U can Follow the Obove Answer(by creating a Quick Test
object and accessing)OR
Simply Write the script As Follows
RepositoriesCollection.Add "The Path of the Repositoryfile"
The Repository file will be added at runtime.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / sushil
Dim app
Set app =CreateObject("QuickTest.application")
app.test.settings.resources.ObjectRepositoryPath
= "C:\Documents and Settings\\aa.tsr"
| Is This Answer Correct ? | 2 Yes | 4 No |
what is the extension for QTP files?
16 Answers American Solutions,
what are the files created after executing QTP script file, please specify the file names with extensions
Hi i want to export the data from applicatioon to excel and later i want to import and use it for my scripts hoe can i do this?
Iam trying to write script for Rediffmail Page,in doing so the script line for go button is not accepting. Is their any other way other than . Browser("micClass:=browser").Page("micClass:=Page").Link ("micClasss:=Link","name=go")
what is verification & validation?
1>why parameterization is necessary in qtp? 2>if we give constant value then what problem?
.mtr ( modular test repository or mercury test repository) plz give correct answer??
can a Function return more than one value..??? if so please give me the code for that.
5 Answers DST Global Solutions,
What is the difference between wait and synchronization point?
I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .
What are the types of Object Repository’s in QTP?
How do you return a value for an array.