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 will you trim the spaces on the left of a string using vbscript?
compare the string without using stringcomp function?
Explain sga memory structures?
How can you destroy an object in vbscript?
How to remove the spaces in a string Ex: "this is apple"
who will create the object?
Hi I am having one folder with set of text files now i want to read and write that text files data into QTP. Any help plsss.
How to capture a runtime error in vbscript?
write a vb script to display ***** ***** ***** ***** *****
What is a difference between scripting language and programming language?
Does VB/Win make standalone .EXE files?
I'm new to QTP, i facing a a problem in the script says"Object not found", "Browser("").page("").frame(Name:=fminfo).webtable(). the issue is, QTp is not able to identify the web table in run time.becuase in that fram"fminfo" there are "n"table and the table do not have the names,Html id. 1) i need to count the number webtables available on that page. 2)need to identify the webtable cell values. 3)How Loop the once i get the count and retrive the cell data of each webtable? Can anyone help on this, plz.. Thanks, Suresh