Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Selenium RC code in c sharp to capture alert messages...

View previous topic View next topic Go down

Selenium RC code in c sharp to capture alert messages...

Post by tpskarthick on 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,,,,,,,,,,,,,


Last edited by tpskarthick on Thu Feb 11, 2010 3:43 pm; edited 1 time in total

tpskarthick

Posts : 6
Join date : 2010-02-09
Age : 31
Location : Chennai

Back to top Go down

Re: Selenium RC code in c sharp to capture alert messages...

Post by tpskarthick on 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........

tpskarthick

Posts : 6
Join date : 2010-02-09
Age : 31
Location : Chennai

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum