| Other VB Script Interview Questions |
|| Asked @
|how to write code: to check whether the window of an
Application Under Test exist or not . plz give with example
|i need to login to my yahoo accoutnt using VB Script,
automating the operation of webobjects, even launching of
|How to learn VB Script, Since iam working with QTP. So i
need to learn VB script.
|What is the equivalent of VBScript?s On Error In Jscript ?
|I have string like hp company.print tis like company hp.write a program in vbscripting
|Is it possible to pass optional argument to function in vb
|what is diff b/n these 2 programs
1) for i=5 to 1 step 2
2_) for i=5 to 1 step -2
|how to get date format from system locale..format means
neither long nor shor... format from system locale. i need
like your date is mm/dd/yyyy formate or mm-dd-yy or with
time like that. how to get.
|give me an ex. of unoverloaded method?
|I am running a windows based application.While running the
script on QTP ,The Application pop-up an Error Message
as "object Disabled" in two different scenarios
Scenario 1-->The Application pop-up up a Message for Max
Session Reached(as the application is set to hold 2 session
and if if crosses the pre-defined limit then the error
Scenario 2-->When Network connectivity is disabled the
Application screen gets greyed out in colour with no
Now through Exception handling features in QTP ,we need to
do the following
For Scenarion 1-->Through Exception handling we need to
just accept the Message pop-up in the Application and and
resume with the call function as is
for Scenario 2--> Through Exception Handling featutes on
QTP we need to shut down the client , restart the client
and resume the call functions as it is
Note: The Application returns an Error Message as "object
disabled" in both the cases i.e for pop-up message and when
the Apllication getting greyed out due to Network failure
how can we enhance the script in such a way that for the
same error message retured by the application in two
different and how to handle them????
|In our application qtp unable to indentify the menu
items,we tried number of times to add objetcs into object
repository but fail. through normal recording mode only
objects going to add into repository but while running same
recording script qtp showing a error like " unable to
indentify the object". in repository there is no any
properties and pro values for that object and also i tried
with virtual object config also unable to find the object
in application and in repository.
Then what i have to do to identify menu objects?????
can anybody hell me pls..............
|input values to accept 2 numbers & print the product,
difference and sum using switch case
|For more VB Script Interview Questions Click Here |