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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dictionary object in vbscript? Explain?

623


How to write VB script for login module?

2676


How to create a function in vbscript?

587


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1556


How to write functions and sub in vb script?

622






give me any information abou vb script books learn quckly

1657


why variable name should not exceed 255 characters?

1817


how to check whether link is disabled in QTP??

5630


What is the difference between a dictionary and an array?

579


Explain about filter expression?

564


What are the advantages of vbscript?

644


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

483


What are the properties of regexp object?

581


Explain about .wsf files?

621


Explain about arrays in vb script?

604