How to check if an element is visible on the page?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Automation Testing AllOther Interview Questions

what are the Extension files in QTP?

3 Answers  


What is vendor tool and give examples?

0 Answers  


Plz suggest me a tool which supports ActiveX controls

3 Answers  


Tell me how would you test your own element locator?

0 Answers  


How to integrate Rational functional Tester with Rational Quality manager. Can anyone provide the details steps giving explaination with examples.

0 Answers  






Tell me what type of scenarios can be automated?

0 Answers  


On what basis you can map the success of automation testing?

0 Answers  


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

0 Answers  


How do you select which automation tool is best suited for you?

0 Answers  


When will you not automate testing?

0 Answers  


What are the steps to perform Load and Stress testing on a Website? What resources do I need to do this? Please advise. Thanks in advance.

0 Answers  


what is the for identifying color of the object

2 Answers  


Categories