How to write Descriptive programming in .VBS file
i wrote this code but it is giving error..
Dim qtApp
set qtApp=createobject("QuickTest.Application")
qtApp.Launch
qtApp.Visible=True

Set objIE = CreateObject("InternetExplorer.Application")
objIE.visible = True
objIE.Navigate "www.gmail.com"

browser("title:=gmail").title("title:=gmail")

Answer Posted / santosh.qtp

i am able to open a browser...
but i am not able to user browser object and wait object in
.vbs...

Please tell me how to use the qtp objects in .vbs file ...

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you create an object in vbscript?

616


Mention characteristics of sub procedures?

580


How will you convert a string to lower case string using vbscript?

560


How can you fetch the value of a cookie?

550


Explain about tristate constants in vbscript?

618






Write a code to print numbers from 5 to 0?

676


what types of bugs will we find out in banking projects for automation testing?

1767


How will you convert a string to upper case string using vbscript?

557


why do u choose to go for testing why cant for devoloping

1594


I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent

1772


What is the difference between vbscript and vba?

604


when we use filter funtiom invb script(QTP)

2304


How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

2904


how to set one column as primary key in QTP and fetch values accordingly

1822


What are the properties of regexp object?

581