I have 1.9 years experience in QTP automation testing.I had call from Simense and they took my aptitude test.Also i cleared it.In face to face intervew they did not ask me any testing concepts, they asked me some questions which are below.
1.You have to automate whole application.
2.Write the syntax for the checkpoint.
3.Code to check the given values are present in Database
4.Code to check the given values are present in the web table.
I aswered as,
1.We canot always automate whole application, still some human interaction needed.
2.I wrote the syntax for datatabse checkpoint,explained the syntax,
Ex: B(b).p(v).Check (checkpoint(name))
he asked check is the method and what is checkpoint(name), i said its checkpoint name so he was not satisfied with the answer.
3.As he said values will be unique, so i wrote querry to select values from database as folows
rs=select a,b,c from [tablename] where a=expected and b=expected and c=expected
starting he said, values will be unique in db, but after i explain it he said,answer is wrong because am not validating anymore.
4.To check values in webtable, i wrote a generic reusable function which takes parameters and checks in webtable.But he was expecting to put webtable checkpoint.
Lastly they asked me about putting duplicate names into object repository, i said logical names in the object repository will be uniqe, and we cant force to do it.
And finally i knew after 1 day, i was disgarded from the intervew. Anybody tell me where i was wrong?.
And am i wrong, being 1.9 yrs experienced, i dont use checkpoints,i write generic functions so they can be reused whenever i want.
Thanks in Advance.
Re: Siemens questions.
Leave it and Start afresh without thinking of siemens experiences.There are many companies out there looking for good guys.Keep Trying and All the best.