Saturday, May 31, 2014

Cignity interview Ques-Ans

Ques1. What are the types of frameworks ? What is the framework followed in your company ?

Ans- a) data driven,
b) keyword driven,
c) modular driven, 
d) function driven, 
e) hybrid driven (this is the combination of other frameworks) and
f) page object model.

Tell the framework name which is used in your company.

Ques2. Can we handle page onload alert message which fetches some data from our local disk ?


Ans. handle alert pop-up

Ques3. How do you find locators of a component on your web page using webdriver. Write program.

Ans- http://selenium-makeiteasy.blogspot.in/2014/05/use-of-all-locators.html
 

Ques4. How do you handle different windows write program ?

Ans- http://selenium-makeiteasy.blogspot.in/2014/05/how-to-handle-multiple-windows.html
 

Ques5. What is the bat command to execute testng.xml ?

Ans- http://selenium-makeiteasy.blogspot.in/search/label/.bat%20command%20to%20execute%20testng.xml%20thru%20cmd

Ques6. Write a program for reverse of a string without using reverse string command normal program.

Ans- http://selenium-makeiteasy.blogspot.in/2014/05/plaindrome-of-string.html

Ques7. how do you check whether a certain element/text/title is present in your webpage using webdriver(as if we do verifyText/verifyTitle in IDE)

Ans- use Assert.assertEquals() method to verify.
 

Ques8. What is the process followed in your company can you explain each stage in detail.

Ans- Explain your project process.

Ques9. Consider any scenario of your project and write test script how you will test the scenario.

Ans- Write any good end to end test script of your project.

No comments:

Post a Comment