| Other VB Script Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How to write a general script which should does the
following
a). If a page object is given, it should identify the page
object of the corresponding page(site).
b). It should identify all the links of that particular
page.
in QTP tool? | Infosys | 2 |
| Is it possible to pass optional argument to function in vb
script?
| | 2 |
| 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
message pop-up)
Scenario 2-->When Network connectivity is disabled the
Application screen gets greyed out in colour with no
operation possible.
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????
| Sasken | 2 |
| How can I write HTML text to the window in VB Script? | | 2 |
| Hi
I don't have any idea on VBscript.
can any one point me to a good web site to learn VBscript.
Regards
lina
| | 2 |
| what is the function to display current date? | | 4 |
| what is the purpose of the Reporter.ReportEvent in QTP and
also please give the brief description about
Reporter.ReportEvent ? | CybAge | 1 |
| How do you create a recordset object in VBScript? | | 2 |
| what is the use of Data base check point ? | | 3 |
| How can you have different number of cells for each row of a
table in HTML? | | 2 |
| What is difference between Active screen and movie screen
recorder in QTP 9.2? | | 1 |
| WHAT IS ENVIRONMENT VARIABLES?and where it is used in real
time scenario?
| | 1 |
| When inserting strings into a SQL table in ASP what is the
risk and how can you prevent it? | | 1 |
| How to create MSAcess table foriegn key | | 1 |
| hey please tell me how to retriev data from excel sheet
which puts the login name and password in the application?
plz send me the code..please help me | HP | 3 |
| we executed QTP scripts in one browser(i.e IN)same scripts
is working on another browsers or not (i.e mean netscap,m
azol..like ) | Accenture | 6 |
| when you use For Loop, While..do, do..while? at what
situations which loop will use. | | 1 |
| how to write function to validate the number of characters
entering into the text box? | TCS | 2 |
| What is the equivalent of VBScript?s On Error In Jscript ? | Microsoft | 1 |
| How to write functional test cases for send button in gmail. | Arctern | 1 |
| |
| For more VB Script Interview Questions Click Here |