Canvas Automation (HTML5) - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Canvas Automation (HTML5) (/Thread-Canvas-Automation-HTML5) |
Canvas Automation (HTML5) - ssharma - 01-06-2016 Hi, I am trying to automate a web app that is using Canvas (HTML5) to display a table with contents in it. I need to perform 2 activity:
Thanks RE: Canvas Automation (HTML5) - vinod123 - 01-07-2016 If it is Web Application use the following statement Code: Browser("micclass:=Browser").Page("micclass:=Page").WebElement("").Click Spy on the Property name and the value of WebElement using object spy and write in the gap between quotes of the web element RE: Canvas Automation (HTML5) - ssharma - 01-07-2016 It is a web app clicking on spy shows it as WebElement but does not identifies any content in that. please see attached screenshot [attachment=1398] RE: Canvas Automation (HTML5) - vinod123 - 01-07-2016 Code: Browser("micclass:=Browser").Page("micclass:=Page").WebElement("").GetROProperty("Property name") Spy on the Property name and the value of WebElement using object spy and write in the gap between quotes of the web element Use the name of the property you want to get and remaining code is the same. Store the value obtained by GetROProperty in a variable |