How to check the particular window is exist or not with out
using check points

Answers were Sorted based on User's Feedback



How to check the particular window is exist or not with out using check points..

Answer / 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

How to check the particular window is exist or not with out using check points..

Answer / archana

If window("Flight Reservation").Exist<>0 Then

msgbox "window exists"

else

msgbox "window doesnot exists"

End If

Is This Answer Correct ?    7 Yes 16 No

Post New Answer

More VB Script Interview Questions

Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it

1 Answers   IBM,


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

0 Answers  


Is VB Script Case sensitive or Case insensitive?

0 Answers  


write a vbscrpit to swap values

2 Answers   Adani,


Description.Create

0 Answers   IBM,


regular expression that will recognize a browser as long as its name property starts with mybrowser

0 Answers   Banking,


How can you have different number of cells for each row of a table in HTML?

2 Answers  


What are the disadvantages of vbscript?

0 Answers  


What is purpose of scripting.filesystemobject class in vbscript?

0 Answers  


What is a class in CSS?

1 Answers  


What are the environments supported by vbscript language?

0 Answers  


Explain about .wsf files?

0 Answers  


Categories