How to automate gmail to send email by using Selenium? -
How to automate gmail to send email by using Selenium? -
i'm trying automate gmail selenium automatically send email proof of concept boss, can't create click on send button.
could help me?
to attach file, seek next se ide code:
<tr> <td>click</td> <td>//span[text()='attach file']</td> <td></td> </tr> <tr> <td>type</td> <td>css=.liodqc</td> <td>c:\path\to\file.txt</td> </tr>
updated entering info in 'to', 'subject', attachment, mail service body , sending mail:
<tr> <td>type</td> <td>name=to</td> <td>surya.dixit@gmail.com</td> </tr> <tr> <td>type</td> <td>name=subject</td> <td>testsubject</td> </tr> <tr> <td>click</td> <td>//span[text()='attach file']</td> <td></td> </tr> <tr> <td>type</td> <td>css=.liodqc</td> <td>c:\path\to\file.txt</td> </tr> <tr> <td>pause</td> <td>5000</td> <td></td> </tr> <tr> <td>type</td> <td>css=body[class='editable lw-avf']</td> <td>surya</td> </tr> <tr> <td>keypress</td> <td>//div/b[text()='send']</td> <td>13</td> </tr>
selenium gmail
Comments
Post a Comment