How do we call Library Files(.vbs) in the Test Script

Thanks in Advance...


Answer Posted / ram.polavarapu

we need to associate file to qtp and
call function name


executefile "path.vbs"

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to remove the associated function library?

524


please post the interview questions for QA position in FACTSET

3940


If created one virtual object? Next time I changed the window position will it work?

570


How do you check ticket cost and ticket number in flight application?

579


What are output values and why they are used ?

619






What is the process of synchronizing qtp and aut?

566


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

1442


diff between qtp versions from 8.5

1559


how u will evaluate the tool for test automation?

1361


What is the difference between rational rose and QTP?

1775


How many types of actions are there in quicktest professional (qtp)?

526


Will down time for server and content maintenance/upgrades be allowed? how much?

609


Explain the features and benefits of quick test pro(qtp)?

508


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1397


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3260