![]() |
Scripting Gmail - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Scripting Gmail (/Thread-Scripting-Gmail) |
Scripting Gmail - cbeggs - 11-19-2010 I'm trying to create a script using QTP to compose an email in Gmail. So far I have the login working but am unable to locate the compose mail webElement using descriptive programming. Please take a look at my code and offer any feedback that might help. Thanx. Here is my code so far... Code: Dim ie RE: Scripting Gmail - ngocvo3103 - 11-19-2010 Hi cbeggs, I think you should add more property to identify the WebElement Code: Set objCompose = Description.Create() Hope to hear you soon. Ngoc Vo RE: Scripting Gmail - cbeggs - 11-19-2010 I think I know why I'm having trouble accessing this button. It appears that the Compose Mail button in Gmail is a custom button created by Google. http://stopdesign.com/archive/2009/02/04/recreating-the-button.html So unless anyone here knows anything about this and can help me out, I think I'm going to throw in the towel on this one. |