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

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 vbscript procedures?

1192


How will you release the memory acquired by an array variable in vbscript?

1271


What is the difference between vb debugger and the script debugger?

1203


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

2140


who will create the object?

2009


Mention what is vbscript?

1164


What is the use of option explicit in vbscript?

1043


In what way program "hello world" you can write in vbscript?

1164


How can you create an object in vbscript?

1126


How to capture a runtime error in vbscript?

1210


How will you get the natural logarithm of the given number in vbscript?

1111


What is the purpose of the err object in the vbscript language?

1156


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

1049


Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?

2548


What are lbound and ubound in the vbscript language?

1140