My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 4: Unable to create object for FlashSelenium.FlashSelenium
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  sachin.sudheendra
Closed:  Nov 2008
Cc:  paulocaroli, mentorn, srrao2k
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by karthik.bachu, Nov 21, 2008
What steps will reproduce the problem?
1. Add new FlashSelenium.dll in to the project
2. declare private FlashSelenium.FlashSelenium flashApp
3. create an oblect of  ISelenium 
4. Intialize selenium
5. start selenium
6. flashApp = new FlashSelenium.FlashSelenium(selenium,"flashObjectId");

What is the expected output? What do you see instead?
flashApp object should be intialized or created.
but i see 
Error	14 The type 'Selenium.ISelenium' is defined in an assembly that is 
not referenced. You must add a reference to 
assembly 'ThoughtWorks.Selenium.Core, Version=0.0.0.0, Culture=neutral, 
PublicKeyToken=null'.	

Error	15	The best overloaded method match 
for 'FlashSelenium.FlashSelenium.FlashSelenium(Selenium.ISelenium, 
string)' has some invalid arguments

Error	16	Argument '1': cannot convert from 'Selenium.ISelenium 
[c:\TestSolution\Referenced Assemblies\ThoughtWorks.Selenium.Core.dll]' 
to 'Selenium.ISelenium []'
What version of the product are you using? On what operating system?
Selenium nightly build and flashselenium revision 25
Windows XP
Visual Studio Test Team 2008
Please provide any additional information below.


Comment 1 by karthik.bachu, Nov 25, 2008
Soory, I missed some dll, now i am able to create object for 
FlashSelenium.FlashSelenium 
Comment 2 by sachin.sudheendra, Nov 26, 2008
Hey Karthik,
Glad that it worked.
Status: Invalid
Owner: sachin.sudheendra
Cc: paulocaroli mentorn srrao2k
Comment 3 by ybhole, Nov 30, 2008
Namespace and class name both are same so you need to create object using something 
like following syntax 

FlashSelenium.FlashSelenium flashApp = new FlashSelenium.FlashSelenium
(selenium, "my_activity");
Sign in to add a comment

Hosted by Google Code