What does VBS file contain..? what is VBS file.?

Answer Posted / chellam k

VBS files contains all the reusable functions which we are
using in our scripts.
we can store our funtions in a notepad or editor plus and
save it using .vbs file extention.
In QTO go to test setting -->resources--> add ur funtions
and save ur script.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ‘object spy’ and what is the function of object spy in qtp?

770


If I change the property value at runtime is it effect is object repository?

841


Explain about the test fusion report of quicktest professional?

748


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

3243


Explain about business process component? types and usage?

1782


How can you identify the browser and its information using QTP script?

784


Where to use Property Let, Property Get, Property Set in UFT

594


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1892


What is the differences between image check point and bit map check point?

789


Mention what are the different types of recording modes in qtp? Which will be used when?

785


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1679


Can you list some technologies that support qtp?

754


How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

4006


what is clean sweep?

1722


Explain how qtp identifies object?

834