Thursday, 22 May 2014

Indicomm:


 SELENIUM

1.Write the syntax of drop down
2.What is Webdriver-Java interface
3.What is the current Version of Selinum webdriver
4.How to get the text value from text box
5.StrinG x="ABC";
  String x="ab"; does it create two objects?
6.write a program to compare the strings
7.Class a
{
}
class b extends a
{
}
A a= new A();
B b=new B();
A a= new B();
B a=new A();
Which is valid and invalid?

8.Explain webdriver architecture
9.Explain File downloading
10.Explain File attachments other that Auto IT
11.Write the syntax for finding the row count in dynamic web table
12.Differnece between class and Interface
13. What type of class is the string class
14.WHAT are the differnt methods that are used along with Xpath
15.Explain Interface
16 Explain Abstract
17.What is selenum grid
18 what is selenium RC


JAVA 

1.what is the default package in java ?
2. why we use interface why not abstract class ...what if i implements same method in interface and abstract ....then ?? any difference ??
3. what are inner classes ..name them ?
4.in public static void main(String arr[])... what if i replace public with private ........... remove static ........replace void with string
5.in hash map we have (key and value ) pair , can we store inside a value =(key, value ) again ??
5. what are variable scope in java (in class , in method , in static block)
6. what  are the oops concept ? explain them each with real world examples
7.write a program so that when ever u create a object ... u get to know how many object u have created
8. what is singleton classes ?
9.what is difference  between .equals() , (==)  and compare-to();
10. what is the difference   between hash code and equals
11.write a program to get substring of string  ex: javais good ... so result : avais
12.write a program to reverse the string
13. wap for binary search
14.what is the use of package
15. why we use interface and abstract
16.we have 2 interface both have print method , in my class i have implemented the print method , how u wil get to know that i have implemented the first interface and how u will use it .. if u want to use it
17.what is the difference between vector list and arraylist
18. difference between hashmap and hash table, what is synchronization , how it is achieved
19. what is the use of collection, when we use it
20. what is priority queue in collection , what is the use , how u have use in your project
21.where  to use hashmap and hashtable
22. where u have use the concept of interface and abstract in your framework

ROUND 1 SELENIUM 

1. how u handle the pop when u launch your website ?
2.what implementation did in your  framework for blank field or empty cell
3.how to clear the element in the text box : findelement(By.xpath("")).clear();
4.how to get the text of label : findelement(By.xpath("")).gettext();

ROUND 2 SELENIUM 

1. how to handle dynamic object
2. how to work with button which is in div tag and and u have to click without using xpath
3. JVM is dependent or independent platform
4.how many Test script you write in day
5. describe your framework
6. how to parameterized your junit
7.how to handle ssl security
8. how to handle window pops
9. diffnct between implicit and explicit
10.what are the types of assertion and what are assertion in junit

JAVA

1.JVM is dependent or independent platform
2.diffn bw hashmap and hash set, set and linkedlist, arraylist and vector list , linkedhash set and hashset
3.abstract and interface
4.throw and throws
5.how to split
6.checked and unchecked exception
7.how to work with azax aplication
8.why sring is immutable
9.wat is the retru ntype of getwindowhandles();
10.what are the types of assertion and what are assertion in java
other then that:

GENERAL AND WORK RELATED 

1. Describe your frameworks?
2. why this frameworks is called keyword driven ? where is this keyword u r using ?
3.why should i hire u ?
4. why u left your prevous company ?
5. Oracle is big brand name .. we are with small mid size company , why u want to cum in our company ?
5. tell me somthnig about our company ?
6.how to extract all the link from a web page
7.why we use xpath ? what are the locator available?
8.how to use selenium testscript for AJAX application?
9.what are the fields in bugzilla?
10.what the use of junit ? in your project?
11. How your do test unit testcases in TS? 

HCL

1st technical

From Java 

1.What is the Difference between final,finally,finalize
2.what is the difference between Call by value and call by reference
3.How to find out the length of the string without using length function
4.How to find out the part of the string from a string
5.difference between throw & throws
6.What is binding(Early and Late binding)

Programming Round

He give Programes
1.Reverse a number
2.1,2,3,4,5,65,76,5,,4,33,4,34,232,3,2323,    find the biggest number among these
3.simple string programe.
4.what is exception types of exception

From manual
1.what is the testcase technique
2.why we write test case.
3.bug life cycle
4what are the different status of bug
5what is the different between functional and smoke testing
6.what is STLC.
7.from Selenium
8.what is testng and its advantage
9.how to handle SSl/
10.how to handle alert
11.how to take screenshot
12.give the diagram write a scrpt..
13.tell me about Project .What are the challenge face during project
14.what is the difference between RC and webdriver
15.what is freamwork explain it.
16.why we use wait statement.

2nd technical
          1. he gives a application & tell to write the scenario
          2.some manual testing concepts.


All the best....

EMIDS

 INTERVIEW  FOR 2 YEARS SELENIUM TESTING POSITION.

1ST round-TECHNICAL 

• Introduce yourself tell something about your last project.
• Which framework you have used and why?
• Why automation
• How synchronization resolved in automation?
• How many wait statements you know ?
• What is polymorphism?
• Have u used constructor in WebDriver?

2nd round – TECHNICAL

• Tell me about your project and responsibilities?
• Which module u worked on ur project ?
• Tell me the flow of your framework?
• Write a java code to read the data through excel file?
• I have some reusable methods and i have some new feture,so i want to acess the reusable methods to my current application,how can i do that?
• Is it possible to write the xpath using IE browser?
• What exactly your file structure looks like when you are automating something by using of eclipse ?
• How did you verify that given number on webpage in sorted order ?
• How can i do priority based testing using webDriver ?
• Write a login code using page factory ?
• Is that necessary to creat Generic Lib. For every project?
• Write a code for screen shot ?
• Have u ever faced like You don’t have requirement document and You have to test,how wil you do that?
• Why we r using some tool for reporting?
• What is TestNg ?tell me the annotations of TestNG? (if you are using TestNG)
• Can you write a sample for parallel execution in TestNG.xml file?
• How are you maintaining the objects in your project?
• What is constructor ? what is super ()?
• What is Encapsulation?
• What is the difference between interface and abstract class?
• What is poly morphism?
• Actually X-path writing a confusion task for me, is there any way to find webElement in UI?
• How wil you capture the dynamic object using selenium webDrive?
• Tell me the syntax for Implicity wait() and Explicity wait()

3RD round-MANAGER

Gv ur intro with your roles and responsibilities?
How many bug you hv found on your project?
Can you please explain flow of your project?
4th round- Manager
Please explain your project architecture with framework with diagram?
What are the technical challanges you have faced?
If dev not accepted the bug,wat will you do?
Salary discussion?

5th & 6th round –MANAGER

Almost Repeating Questions

7th- HR ROUND

Tell me abt yourself in 3 areas (education,job,hobbies)
What are the challenges u have faced?
Some qsn from your hobby?
Some more qsns?

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.

Amazon


Round - 1

1. Tell me about yourself.
2. write the test case for pen
3. what are data structure you are familaire abt.
4. what are trees.
5. What are diff ways of traversing a tree.
6. Tell me the compeleity of all the traverasal method.
7. How will u get max element from tree in O(1)
8. Wap to rotate an array of size n with k times.
9. write the test case for the same.
10. How will you the performance testing of the code.
11. What is abstract class.
12. How will you achive multiple inheritance in java
13. When will you use abstract class ans when interface.

Round - 2

1. Tell me about yourself.
2. Explain about current project and how did you automate it.
3. In webdriver how to select a value from combo box.
4. How to select value in combo box using index.
5. What is test plan
6. How do you give estimates.
7. How do you create test plan
8. How much buffer usually you have in the test plan.
9. What is the recent critical bugs you have faced.
10. Tell me about some bugs which were critically and how did you prevent them to go into production.
11. If you are the owner of any module, how do you make release.
12. What are the things will be part of the release.
13. Any bug which got missed from your side.
14. why do you want to change the job.

Round - 3

1. Tell me about yourself.
2. Which sdlc model you used in your project.
3. what is stlc.
4. what is the duration of iteration in your project.
5. How many release have you made.
6. How you follow QA process in your project.
7. Interviewer showed me a testng code, ask me explain the code.
8. What critical bug did you faced recently.
9. how to decide that is product is ready for the release.
10. What you will do, if u encountered a critical bug just before relase.
11. If a bug is critical for u , but your manager does not think it is. How do you convince him.
12. When you bring the automation in your project.
13. Give a module how do you write the test case.
14. How do you ensure that your test case has coverd every thing.
15. There are 3 module. for the first one the developent is about to finish. 2nd module is paratially developed expected changes also. 3rd functionality is in development and expected lot of change. How do you automate these module.
16. where u see yourself after 5 year.
17. do u have any question to ask.

Round - 4

1. Tell me about youself.
2. Describe you automation framework
3. explain about folder structure of you automation frame work
4. Describe the helper classes, explain with code how did you implemented.
5. Give a binary search tree find all the element in the range k1 & k2 where k1<k2
6. Reduce the complexcity less than O(n)
7. Use the property of binary search tree. to find the elements.
8. Use the other traversal method other than level order traversal.
9. Create above program using recursion.

Round - 5

1. Tell me about yourself.
2. What are data structure u r familiar with
3. What are the complexcity of push, pop operation in stack
4. Wap which have push(),pop() & getmin(). push() should insert element in the stack with complexcity o(1). pop() should remove element in the stack with complexcity o(1).getmin() should return min value in the stack with complexcity O(1) any time called.
5. Given an array of size n and a value as k . Find all the pair in the array that sum up to give k.
6. Reduce the complexity to O(n).
7. when pair elements are equal donot print it.
8. In above question remove the redudant pair. Ex a,b is redudant pair of b,a
9. Do you want to ask any question.

Round - 6

