03-24-2011, 12:46 AM
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.
Any suggestion is greatly appreciated.
Thanks.
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.