Results 1 to 3 of 3

Thread: Static text

  1. #1

    Static text

    Hi Guys,

    I want to check a field on a web page weather it is a editable field or non editable field. How can I check. Is there any methods provided by Test Complete?

    Venkatesh S

  2. #2

    Re: Static text

    Depending upon the field, you can check properties of it to see if it is enabled or disabled. Logic would be something like

    if MyPage.EditField.Enabled then
    Log.Message('The field is editable')
    Log.Message('The field is non editable')

    Without knowing the specific component, all I can provide is pseudo-code as above.
    -Robert Martin
    Automated Testing Evangelists
    TestComplete "expert"
    Definition expert - noun - Unknown drip under pressure

  3. #3

    Re: Static text

    Hi Venkatesh,

    Also, you can check the field's readOnly property. If returns true, the field is non-editable.
    Jared - AQA Support



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 03:38 PM.

Copyright BetaSoft Inc.