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 write code: to check whether the window of an
Application Under Test exist or not . plz give with example

Answers were Sorted based on User's Feedback



how to write code: to check whether the window of an Application Under Test exist or not . plz giv..

Answer / saleh

I can show you with an example:

Dialog("Login").Exist
if it returns true then you can say that the above object
exists else not. For QTP you can write as below:
msgbox Dialog("Login").Exist
if it is true then ...........

Is This Answer Correct ?    2 Yes 1 No

how to write code: to check whether the window of an Application Under Test exist or not . plz giv..

Answer / sandeep

It is possible to check window of an applocation exist or
not by using javacript call

function checkWin()
{
if (Window.closed)
alert("Window closed")
else
alert("Window closed")

}

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More VB Script Interview Questions

Write a program to resize an array of 5 elements to 4 elements and display all the elements.

1 Answers  


Mention how to create a cookie using vbscript?

0 Answers  


how to organize files in object repository of qtp

1 Answers  


Explain How do you create a recordset object in vbscript?

0 Answers  


How to throw an error in vbscript?

0 Answers  


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

0 Answers   Quest,


How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?

10 Answers   Cap Gemini, CTS,


how to write vb script code for login gmail page by using notepad and how to run script in notepad

1 Answers  


write a vb script to display the reverse of vbs

2 Answers  


How to take whole text output from screen of Bitmap Application.

0 Answers   CitiGroup,


What are the different types of loops available in the vbscript language?

0 Answers  


Is vbscript language a case-sensitive language and what does it mean?

0 Answers  


Categories