Thursday, 22 May 2014

EINFOCHIPS

1. Can we use Xpath for Internet Explorer?
     Ans- yes, we can use. But as of now we don't any specific tool to verify the xpath in IE as firepath in FF.

2.Which Repository we are using in selenium for .xls sheet(To store and retrieve data from .xls sheet )?
     Ans- we can store it inside project i.e. open the java project and copy the .xls file there and use it.

3.Different way to find out the web elements?
     Ans- xpath(), tagName(), className(), linkText(), partialLinkText(), cssSelector(), id(), name().

4.What is the command to open the Firefox Browser and URL?
     Ans- WebDriver driver = new FirefoxDriver();
              driver.get(“url”); or driver.navigate().to(“url”);

5.What is Hybrid Framework?
        Ans- Its is the combinations of Datadriven, method driven, modular driven frameworks.

6.What is the difference between Hybrid Framework and Function driven Framework?
     Ans- In Function driven fw,we use the same functions/methods again and again by calling them in different               modules. Hybrid driven framework is the combinations of Datadriven, method driven, modular                     driven frameworks.

7.When we use CSS Selector?
     Ans- it is used to find any web element in the web page. Some time it is better to use css selector in place of xpath because of performance point of view.

8.What are the difficulties faced by you using selenium ?
     Ans- 1- sometime developers were not accepting the bug then I have to show them in meeting and had to                   give them demo of bug.
              2- sometime I got inconsisten bug, its changing everytime. Then it was very difficult me to show                          them then I have taken executed the same testcase many times and took the screenshot of all the                    scenarios and shown them to developers.
              3- In the 1st release when I joined customer was asking very frequently changes.

No comments:

Post a Comment