- tpskarthick
- Posts : 6
Join date : 2010-02-09
Age : 38
Location : Chennai
Selenium RC code in c sharp to capture alert messages...
Wed Feb 10, 2010 10:58 pm
Could anyone kindly help me how to alter the code in C sharp to make selenium RC capture the alert,,,,,,,,,,,,,
thanks in advance,,,,,,,,,,,,,
thanks in advance,,,,,,,,,,,,,
- tpskarthick
- Posts : 6
Join date : 2010-02-09
Age : 38
Location : Chennai
Re: Selenium RC code in c sharp to capture alert messages...
Thu Feb 11, 2010 3:42 pm
selenium.Click("ctl00_lnkHome");
selenium.WaitForPageToLoad("60000");
selenium.Click("ctl00_ContentPlaceHolder1_HyperLink13");
selenium.WaitForPageToLoad("60000");
selenium.Click("ctl00_ContentPlaceHolder1_btnReport");
selenium.Select("ctl00_ContentPlaceHolder1_ddlOption", "label=AND");
selenium.Click("//option[@value='AND']");
selenium.Click("ctl00_ContentPlaceHolder1_btnRemove");
selenium.Select("ctl00_ContentPlaceHolder1_ddlOption", "label=OR");
selenium.Click("//option[@value='OR']");
selenium.Click("ctl00_ContentPlaceHolder1_btnRemove");
selenium.Select("ctl00_ContentPlaceHolder1_ddlOption", "label=AND");
selenium.Click("//option[@value='AND']");
selenium.Click("ctl00_ContentPlaceHolder1_btnRemove");
could any one help me in altering this code which in c sharp...... the bolded statements are not executed which shows error........
selenium.WaitForPageToLoad("60000");
selenium.Click("ctl00_ContentPlaceHolder1_HyperLink13");
selenium.WaitForPageToLoad("60000");
selenium.Click("ctl00_ContentPlaceHolder1_btnReport");
selenium.Select("ctl00_ContentPlaceHolder1_ddlOption", "label=AND");
selenium.Click("//option[@value='AND']");
selenium.Click("ctl00_ContentPlaceHolder1_btnRemove");
selenium.Select("ctl00_ContentPlaceHolder1_ddlOption", "label=OR");
selenium.Click("//option[@value='OR']");
selenium.Click("ctl00_ContentPlaceHolder1_btnRemove");
selenium.Select("ctl00_ContentPlaceHolder1_ddlOption", "label=AND");
selenium.Click("//option[@value='AND']");
selenium.Click("ctl00_ContentPlaceHolder1_btnRemove");
could any one help me in altering this code which in c sharp...... the bolded statements are not executed which shows error........
Permissions in this forum:
You cannot reply to topics in this forum