1 member
1 member
6 members
1 member
12 members
10 members
9 members
3 members
2 members
9 members
HiHope it will useful …Continue
Tags: sauce, builder, selenium
Started by Anoop Philip Feb 6, 2012.
How to handle dynamic value in selenium IDE and RC ??
Started by Dhananjay Gavali. Last reply by Dhananjay Gavali Sep 26, 2011.
I am facing one object identification issue in selenium RC with Junit, but its working fine in IDE. While changing one dropdown values in one of the page I am getting following error : : ERROR:…Continue
Tags: automation, Selenium
Started by Harish Pulari. Last reply by deepak kumar Aug 17, 2011.
Comment
Comment by Sachin Kumar on October 15, 2012 at 1:58pm Hi Members,
Worth joining and visiting.
I came across a website which is offering Testing Services as Volunteer. I have joined them, if you wish you can also join them at www.kroogerr.com
Comment by deepak kumar on September 13, 2011 at 6:10pm
Comment by Frank Cohen on July 26, 2011 at 10:31am
Comment by M Sagar on July 26, 2011 at 10:28am HI, I am new to Selenium(IDE and RC). I am having a problem in parametrizing my login page. Please help me. If you can provide me with a sample code it will be helpful.
Thanks,
Sagar
Comment by manpreet kaur on July 13, 2011 at 10:52pm
Comment by deepak kumar on May 3, 2011 at 5:12pm Dude To Generate Reports Or Graphs U have to use ThirdParty Tool Which u have to integrate With ur SurefireReports (For Rc Dev)..
So as ur a beginner Start Working On ur apps and check the logs and find out the Error or Bugs ..wat ever u see.
Try getting Comfort Zone on all the Fields which you are testing ...
Comment by Mayank Pande on May 3, 2011 at 11:38am
Comment by Naveen Khunteta on April 14, 2011 at 6:15pm Guys,
I am using Selenium IDE and RC both with Core Java programming and JUNIT Framework.
My script editor tool is Eclipse.
If you are a beginner with Selenium, follow the following process:
1. Intall Selenium IDE.
2. Download the RC(All jar and API files from seleniu,org)
3. Put all the jar files in a folder in :D drive.
4. No record a scenario like Login page.
5. Go to IDE>-Options>-Junit4
6. Copy pase the generated Script in Java.
7. Now open the Eclipse and copy paste this script in Eclipse.
8. Now come to the Point:
>>Add all the Library files (Junit4) with your project.
>>Add the Java, jar files with your project.
9. Run the Script with Junit.
Bingo....:)
>>>Your script will run and corresponding report and results would be populated in Console of the prograom.
here is the example of basic code:
.--------------------------------------------------------------------------------------------
import com.thoughtworks.selenium.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.regex.Pattern;
public class Recharge<ArrstrLine> extends SeleneseTestCase {
@Before
public void setUp() throws Exception {
selenium = new DefaultSelenium("localhost", 4444, "*chrome", "http://192.168.0.100:8080/");
selenium.start();
}
@Test
public void testUntitled() throws Exception {
String strLine=null;
try{
// Open the file that is the first
// command line parameter
FileInputStream fstream = new FileInputStream("C:\\Documents and Settings\\mann\\Desktop\\MSISDN.txt");
// Get the object of DataInputStream
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
//Read File Line By Line
while ((strLine = br.readLine()) != null) {
// Print the content on the console
System.out.println (strLine);
}
//Close the input stream
in.close();
}catch (Exception e){//Catch exception if any
System.err.println("Error: " + e.getMessage());
}
String Arr[] = strLine.split("##");
System.out.println(Arr.length);
for (int i = 0; i < Arr.length; i++) {
System.out.println(Arr[i]);
}
selenium.open("http://190.160.0.100:8080/jsp/TestJsp.jsp");
selenium.type("msisdn", "8989898989");
selenium.click("//input[@value='submit']");
selenium.waitForPageToLoad("30000");
selenium.click("link=Recargas");
selenium.waitForPageToLoad("30000");
selenium.click("link=Claro/CODETEL");
selenium.waitForPageToLoad("30000");
selenium.click("link=Mis telefonos");
selenium.waitForPageToLoad("30000");
selenium.type("Amount", "123");
selenium.click("//input[@value='submit']");
selenium.waitForPageToLoad("30000");
selenium.click("link=Cuentas");
selenium.waitForPageToLoad("30000");
selenium.click("link=ALI.*");
selenium.waitForPageToLoad("30000");
selenium.click("//input[@value='submit']");
selenium.waitForPageToLoad("30000");
}
@After
public void tearDown() throws Exception {
selenium.stop();
}
}
----Thanks,
Naveen Khunteta
QTP/Selenium Expert
Comment by deepak kumar on April 14, 2011 at 5:56pm Hey All
Can any body help me out .
I have created a base acceptance test Using Selenium Rc .
And Now i Want to capture the entire test result in a new database from there i wann to generate a excel report where i can see the tests Result (Pass , Fail , %test)...
Schema design i have create what all table i should have ..
The Only problem is how create the database where the end results will drop into it
after this i wann to integrate with Selenium ..
Just let me know ASAP
or
or
Do any body have an idea of using any other open source test tool, which will hit to a separate database.
© 2013 Created by Test Republic.
Powered by

You need to be a member of Selenium Users to add comments!