<div dir="ltr">Hello, <div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Last week I had paired with Zeljko on Monday, Tuesday, Thursday and Friday. Here is what we did on Tuesday:</span></div><div>

<br></div><div>* We had Amir in this session, and initially we showed him what all we had achieved last week. </div><div><br></div><div>* We started to write code for getting co-ordinates from page object elements and passing it in rectangle method, which we had made earlier. </div>

<div><br></div><div>* To solve above problem, we wrote 2 small methods "coordinates_from_page_element" [For getting co-ordinates from each page object element] and "coordinates_from_page_elements" [which collects the rectangle output by the "coordinates_from_page_element" method]. </div>

<div><br></div><div>* Something new which I had learn't here was collect[1] and the new small method looks clean and clears one's doubt about implementation.    </div><div><br></div><div>* After we get this, we tested it with our rectangle method, and then we got our screenshots [which can have at max. 2 page object elements].</div>

<div><br></div><div>* Also we discussed, about the zooming in browser being weird. As what we saw, was not what we would get in screenshot after zooming. Also it differs with browser. </div><div><br></div><div>* We also made a small analysis with Google chrome and Firefox browser with one time zoom(1x) and 5 times zoom(5x). I have attached the images with this mail. </div>

<div><br></div><div>-</div><div>[1]: <a href="http://www.ruby-doc.org/core-2.1.1/Array.html#method-i-collect" target="_blank">http://www.ruby-doc.org/core-2.1.1/Array.html#method-i-collect</a><div style="display:inline-block;width:16px;height:16px">
 </div><div style="display:inline-block;width:16px;min-height:16px">
 </div></div><div><br></div><div>Regards </div>-- <br>Vikas S Yaligar<br>(9481543789)<br>IT Department <br>NITK Surathkal<br>
<font face="yw-04b1231f2b49ebfc02591937fa6d6ece0e8f71c2-3b8f1f925c2ce549f45a2266c056591a--o" style></font></div>