Answer Posted / anand kumar
Automation framework is nothing but the procedure and
overall structure u followed for using automation tools. U
say next time we folloewed and Hybrid automation frame work
Wher we need to
1. split the functionality into simle reusable tests
2.All reusable functions r stored in Libraries folder
3.some test scripts r together forms a test suite so
preparing test suites
4.The required test data is saved in one Data Folder
for data driven test
5.Data driver engine wiil get this data and passes to
the Test and whenever it is needed it calls required
functions from library and continues the test
6. Where the result has been stored The result
directory.
What r the naming conventions used for test
scripts,variables, constants, how will u conduct validation
without using check points.
This overall strategy is called test frame.
If u want to escape from the interviver u say It's part of
our test manager who designs or selects frame work for us.
It's ovrerall strategy which u wiil use throught the
automation test
Is This Answer Correct ? | 27 Yes | 5 No |
Post New Answer View All Answers
Tell us which package can be imported while working with webdriver?
Where to maintain information like login, password and url?
Explain me what are the main advantages of automation testing?
What are pros and cons of automating tests at ui layer?
What is open source tool and give example?
How can the user get a text of a web element?
Tell me what is automation testing?
Can we prioritize tests in Junit. What is the sequence of execution in Junit?
What is vendor tool and give examples?
Tell us can we find all links on a web page?
Program/pseudo code on FIFO? Input a string and make sure that output is in FIFO manner. Eg, Enter 'John Dave' as input and output should be 'John Dave' not 'Dave John'. (inbuilt functions like push, pop were given)
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
How is Jmeter tool very useful in projects when it does not have features like online monitoring,WAN emulation,caching like other performance tools.
wat would be the parameteries for ul testing for web applilcation
List some advantages and disadvantages of automation testing.