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 will you get a string with the specified character the specified number of times in vbscript?

579


What is sql loader? Explain the files used by sql loader to load file?

624


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

561


Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks

1728


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

12906






How will you check that a variable is an array in vbscript?

546


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

1758


Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

1877


how to increasing the numbers in a given text box please write a vb script

1706


how to acces the remote mechine using vb cript(QTP)

1607


Explain about filter expression?

569


What are the data types supported by vbscript?

582


Explain the tristate constants in vbscript?

563


Mention how you can call vbscript functions?

585


Mention what is the main difference between function and sub-procedure?

553