Results 1 to 5 of 5

Thread: How to check Non-Editable Fields in QTP

  1. #1
    Junior Member
    Join Date
    Sep 2007
    Answers
    2

    How to check Non-Editable Fields in QTP

    Hi All,
    I have few non-editable field on my screen.User is not suppose to edit those fields.How can I check if they are editable or not in QTP?


  2. #2
    Expert Member
    Join Date
    Sep 2007
    Answers
    110

    Re: How to check Non-Editable Fields in QTP

    By using GetROProperty we can get the runime object property whether it is enable/disable/editable/non-editable


  3. #3
    Junior Member
    Join Date
    Oct 2007
    Answers
    9

    Question Re: How to check Non-Editable Fields in QTP

    Hi,

    By using GetRoProperty, we can find whether filed enable or disable.

    Here my question is, even it is possible to find editable or non-editable also, if, please let us know how?


    Regards,
    Vasanth


  4. #4

    Re: How to check Non-Editable Fields in QTP

    check_enabled=window("").WInEdit("").GetROProperty("enabled")

    if check_enabled = true then
    msgbox "Edit Box is Editable"
    else
    msgbox "Edit box is Non-Editable"
    end if


    this is script will use to check whether that edit box is editable or not.


  5. #5
    Junior Member
    Join Date
    Aug 2007
    Answers
    1

    Re: How to check Non-Editable Fields in QTP

    When we go for Automation.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact