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

Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

1787


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

2053


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

2585


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

1836


In html file what is an ideal position to include vbscript?

1076


How regexp.execute method works?

811


What is difference between vbscript and vba?

851


What are class events?

757


Explain about scrrun.dll in vbscript?

864


How will you get a string with the specified character the specified number of times in vbscript?

780


Mention how to create a cookie using vbscript?

732


Explain the .wsf files?

714


Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function

2117


How to get the length of the string by making use of the string function?

814


Can u describe what kind of testing are for OTC derivates by banks.

1873