Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need to know how to determine a field is enterable
#1
Not Solved
Could you please show me how to determine if a field is enterable or updateable. I'm using QTP v10 for an Oracle application.

I want to check if the field is enterable so that I enter some inf otherwise skip that field. I have this piece of code, but it does not work correctly, because the field is enable (the cursor can go there) but it's protected from updating by the application.

Code:
If OracleFormWindow("XXXX").OracleTextField("YYYYYY").GetROProperty("enabled") = True Then
   OracleFormWindow("XXXX").OracleTextField("YYYYYY").Enter "ABC"
End If

Any suggestion is greatly appreciated.
Thanks.
Reply


Messages In This Thread
Need to know how to determine a field is enterable - by tnt321 - 03-24-2011, 12:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  getting the value from the field learning 0 1,046 03-19-2019, 09:13 AM
Last Post: learning
  Password field kumar19041980 0 2,776 09-05-2012, 03:33 PM
Last Post: kumar19041980

Forum Jump:


Users browsing this thread: 3 Guest(s)