Forum Discussion

minhterry's avatar
minhterry
Contributor
10 years ago
Solved

Cannot use SELENIUM dll

Hello,



I would like to add this SELENIUM DLL: Selenium C#

I added to CLR Bridge and in my script, i cannot call the dotNET.OpenQA_Selenium_Remote.RemoteWebDriver, but i can call this from MS Visual Studio 2010/2012.



Can anyone help me about this.



--

Regards
  • Hello Minh,



    I'm the Product Owner for TestComplete product. I would like to ask you a few questions about your testing needs for TestComplete and/or Selenium. We could connect on this forum or maybe more conveniently over e-mail. Would you be willing to have this discussion with me? Please let me know.



    Masha Kozinets

    Product Owner TestComplete

    SmartBear Software

8 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Minh,

     


    Did you unblock the archive before unzipping it? For this, right-click the downloaded file, select Properties and Unblock:




     


    After doing this, I was able to get the list of available methods and properties.


     


    Let us know how it works for you.


     

  • Philip_Baird's avatar
    Philip_Baird
    Community Expert
    Hi minh, RemoteWebDriver is a Class, you cannot "call" it.



    I am assuming you want to create a new instance of RemoteWebDriver, in this case you will need to call one of the zctor() methods, i.e.



    dotNET.OpenQA_Selenium_Remote.RemoteWebDriver.zctor()



    with the requisite parameters of course



    Regards,

    Phil Baird
  • Hello,



    The problem is when i just type to OpenQA_Selenium_Remote, it does not understand.



    I don't know why, so you can check it and will see that. I tested on 2 pc and have the same problem.



    --

    Regards,
  • Philip_Baird's avatar
    Philip_Baird
    Community Expert
    Hi minh, I can see the following:

     







    Is this not what you are able to view?


     


    Regards,


    Phil Baird




  • Hmm, i cannot see that list :(

    I checked on both 2 pc and the same problem.



    I used win7 32bit and 64 bit to test, Testcomplete 10.

    So what is the problem ?



    --

    Regards,
  • Hello Minh,



    I'm the Product Owner for TestComplete product. I would like to ask you a few questions about your testing needs for TestComplete and/or Selenium. We could connect on this forum or maybe more conveniently over e-mail. Would you be willing to have this discussion with me? Please let me know.



    Masha Kozinets

    Product Owner TestComplete

    SmartBear Software
  • Hello Masha Kozinets,



    Yes you can contact me via skype: minhmoc85



    @ Phil Baird: i still cannot see that class in the Testcomplete :(



    --

    Regards,



  • Hello Tanya Gorbunova,



    Thanks for your information. This works like a charm.



    --

    Best regards,

    MinhT