<div dir="ltr">Hello, <br clear="all"><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 Friday:</span></div>
<div><br></div><div>* I had some problems in getting cropped screenshot for elements inside an iframe, reason for it was, elements which are inside iframe, return their co-ordinates with respect to the iframe rather than the browser window. </div>
<div><br></div><div>* Hence to solve this we decided to pass another argument(offset_rectangle) to rectangle method which we had written before.</div><div><br></div><div>* We wrote some tests for it and then got it passing, just by adding of x co-ordinates and y co-ordinates of the cropped screenshot with iframe co-ordinates. </div>
<div><br></div><div>* One interesting thing, which we changed was the argument variable in methods, when optional we tend to make it nil, but here we used it as an empty rectangle(i.e. [0, 0, 0, 0]) so that the code becomes smaller and cleaner. </div>
<div><br></div><div><br></div><div>Thank you Zeljko, for pairing with me last week. I had amazing time with you reviewing this code :) Now I have realized what exactly is expected when one looks into the code. Let me know if I have missed anything in last weeks reports. </div>
<div><br></div><div><br></div><div>Regards </div>-- <br>Vikas S Yaligar<br>(9481543789)<br>IT Department <br>NITK Surathkal<br>
<font face="yw-04b1231f2b49ebfc02591937fa6d6ece0e8f71c2-a81df9438ad32d75f78dc6c0d9bdcf08--o" style></font></div>