Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

3032


What are the disadvantages of vbscript?

1239


Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

2346


Explain some uses of vb script?

960


What is byref and byval parameters in vbscript?

1067


How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

3435


How many types of operators are available in the vbscript language?

956


what is used of Property........End Property loop ? how to write the script for it?

2246


Explain few date functions in vbscript?

1045


Both Static and dynamic arrays are handled by VB script. Is it true?

1078


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

1249


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

2843


What are events in the vbscript language?

1103


about vb scripting programs this type of all question& answers

2129


what is the use of QCUtil? explain with one example?

7056