How to check the particular window is exist or not with out
using check points
Answers were Sorted based on User's Feedback
Answer / manjunathareddy
Dim Expected
Dim Actual
Expected=Window("FlightReservation")
Actual=Window("FlightReservation")
If Actual=Expected Then
Reporter.ReportEvent micPass,Expected&"
"&Exist","CheckPoint Pass"
Else
Reporter.ReportEvent micFail,Expected&" "&Not
Exist","CheckPoint Fail"
End If
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / archana
If window("Flight Reservation").Exist<>0 Then
msgbox "window exists"
else
msgbox "window doesnot exists"
End If
| Is This Answer Correct ? | 7 Yes | 16 No |
what is the use of Data base check point ?
Mention what if you do not specify anything when you call a procedure?
How will you get a subset of a array in vbscript?
what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?
Find Out Length of an array without using Ubound?
best training centre in bangalore
1)How to test whether items in a weblist are in alphabetical order or not?
join all the array values without using join function?
compare the string without using stringcomp function?
how to operate webobjects in a webpage using getobject function and then using generic methods?
What is the main difference between function and sub-procedure?
How to Pass Multiple values in functions by using vb script? Function value(arg1,arg2) N1=arg1+arg2 N2=arg1-agr2 N3=arg1*agr2 N4=arg1/arg2 Value= How to pass ? End Function