How to call selenium library function in suite.

Arthur at 13h41
26
Jul
2011
How to call selenium library function in suite.

Hi,

I have written a library in java which has all the tests of selenium in library I have not called setUp().
The setup is in suite file where i have written code to call multiple tests from library in one function.
The call goes to the library and then the "java.lang.NullPointerException" comes.
Folloeing is my code
Library.java
public class Library extends SeleneseTestCase
{
public int Login() throws Exception
{

[......]
About
This topic belongs to the forum
  • Numbers of topics : 2339
  • Numbers of messages : 6054
  • Numbers of users : 5042
  • Numbers of points : 129
Similar topics
I copied google_for_selenium_rc.htm (which really wanted to execute) into c:\ide_scripts I am running the below comment. java -jar selenium-server.jar -htmlSuite "*googlechrome" "http://www.google.com" "c:\ide_scripts\suite.htm"
Hi I am newbie to selenium. I came to know that goto_sel_ide.js file which was given in one forum which helps to add the functions like gotoIf, while, label etc., Can we create javascript for exit and for loop like wise? Please suggest me how to
Hi all, I want to call junit's .java class from another junit .java class The way I tried is as below I have created instance of the junit's java file in another setup() junit's java class.I called the test case with instance of the class in
Hi, I am trying to automate the oracle EBS through selenium. But I am stuck with the forms that are loading. There is no option to select any of the items in oracle forms through selenium. Can anyone please help me in this regard???
Hi, I am using Selenium RC with HTMLSuite. My test suite is built with a first test, that gets initial values calling webservice and stores them in variables, then a list of tests. My question is how I can access to store variables of the first test
Forums from same category
See also
more_less
Informations

1 Replies For the topic :
"How to call selenium library function in suite."

This topic has been viewed 2230 times.

Last message :
26/07/2011 at 13h41 by "Arthur"