=======
<tr>
<td>store</td>
<td>javascript{var d = new Date();var curr_date = d.getDate()-2;if(curr_date.toString().length!=2) curr_date = '0'+curr_date ;var curr_month = d.getMonth(); curr_month = curr_month + 1;if(curr_month.toString().length!=2) curr_month= '0'+curr_month;curr_date + '-'+ curr_month + '-'+10;}</td>
<td>start_date</td>
</tr>
<tr>
<td>store</td>
<td>javascript{var d = new Date();var curr_date = d.getDate();if(curr_date.toString().length!=2) curr_date = '0'+curr_date ;var curr_month = d.getMonth(); curr_month = curr_month + 1;if(curr_month.toString().length!=2) curr_month= '0'+curr_month;curr_date + '-'+ curr_month + '-'+10;}</td>
<td>end_date</td>
</tr>
<tr>
<td>echo</td>
<td>${start_date}</td>
<td></td>
</tr>
<tr>
<td>echo</td>
<td>${end_date}</td>
<td></td>
</tr>
This gives the result in below format
Start date : 17-07-10
End date : 19-07-10
How to handle on load events? i have a confirmation box that is an on load event. can u please tell me how to close that box? i am using eclispe an Java
ReplyDeleteYou can somehow manage to handle alerts with below code
ReplyDeleteassertTrue(selenium.isAlertPresent());
verifyEquals("This is message on alert", selenium.getAlert());
//click|oneAlert|
selenium.click("oneAlert");
Hope this will work for you
How to select a date from the calendar control while recording in selenium ??????
ReplyDeletehow do you get the date format as dd/mm/yyyy and calculate no. of days between 2 dates in selenium?
ReplyDeleteI need to admit that that is one wonderful insight. It surely gives a company the opportunity to have in around the ground floor and really take part in making a thing special and tailored to their needs. There are so many fun and exciting things to do and experiences around the world that I thought I ‘d put together a list of favorite Things to do for all travelers.
ReplyDeleteKing David Moving & Storage is a Chicago moving companythat provides residential and commercial moversservices to our local community. Our moving services in Chicago are specialized to assist you and your family to move from one location to another with the assisting of our best movers that are professionally trained by us as Chicago Movers. We have been awarded for our customer service excellency, because customer satisfaction is one of our top priorities. Thus, We take pride in our local movers and success in business because of providing the reasonable rates as well as quality of service and this has been reflected on highly positive reviews.
ReplyDeleteyurtdışı kargo
ReplyDeleteresimli magnet
instagram takipçi satın al
yurtdışı kargo
sms onay
dijital kartvizit
dijital kartvizit
https://nobetci-eczane.org/
GGTİ
salt likit
ReplyDeletesalt likit
dr mood likit
big boss likit
dl likit
dark likit
2RCİT
تسليك مجاري 1cqi5a11l7
ReplyDelete