How to check the particular window is exist or not with out
using check points
Answer Posted / 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 |
Post New Answer View All Answers
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
What are the disadvantages of vbscript?
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
Explain some uses of vb script?
What is byref and byval parameters in vbscript?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
How many types of operators are available in the vbscript language?
what is used of Property........End Property loop ? how to write the script for it?
Explain few date functions in vbscript?
Both Static and dynamic arrays are handled by VB script. Is it true?
Which operator can be used to do an xor operation in vbscript?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
What are events in the vbscript language?
about vb scripting programs this type of all question& answers
what is the use of QCUtil? explain with one example?