Share
Go down
rajeswari.sengupta
Posts : 2
Join date : 2011-01-29

Errors Executing Selenium RC in NUnit [ C#]

on Sat Jan 29, 2011 9:27 pm

Getting error in NUnit in line marked in Red. Not sure why? Can you please help.
This is the code I got from IDE.

selenium.SetTimeout(
[size=9]"3000000"[/size]);
selenium.Open(
[size=9]"http://www.justgiving.com/"[/size]);
selenium.Click(
[size=9]"link=JustGiving Projects"[/size]);
selenium.Click(
[size=9]"link=Donation Boost"[/size]);
selenium.Click(
[size=9]"link=Read more"[/size]);
selenium.Type(
[size=9]"email"[/size], [size=9]"rajeswari.sengupta@gmail.com"[/size]);
selenium.Click(
[size=9]"//input[@value='Sign up']"[/size]);
selenium.WaitForPopUp(
[size=9]"popupwindow"[/size], [size=9]"3000000"[/size]);
selenium.SelectWindow(
[size=9]"name=popupwindow"[/size]);
selenium.Click(
[size=9]"//input[@value='Complete Subscription Request']"[/size]);
selenium.SelectWindow(
[size=9]"null"[/size]);
selenium.Click(
[size=9]"dsq-post-button"[/size]);
selenium.Click(
[size=9]"dsq-post-button"[/size]);
selenium.SelectFrame(
[size=9]"easyXDM_default9701_provider"[/size]);
selenium.Type(
[size=9]"document.forms[0].elements[0]"[/size], [size=9]"Makes sense"[/size]);
selenium.SelectFrame(
[size=9]"relative=up"[/size]);
selenium.Click(
[size=9]"dsq-post-button"[/size]);
selenium.Click(
[size=9]"dsq-subscribe-on-post"[/size]);
selenium.Click(
[size=9]"dsq-submit-guest"[/size]);
avatar
selenium.testing07
Regular Participant
Regular Participant
Posts : 26
Join date : 2010-11-20

Re: Errors Executing Selenium RC in NUnit [ C#]

on Mon Feb 28, 2011 5:03 pm
From where you got this code?
Selenium IDE or Eclipse IDE?

And what exactly error is there?
provide me actual code...........or may be provide some extra information.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum