ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Scripts >> VB Script
 
 


 

 
 PHP interview questions  PHP Interview Questions (658)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (174)
 VB Script interview questions  VB Script Interview Questions (342)
 JSP interview questions  JSP Interview Questions (100)
 Shell Script interview questions  Shell Script Interview Questions (158)
 Python interview questions  Python Interview Questions (5)
 Tcl interview questions  Tcl Interview Questions (19)
 Awk interview questions  Awk Interview Questions (6)
 AJAX interview questions  AJAX Interview Questions (24)
 Ruby on Rails interview questions  Ruby on Rails Interview Questions (21)
 Scripts AllOther interview questions  Scripts AllOther Interview Questions (48)
Question
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")
 Question Submitted By :: VB-Script
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
Hai Quick-test Professional,

For your kind information i want to say you that VB Script
does not support Descriptive programming

But Descriptive programming full-support the VB Script

i mean that if you write this code in QTP which support both
Descriptive programming and VB Script you are sucessfull

but if you write this code in .vbs File which is pure VB
Script then you got the ERROR.
You just observe that .VBS File only shown error on that
line of code in which you write DP Proggraming

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

you got ERROR only in this line because you was not use VB
Script here you was only use DP in this line
 
Is This Answer Correct ?    4 Yes 0 No
Shashank Shekhar Raj
 
Answer
# 2
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
Santosh.qtp
 
 
 

 
 
 
Other VB Script Interview Questions
 
  Question Asked @ Answers
 
Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance.. Amazon 9
which is the bset training centre to learn automation tools?   2
Hi, Anybody could tell me What is the 3rd Largest Number in the series..Thanks in Advance.. Amazon 1
write a vb script to generate 3*3 matrix   1
Which is the default Data types in VBScript?   4
pls tell me which is good book or site for vbscript? Mind-Tree 1
How to get the background color of a weblist? Accenture 2
write a vbscript for finding the sum of the numbers from 1- 50   3
Write a Fucntion to close all Opened browser expect desired one? Ness-Technologies 2
how to validate the text in a web table mphasis 1
write a vb script to display the reverse of vbs   2
What is the use of "Option Explicit"?   2
 
For more VB Script Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com