How to check the particular window is exist or not with out
using check points
Answer Posted / manjunathareddy
Dim Expected
Dim Actual
Expected=Window("FlightReservation")
Actual=Window("FlightReservation")
If Actual=Expected Then
Reporter.ReportEvent micPass,Expected&"
"&Exist","CheckPoint Pass"
Else
Reporter.ReportEvent micFail,Expected&" "&Not
Exist","CheckPoint Fail"
End If
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
How are values assigned to the variables in the vbscript language?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
Explain about the extension .hta?
Why to use option explicit in vb script?
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
What is the use of the instr function?
How to open excel in vb script?
Mention what is vbscript?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
What are the different types of operators and their order of precedence?
Mention what is the use of option explicit in vbscript?
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
What is the use of option explicit statement?
How to throw an error in vbscript?