Answer Posted / deepak kolkar
1. Manual Effort can be Reduced.
2. increase the Speed of Regression testing.
3. Efficiency is more.
4. Reusability
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
When will you automate a test?
what is the difference between Batch test runner and framework ?
Tell us how can you find if an element is displayed on the screen?
Generic function for selecting a Radio Button in a Dialog
is there any one got offer from snapdeal?
Have you completed the cps exam? Which one?
What is a framework for automation testing?
all clients are using at once if any problem raise?
What are the important operations in database testing?
What are Keyword and Data driven frameworks in Selenium RC
Tell us what is the alternate way to click on login button?
Hi, Below is the code that i ran on selenium RC using eclipse IDE and java coding.: package source; import org.testng.annotations.BeforeSuite; import org.testng.annotations.Test; import com.thoughtworks.selenium.*; public class parameterized extends SeleneseTestCase { private Selenium browser; public static void main(String []args) { String arr[] = new String[5]; arr[0]= "bert"; arr[1]= "regular"; arr[2]= "copyonly"; arr[3]= "doert"; arr[4]= "inter"; parameterized obj = new parameterized(); obj.setUp(); obj.login_parameterize(arr); } @BeforeSuite public void setUp() { browser = new DefaultSelenium("localhost",4444, "*chrome", "http://goolge.com"); browser.start(); browser.open("http://goolge.com"); browser.waitForPageToLoad("30000"); browser.windowMaximize(); browser.open("/"); browser.click("gb_23"); } @Test public void login_parameterize(String[] arr ) { for(int i=0;i<=5;i++) { for(int j=0;j<=2; j++) { browser.type("//input[@id='Email']", arr[i]); browser.type("//input[@id='Passwd']", arr[i]); browser.click("//input[@id='signIn']"); browser.waitForPageToLoad("30000"); } } } public void EnterValuesIntoTextField_CheckWithGetValue() throws Exception { selenium.open("http://www.essaywriter.co.uk"); assertEquals("", selenium.getValue("id=textInput")); selenium.type("id=textInput", "Text In The Field"); assertEquals("Text In The Field", selenium.getValue("id=textInput")); } } When i ran this test i got an error which says: "Method login_parameterize requires 1 parameters but 0 were supplied in the @Test annotation." Any help is much appreciated. thank Gab
What is open source tool and give example?
What is javascriptexecutor and in which cases javascriptexecutor will help in selenium automation?
How the object properties will be recognised by the tool If the functions/ statements are written manually?