What does VBS file contain..? what is VBS file.?
Answers were Sorted based on User's Feedback
Answer / sreeprasad
vbs file contains the user defined functions which are
reusable that can be used in our test or compnent according
to our requirement
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Answer / alim
its is script file extension
for funtions .qfl ext is used
| Is This Answer Correct ? | 1 Yes | 0 No |
what is Function Definition Generator? can any one explain me in details?
Which property will you use to check the object state? (Exist)
How to replay a script in qtp?
What is Descriptive Programing? In which cases, we will go for descriptive programing?
i've installed qtp9.2 on Windows 7. Recording and everything no problem. But when i am saving the test, it is not happening. it says 'general error while saving'. But teh test is getting saved but as a folder with lock icon. When i wanted to open it, it is jst showing as a locked folder but not as a test. Somebody help me out plz
Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???
Why u don’t like recording the script and writing the script
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
What exactly is the difference among all the three recording modes.
in qtp how we work with out put values and what is the process?
What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance..
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma