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


Please Help Members By Posting Answers For Below Questions

Which operator can be used to do an xor operation in vbscript?

689


Which operator is used to perform the comparison among 2 operands in the vbscript language?

535


What is Procedure or Subroutine in VB Script?

608


hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

1562


Which constant is used for print and display functions and works as same as pressing enter key?

536






Anyone have qtp11.0 crack?

2393


How can the spaces from the string be removed?

597


Explain How do you create a recordset object in vbscript?

571


What are class events?

587


Can anyone send me a vb script function for verifying the functionality of active links on a web page

1606


What are keywords in the vbscript language?

531


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.

1800


Explain the string concatenation function in vbscript?

546


What are the environments supported by vbscript language?

510


What is the use of the instr function?

595