Micro Focus QTP (UFT) Forums
OBJECT NOT VISIBLE ERROR - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: OBJECT NOT VISIBLE ERROR (/Thread-OBJECT-NOT-VISIBLE-ERROR)



OBJECT NOT VISIBLE ERROR - bala - 07-25-2013

Hi Ankur,

QTP is not identifying the Combobox it is saying object not visible but the object exists (the msgbox is appearing) The visible Property was added to the mandatory properties but even then the error is occuring please help
Code:
if Window("Flight Reservation").WinComboBox("Fly From:").Exist (3) then
Msgbox("present")

Window("Flight Reservation").WinComboBox("Fly From:").Select "London"

Window("Flight Reservation").WinComboBox("Fly To:").Select "London"
end if



RE: OBJECT NOT VISIBLE ERROR - ravi.gajul - 07-26-2013

please select different source and destination values...I think that is causing this error.


RE: OBJECT NOT VISIBLE ERROR - Ankur - 07-26-2013

+1 Ravi.

Also I don't think "Fly To" box will populate "London" if it is already selected in "Fly from"