Not able to run the disbled statement - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Not able to run the disbled statement (/Thread-Not-able-to-run-the-disbled-statement) |
Not able to run the disbled statement - divyashree.kt - 08-03-2011 Hello friends, i was checking the disabled property of the Login button by using following statement. but i am getting general run error. DOn't know what is the problem. I have added object to repository. Code: button= Browser(actiTIME-Login").Page("actiTIME-Login").WebButton("Loginnow").Object.disabled Anybody please help me. RE: Not able to run the disbled statement - supputuri - 08-03-2011 Hi Divya, Improper string declaration @ browser. Code: button= Browser(actiTIME-Login").Page("actiTIME-Login").WebButton("Loginnow").Object.disabled Let me know if you need any help. RE: Not able to run the disbled statement - sshukla12 - 08-04-2011 Since u r checking the run time properties of the object , u should use the DOM Code: a=Browser("Google").Page("Google").WebButton("Google Search").Object.disabled Correct me if wrong. Regards, Sankalp Code: a=Browser("Google").Page("Google").WebButton("Google Search").Object.disabled |