Results 1 to 3 of 3

Thread: Selenium : Problem with the Pop up window.

  1. #1
    Contributing Member
    Join Date
    Feb 2010
    Answers
    49

    Question Selenium : Problem with the Pop up window.

    Dear Friends,

    Has any one used selenium to open a pop up window from current working page and doing some processing there and bringing control back to the main page.

    I used $Browser.open "javascript:Story.postCommentToFacebook()" and the pop up window has got opened succesfully. But, i could not able to type/set my valus in text field of pop up window.

    Im using Selenium-Ruby.

    Can anyone help me?


    -Godwin.


  2. #2
    Junior Member
    Join Date
    Sep 2010
    Answers
    2

    Re: Selenium : Problem with the Pop up window.

    Hello Friend,
    Sorry that i couldn't answr your question coz am new to selenium.Well, Could you clarify my doubt in Selenium RC.I have created test case and test suite and saved it in .html format.Now,how do i execute the test suite in ruby.I have tried saving & running my test suite(xxx.rb) from command prompt and got the error message (xxx.rb:1: syntax error, unexpected tIDENTIFIER, expecting $end ?xml version="1.0" encoding="UTF-8"?)

    Last edited by venkataraman; 09-29-2010 at 08:12 AM.

  3. #3
    Contributing Member
    Join Date
    Feb 2010
    Answers
    49

    Thumbs up Re: Selenium : Problem with the Pop up window.

    Quote Originally Posted by venkataraman View Post
    Hello Friend,
    Sorry that i couldn't answr your question coz am new to selenium.Well, Could you clarify my doubt in Selenium RC.I have created test case and test suite and saved it in .html format.Now,how do i execute the test suite in ruby.I have tried saving & running my test suite(xxx.rb) from command prompt and got the error message (xxx.rb:1: syntax error, unexpected tIDENTIFIER, expecting $end ?xml version="1.0" encoding="UTF-8"?)

    Hi Friend,

    I request you to work with Selenium 2.0. Its quite simple.

    Please do follow the below steps and run,

    Pre – Condition


    1. Java should be installed. (JRE 1.5 and Above!!!! MUST)
    2. Pop up blocker should be disabled.


    Installation Steps


    1. Download selenium-server-standalone-2.0a5.jarand place it in C:\Selenium.
    2. Download and Install Ruby 1.87 or above.
    3. Open “Start command prompt with Ruby” command window.
    4. Install Selenium Client ( using , gem install selenium-client in the above mentioned command prompt)
    5. Download SciTE editor and install it.
    6. Open the SciTE editor and start wrting the script in Ruby.
    7. Save the file in .rb format.
    8. Start selenium server using the command “java -jar selenium-server-standalone-2.0a5.jar –trustAllSSLCertificates” NOTE: Make sure that, in the command prompt, navigate to selenium-server-standalone-2.0a5.jarfolder and then execute the java command
    9. Press F8 to view the Output section
    10. Press F5 (to execute/run)



    Thanks,
    Godwin.


  4.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact