How to check whether 'X' (for closing window or dialog) icon exists for a .NET based application using QTP

Questions by deepadg

Showing Answers 1 - 4 of 4 Answers

KodumuruRamesh

  • Oct 30th, 2006
 

Hi

    We can check this by using below script

First all of right click on Desktop->select "properties"

Script:

Dialog("Display Properties").Activate

Dialog("Display Properties").Close

If Eval(Dialog("Display Properties").Exist) Then

Msgbox " X icon is not Working"

Else

Msgbox "X icon is Working"

End If

i.e x means (window is closing)

For more information contact:

kodumururamesh@yahoo.co.in

  Was this answer useful?  Yes

Vidhi

  • Apr 17th, 2017
 

The question says to check for the existence of the X button. Your answer explained whether the button is working or not.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions