Few Interview questions
I was just browsing through QTP FAQs and have got following unanswered questions. Can you throw some light on these questions.
1. we have 10 actions in out test how can we convert 9th action in main action ? how ?
2. We have 10 rows in datatable at runtime we get error at 3rd row ? what is the procedure for continuing same test from 4th row on wards?
3. How can we do this one ? at runtime qtpwindow and browser aren't disply on monitor (or) aren't visible on desktop?how?
4. what is clean sweep?
5. How can we close all webbrowsers which are opened in out desktop?
Few Interview questions
Few More here....
6. How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
7. In an Excel sheet take two fields as agentname and password and type some valid agentname and password.call that excel sheet in qtp so that qtp opens the flightreservation window taking into consideration how many records are entered in the excel sheet.For example if 3 records are entered today it will open 3 FR windows,if in near future the records are more than 3 then it will open that number of times.
8. we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position
9. we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
10. How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????
11. we r conduction testing on a project USING QTP, regarding that project the object repository is full ? Till that project having objects that r not recognised by repository, then what wil you do? How we wil recogine remailning objects? Is it possible to maintain another shared(or)peraction repository? what is the maximum capcity of object repository? How the technical people decide this much object repository is enoughf for this project?
12. I have QTP installed on my machine but the application under test (AUT) is on remote desktop (i.e. I first connect to remote desktop from my machine in order to run the application). I am able to record the script successfully with QTP running on my machine and application running on remote. However, when i run the recorded script, system fails
Re: Few Interview questions
The light that I can throw is on our forum only. You can find the answers for each of your question on one or another post. You can search the forum and help yourself.
All, I am locking this post. But i am keeping the questions so that people can take a look and learn what they might not have thinked of.
We dont want to give people direct answers to the interview questions. You should first learn how to do stuff and then go for a interview. Knowing the answers just for the sake of clearing the interviews is never good for you and also for the company hiring you.