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 |
how to organize files in object repository of qtp
which is the bset training centre to learn automation tools?
How to get path of the file through scripting?
Which operator can be used to do an xor operation in vbscript?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
What is the main difference between function and sub-procedure?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
How to Enter Values on the Command promt using VB script
Explain vbscript in detail?
write a vb script create 5 folders test1 test2 test3 test4 test5
did any one attended interview in applabs if you had gone through plz tell me the procedure
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?