Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to check checkbox's readonly property if developer has not used this property
#1
Not Solved
In my application, if checkbox 1 is selected then checkbox 2 becomes readonly. Intially implementation was also done in same way.

but due to technical issues, now developer is using javascript.

If checkbox 1 is selected then, for checkbox 2 "Onclick" he returns "False".

I tried using following function:

Code:
a = Browser("abc").Page("abc").Frame("xyz").checkbox("yy").Object.onclick
but from QTP, I am getting whole function (multiline value) for variable "a"

Could you please suggest me any other way I can check whether checkbox is readonly or disabled.
As per current implementation, whether checkbox 2 is disabled or not, it returns "False"/0 for properties "disabled" and "readOnly" using GetROProperty function.

Thanks,
Blanche
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Object doesn't support this property or method takecharge 1 1,342 11-13-2019, 10:05 PM
Last Post: stormbringer
  Help with Select checkbox from data table value jayraocourts 0 1,045 11-01-2019, 10:25 PM
Last Post: jayraocourts
  Uft: Adding a property to all ojects into Repository ProTester 0 1,246 06-09-2017, 12:48 AM
Last Post: ProTester
  Object doesn't support this property or method: 'window(...).window(...).winobject' senthil5683 1 3,490 07-04-2016, 07:08 PM
Last Post: venkatesh9032
Sad Click checkbox using its label name. venkatesh9032 1 3,034 08-10-2015, 10:33 PM
Last Post: kotaramamohana

Forum Jump:


Users browsing this thread: 2 Guest(s)