Forum Discussion

vantaku01's avatar
vantaku01
Occasional Contributor
2 years ago
Solved

Identify read only window

^Hi Everyone,

 

here I am using testcomplete for testing my gui. i have a test case that is the data available in in the window is only available in read only format. any suggestions that how can i test this situation using testcomplete

 

I also checked by setting text to on of the textbox, as result my test got failed and got the error message as shown below

 

is there any other ways to test read only type of data.

 

Thank you so much.

  • You can use Object Spy on the textbox and see if there are any properties in there that reflect the box being read only and then check for that property in your test.

2 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    You can use Object Spy on the textbox and see if there are any properties in there that reflect the box being read only and then check for that property in your test.

  • vantaku01's avatar
    vantaku01
    Occasional Contributor

    Thank You so much Marsha. The solution worked along with the textbox properties.