Micro Focus QTP (UFT) Forums
Object is disabled - 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 is disabled (/Thread-Object-is-disabled)



Object is disabled - Uma - 06-14-2011

Hi,
This is my expertview code.
Code:
Browser("MLSListings.com").Page("MLSListings.com").WebEdit("cityzip").Set DataTable("City", dtGlobalSheet)
Browser("MLSListings.com").Page("MLSListings.com").Image("Go").FireEvent "onmouseover"
Browser("MLSListings.com").Page("MLSListings.com").Image("Go").Click
1.When I am running the first time I am not getting any error.
Recorded cityzip value is Sunnyvale

2. I parameterized the cityzip(Sunnyvale,Cupertino,San Jose)
When I am running automatically the dialog box comes[Pls enter city or zipcode),But while I am recording I haven't seen this one.
After I click ok some times it is pulling out the city name, and started given the error "Object is disabled"
Or it will not pull out the city name and give the "object is enabled Error"

3.I tried with wait(10) after the first statement.it worked for 2 vparameter values,whe n it work with the thord value it is giving error

4.I checked the obj repository at runtime
I am able to see the objects for
1. Mlslisting.com /class Browser
2.Mlslisting.com /class page
3.go /class image
4.City zip/class webedit
when i am getting error Cursor is in the Second line of the Expertview code.
The code is given below.
Browser("MLSListings.com").Page("MLSListings.com").Image("Go").FireEvent "onmouseover"


Can anyone help to solve this issue.
Thanks for your time.
Thanks
Uma