AmitParekh
New Member
- Joined
- Jan 17, 2013
- Messages
- 21
Hi All,
I have prepared a macro to open and navigate through one of the web page. I am got stuck on below case were I want to click on Update button and click on checkbox to deselect the checkbox. Below is the source code of the web page.
Checkbox:
span DesignTimeID="chkNotifyClient" input id="chkNotifyClient" type="checkbox" name="chkNotifyClient" checked="checked" label for="chkNotifyClient">Notify client or Other Recipient (Note: Comment will be sent as e-mail body) label span td
Update button:
input type="submit" name="UpdateTask" value="Update" *******="Refresh();DisableButton();WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("UpdateTask", "", true, "", "", false, false))" id="UpdateTask" class="ButtonDefault" DesignTimeID="UpdateTask" onMouseDown="this.className='ButtonDefault ButtonMouseDown';" onMouseUp="this.className='ButtonDefault ButtonDefault';" **********="this.className='ButtonDefault ButtonDefault';" IsDefault="False" style="height:16px;"
I have tried many options like IE.document.all("UpdateTask").Click OR IE.document.all("Refresh();DisableButton();WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("UpdateTask", "", true, "", "", false, false))").Click but all my effort got waste, its not working.
Thanks in advance for any help!
I have prepared a macro to open and navigate through one of the web page. I am got stuck on below case were I want to click on Update button and click on checkbox to deselect the checkbox. Below is the source code of the web page.
Checkbox:
span DesignTimeID="chkNotifyClient" input id="chkNotifyClient" type="checkbox" name="chkNotifyClient" checked="checked" label for="chkNotifyClient">Notify client or Other Recipient (Note: Comment will be sent as e-mail body) label span td
Update button:
input type="submit" name="UpdateTask" value="Update" *******="Refresh();DisableButton();WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("UpdateTask", "", true, "", "", false, false))" id="UpdateTask" class="ButtonDefault" DesignTimeID="UpdateTask" onMouseDown="this.className='ButtonDefault ButtonMouseDown';" onMouseUp="this.className='ButtonDefault ButtonDefault';" **********="this.className='ButtonDefault ButtonDefault';" IsDefault="False" style="height:16px;"
I have tried many options like IE.document.all("UpdateTask").Click OR IE.document.all("Refresh();DisableButton();WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("UpdateTask", "", true, "", "", false, false))").Click but all my effort got waste, its not working.
Thanks in advance for any help!