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 |
i have developed the below QTP script to count the no of items available in the web list "Select a product" in www.bankrate.com and also want to print what are the items??? can any one help me to rectify the below script??? SystemUtil.Run "iexplore.exe","www.bankrate.com" a=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetTOProperty("items count") msgbox a Dim List() ReDim List(a-1) For i = 1 To a List(i-1)=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page ("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetItem(i) Print List(i-1) Next
Can anyone send me a vb script function for verifying the functionality of active links on a web page
how does vb script help in web page designing? explain with example.
How are values assigned to string type and numeric type variables?
How can you create an object in vbscript?
what is visual basic?
How to open browser in vb script?
If else for do while select in vb script?
If anyone knows abt Test Complete material, Pls let me Know. if u have any material or any documents..... Pls mail me on this mail Id...... This is very Urgent Requirment..... for my Project.....
please can you help me to get a code of flames using a visual basic 6
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?