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 |
write a vb script to generate hello 5 times using do until loop
How do you create a recordset object in VBScript?
How will you get the octal value of the given number in vbscript?
The function template cocept is implemented in vb.net is ???
Write a program to resize an array of 5 elements to 4 elements and display all the elements.
who you define variables and functions in VB?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
How will you get a random number between 0 and 1 in vbscript?
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me
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)
Suppose by navigation I went from 1 st page to 5 page ,so Write a generic script for coming from any page to the 1st page and by executing where the page may be it will come to 1st page