Selenium RC code in c sharp to capture alert messages...
Page 1 of 1 • Share •
Selenium RC code in c sharp to capture alert messages...
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,,,,,,,,,,,,,
Last edited by tpskarthick on Thu Feb 11, 2010 2:13 pm; edited 1 time in total
tpskarthick- Posts: 6
Join date: 2010-02-09
Age: 25
Location: Chennai
Re: Selenium RC code in c sharp to capture alert messages...
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........
tpskarthick- Posts: 6
Join date: 2010-02-09
Age: 25
Location: Chennai
Similar topics» r2m ng sharp tv
» Fairyland messages
» idea puk code generator free download
» MOTOROLA LOCK & SECURITY CODE READER"Tested"
» All China mobile phone Restore Factory Settings code
» Fairyland messages
» idea puk code generator free download
» MOTOROLA LOCK & SECURITY CODE READER"Tested"
» All China mobile phone Restore Factory Settings code
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
» sample webdriver code for php users
» which standalone server to use
» Dynamic Drop Down Selection
» It is possible to find list of all URL's exist in any web page in selenium ide
» It is possible to compare 2 same images in selenium IDE.
» how to compare 2 ULR's which is exist in same web page (View page source).
» Web Driver: Unable to click a link present inside the frame of a frameset
» Help me to get dynamicaly loaded options of dropdown in Selenium RC -Junit test case