0

My EXTJS application has a page with EMail button and on clicking it creates a link to page contents and opens default email client with this link in body.

In the inspect DOM, the EMail button has just this.

<span id="basebutton-1358-btnInnerEl" data-ref="btnInnerEl" unselectable="on" class="x-btn-inner x-btn-inner-basebutton-large">Email</span>

In the entire DOM, there is no 'mailTo'.

All I need to verify here is the link that is generated on click. I don't really concerned about whether it opens up any Email client or not.

  • We need more info, probably a javascript somewhere doing the work. Hard to say without a link – Rafael Almeida May 03 '16 at 08:47
  • Exactly, its the javascript doing all the work against this element. On click it triggers a script and fires the mailTo with a content. Unfortunately I dont have a public link which I can share. – Satheesh Jayabalan May 04 '16 at 08:18

1 Answers1

0

It looks like you are looking for events registered on "Email" button by the javascript. In that case refer similar question for EXTJS and jQuery The way you are trying to do validation should be part of unit testing not of black-box testing.

Community
  • 1
  • 1
user861594
  • 5,733
  • 3
  • 29
  • 45