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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to capture a runtime error in vbscript?

628


Mention what is byref and byval parameters in vbscript?

579


Which operator is used to perform the comparison among 2 operands in the vbscript language?

528


How to Convert Hex color code to color name in VB Script?

3934


How do i automate a website www.flyashx.com without having any test cases witin a week time.

1458






i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click

1417


What are lbound and ubound in the vbscript language?

607


What is the purpose of on error resume next statement?

577


how to increase the values in text box in a given text box increament by two values by clicking on button

1645


Differentiate javascript and vbscript?

567


How to write VB script for login module?

2678


wht must be the interview question on corinthian information technology solutions incorporated.

2186


Explain the extension .hta?

544


what is diff between static and dynaic arrys?

1587


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.

1848