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
How will you get the exponent of the given number in vbscript?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
What is dictionary object in vbscript? Explain?
What is the output of a + b in vbscript if a = 5 and b = 10?
What is the use of option explicit statement?
How to write VB script for login module?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
Explain the asc function?
Why is the use of exit do or exit for statements within loops discouraged?
Explain different types of segment?
how to set one column as primary key in QTP and fetch values accordingly
how to comvert 120 into one hunderd twenty rupees only and vice varsa
What is event handling in vbscript?
What is select case statement?