how to add the shared repository file to the script file
while running the script manuall
Answers were Sorted based on User's Feedback
Answer / manohar
Repositoriescollection.add "path of repository file"
or
Go to Resources tab > Object Repository > Click "+" symbol
and browse path of repository file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / manjunathareddy
Set QtApp=CreateObject("QuickTest.Application")
If Not QtApp.Launched Then
QtApp.Launch
QtApp.Visible=True
End If
Set QtRepo=QtApp.Test.Actions(ActionName).ObjectRepositories
QtRepo.RemoveAll
QtRepo.Add "C:\Test.tsr",1
'Note:--Action Name is Depends on ur Script name or give
numbers like 1,2,3
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the 2 ways to pass a value to the function?
How do you get the value of a combo box in Javascript?
What is loose binding? Why is it not a good practice to use it?
I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong
Could Anybody tell me VBScript for Check if a given number is Prime number-Don't use any Built- in Functions Boolean/int is Prime(int number).. Thanks in advance.
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
What are subprocedures in vbscript?
What is the difference between javascript and vbscript?
Why is it recommended to close the database connection every time after the work is completed?
What are class properties?
Create a file system object to do the following i. Create a folder ii. Create a text file in the folder iii. Update text file with some tex
input values to accept 2 numbers & print the product, difference and sum using switch case