SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to write test case in java?

    Hi All,

    I am using selenium to test application.I want to write the test cases in java and i did by export to java using selenium IDE but how can i do further for execute and to make suite.

  2. #2
    Member
    Join Date
    Sep 2008
    Location
    Lahore
    Posts
    59
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to write test case in java?

    I think I can help you a little ...

    First, run the selenium server through command prompt as:
    java -jar selenium-server.jar -interactive
    (NOTE: before you use the above command, you must be at the same place where the selenium-server is located)

    Then use your java tool and add all the jar files in it. Then run those commands accordingly i.e. in the same sequence which you have recorded using Selenium IDE ....

    You will get the output according to the written script!
    Regards,
    Hasan

  3. #3
    Junior Member
    Join Date
    Oct 2008
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to write test case in java?

    Hi,
    Thanks. i am not using any java tool, i have only jdk.
    Please suggest me any tool which help me execute the testcases and if you talking about jdk then how will i do. please let me know.
    thanks again
    Shailendra

  4. #4
    Member
    Join Date
    Sep 2008
    Location
    Lahore
    Posts
    59
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to write test case in java?

    You can use Eclipse, its quite easy to use ...

    Moreover, you can also use command prompt to run your test, but frankly speaking, its not a better way because of usability issues
    Regards,
    Hasan

  5. #5
    Junior Member
    Join Date
    Oct 2008
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to write test case in java?

    Eclipse is payble IDE and i am student, i can't afford. u can understand.

  6. #6
    Member
    Join Date
    Sep 2008
    Location
    Lahore
    Posts
    59
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to write test case in java?

    Then you better use command prompt ... To be honest, Eclipse was available to me and I only worked in it and command prompt .... for command prompt, you can take help from:

    selenium-ide.openqa.org
    Regards,
    Hasan

  7. #7
    Junior Member
    Join Date
    Oct 2008
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to write test case in java?

    Please help me out Hasan..

    Thanks and warm regards,
    Shailendra

  8. #8
    Junior Member
    Join Date
    Oct 2007
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to write test case in java?


  9. #9
    Junior Member
    Join Date
    Oct 2008
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to write test case in java?

    can i use a trial version? if yes then how to set up the environment?

  10. #10
    Member
    Join Date
    Sep 2008
    Location
    Lahore
    Posts
    59
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to write test case in java?

    trail version of Eclipse?
    Regards,
    Hasan

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:21 PM.

Copyright BetaSoft Inc.