1. Tel me about youeself.
2. Wap which takes two argument one is string and sub sring, function should return last occurance of sub string.
exp str1="abbbababab" substr="ab" o/p = 8 check for "aaaa" & "aa"
3. write the test case for the same.
4. You are not able to make a call from you mobile, how do you debug it.
5. What are crtical bug recently u encountred.
6. What achivement you have as in the team.
7. Any decision u made, and which went wrong.
8. There is linked list, how do you detect whether it has cycle or not.
9. Do you have any question to ask.
10. How do you calculate, how much bufer should be there in the test plan.

Round - 7

1. Tel me about yourself.
2. Given the functionality of save in junglee.com . write test case for it.
3. There is module which take discount file in following format, write the test cases for it.
Item no,Price, star date,end date,discount
4. In the above question the discount is provided based on month, write the test case for the same.
5. Write the test case for the formate of the file.
6. If the file is being uploaded through moble device, write the test case for the same.
7. U Open a website which is running slow as compare a previous day,list what are the possibility.
8. In your desktop u trying to open gtalk, it is not opening. list what are the possibility.
9. Is any recent miss form side, what was the reason.
10. If u think your product is not stable to release , by your manager does how will you convence him.
11. Any last minbug you encountered, how did you handle it.
12. Suppose you encountred a crtical bug just before release and dev has given fix for. how did you ensure it all other functionality is woorking.
13. There is 3 tier arch. ui --> middle ware --> db. How do you test this arch. and if any bug encountered how do u you help the dev to locate the bug (which level).

Round - 8

1. Tel me about your self.
2. Give a game which u can play in both broser and mobile. user can pause the game in browser and resunme in mobile app & vice versa. write the test case for the same.
3. There is a function which take 3 arg. distance , angle and power. the gives some op based on argu value. prepare the test data for it.
4. How will you ensure that all the positive functionality has been covered. using u r test data.
5. There is M*N matrix, wap to find the shotest path in the matrix with minimum sum.

Alliance Global


written test:

1. manual testing :
match following with definition -- test plan, test case, test procedure, test objective,requirement
--testing multiple choice more than 1 answer
2. aptitude (10 ques): area between 2 parabola.
-- probability
-- speed and time
-- work and time
3. java
-- collection: which is sinchonized-- list, set, queue
--
4. reasoning


Technical interview: core java


1. how many primitive data type
2. why string is not primitive
3. access specifier
4. difference between default and protected
5. formatters sop("%d %f",3545,546.45)
6. can we store object
7. how to avoid any variable to serialize

Manager interview and Technical on Selenium (25 mins)


1. where is your comp.
2. what is your work
3. Why you want to join this or why you want to leave
4. how much comfortable in selenium
5. how much you rate yourself in java.
0.1) tell me about yourself
0.2) tell me % in 10th 12th btech
0.3) why they consistently decreasing
1. where do you work
2. tell me about your project
3. Big client like HP having CRM on windows??
4. i m client i gives you product what question you will ask so that at end you deliver me better product.
5. what is setup of your automation project
Now problem starts---
6. how ur setup manage your test script fail-- which tool you use
7. how you store test script in server (check in , checkout ???) commit
More questions on real time environment on manual and automation testing
1) Where we can store xpath or other locator value , (like object repository in qtp)
2) why we can not use CSS selector instead of xpath.
3) what is difference between @Before Method and @before Test
4) what is diffrence between @After Method and @After Test
8.tell about ur self.
9.tell me the test case template (header, footer, body)
10.explain defect life cycle?
11.rate ue self on java?
12.explain testing environment
13.any questions to ask me?
14.what is white box testing?
15.what is black box testing?
16.should severity & priority mention in testing?
17.tell me challanges faced in ur project?
18.does manual bring more ROI or automation brngs more ROI?
19.automation uses : where is used y it should used?
20.what r the languages does selenium supports?
21.what is smoke testing? where u will do smoke testing? when u wil do accetence testing?
22.which technology u used?
23.do ur project related to mobility?
24.which one you feel comfort manual or automation ? reason?
25.tell me the three important things which r mandatory while doing testing in automation ?
26.explain defect life cycle?
27.how u will handle if image is scripted and executed in two different resolutions sysytems?
28.how u will review? wat is the process?
28.which tool u used for defect tracking?
29.will u join immediately if offer released?
30.tell me the three important things which r mandatory while doing testing in manual?
31.do u have any offers in ur hand?
32.which process u follow? explain it
34.33.who will expain the requirment? product owner or scrum master?
35.explain any of the sdlc process u feel free?
36.what is web server?

Architecture

tell about about testng
about annotation
explain in detail about 3 tire architecture on board ?
have u involved in any installation?
explain about 2 tire architecture?
what is diff btwn 3 tier nd 2 tier?
any 4 tire architecture?
explain white box testing?
explain which tool u used in W.B.T?
y r u looking for change?
have u done WHITE BOX TESTING?
how build comes can u tell me wat process how developers and testers communicate?
how build comes? wat does it contains?
xplained about company rules and regulations & about their project out line.
ther hired me for their project as automation engg